On Mon, Mar 11, 2002 at 12:56:08AM +0100, Bjarne S. Næss wrote: > > also, xhost + is probably not the safest thing to do if untrusted machines > > have network access to your machine > > xhost +localhost is better. > > But if xforwarding is enabled in ssh I prefer ssh [EMAIL PROTECTED] > Takes care of the 'long' line export DISPLAY=localhost:0 =) > > Bjarne
I don't need to use xhost *or* ssh at all to use X as root: It works fine when I just type (in an xterm): su # <some-x-program> Should I be worried now ;) ? I have no idea why this works, though I suspect it has something to do with that XAUTHORITY environment variable I see. ... hm ... after skimming through man xauth and man gdm I now think it probably only works with xdm/gdm/*dm, and not with startx. Well, just my vague 2 cents. It just seems like all this xhost and ssh stuff is not always necessary. -- Note that I use Debian version 3.0 Linux mus 2.4.17mvz2 #1 Wed Feb 27 17:41:43 CET 2002 i686 unknown Matijs