Re: $DISPLAY and xdm
Karsten Bolding <email@example.com> writes:
KB> As user kbk - logged in via xdm - on orca.
KB> xhost +
KB> access control disabled, clients can connect from any host
You realize that this is a Really Bad Idea (TM), right?
KB> As user lene (also on orca)
KB> setenv DISPLAY orca:0
KB> xterm Xt error: Can't open display: orca:0
Are you running woody? The X in woody disables TCP connections
directly to the X server; this seems reasonable, since most people I
know either never use remove X or only use X forwarding over SSH
(which doesn't need the random TCP socket open). Try using a local
display, like :0.0, instead.
(And don't use xhost. Really. It's a massive security hole. If you
must, 'xhost +localhost' is probably sufficient for your case. A
shared xauth cookie is even better, though.)
David Maze firstname.lastname@example.org http://www.mit.edu/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell