* SUMMARY: Xlib: connection to ":0.0" refused by server (fwd)
@ 1999-01-07 22:02 Tom Linden
0 siblings, 0 replies; only message in thread
From: Tom Linden @ 1999-01-07 22:02 UTC (permalink / raw)
To: tru64-unix-managers
It's a good thing that i misspelled SUMMARY the first time.
After reading the many responses I've include those the helped me the most.
In the end, I put into my .bash_profile the following
export XAUTHORITY=~tom/.Xauthority
and problem is solved, without security risks.
Thanks to all
From: "Serguei Patchkovskii" <patchkov@ucalgary.ca>
> all I needed to do was to
> thor/tom 262 > xhost +localhost
> localhost being added to access control list
> thor/tom 263 > su
>
> before su.
No, this is not the right solution. If you do this any users
with a valid login on your machine will be able to snoop on
your root sessions (and even take them over if they so wish).
*After* doing su, copy the .Xauthority file from your home
directory to /
Regards,
/Serge.P
From: "Kevin Oberman" <oberman@es.net>
setenv XAUTHORITY ~your-login-name/.Xauthority
or the functional equivalent for whatever shell you use. Your logon
account ownes the display and root does not.
R. Kevin Oberman, Network Engineer
> From: Tom Linden <tom@kednos.com>
>
> do you mean that I have to do this every time I want to su?
Yes. I can pretty much type it in my sleep.
This is the only secure way to do the job. The alternative is to
xhost +localhost, but that is a potential security problem if the
system is multi-user.
Tk refuses to allow IPC on systems with a non-empty xhosts list for
security reasons, so it also will break some applications written in
Tcl/Tk including exmh. (exmh is the one that made me aware of the
problem.)
R. Kevin Oberman, Network Engineer
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-01-07 22:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-07 22:02 SUMMARY: Xlib: connection to ":0.0" refused by server (fwd) Tom Linden
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox