[ILUG] connection refused

Rick Moen rick at linuxmafia.com
Wed Sep 5 01:46:16 IST 2001


begin Trevor Johnston quotation:

> It's actually not to do with suid stuff, more to do with who is authorised
> to run programs on your X session. Somebody else can explain the exact
> technical reasons why, but try entering the command "xhost localhost", in
> an X terminal (a shell running in X) as the user who started the X
> session. Not as root or any other users!

I shudder at the security effect thereof.  Better, in my view, to do
"ssh -X username at localhost", and let SSH take care of the DISPLAY
variable and MIT magic cookie without that sort of exposure.

-- 
Cheers,               Everything is gone;
Rick Moen             Your life's work has been destroyed.
rick at linuxmafia.com   Squeeze trigger (yes/no)?
                       -- David Carlson (winner, haiku error message contest)




More information about the ILUG mailing list