[lug] Annoying new behavior in RedHat/Krud 7.2
Tkil
tkil at scrye.com
Wed Nov 28 11:21:04 MST 2001
>>>>> "Elyse" == Elyse Grasso <emgrasso at data-raptors.com> writes:
Elyse> Does anyone know what I need to change to return the server to
Elyse> its previous behavior?
the easiest thing to do (if you're running sshd on this box) is to:
ssh root at localhost
this will forward the X connection for you.
the next most secure thing you can do is to add your user session's
xauth information to root's xauth database. do "su -" in a second
window; in the first one, do "xauth list". select the appropriate
entry (the one that says "myhost.mydomain.com/unix:0", probably), go over
to the root window, and type "xauth add " and then paste in the line.
then, still in the root window, do
export DISPLAY=myhost.mydomain.com/unix:0
and it should work.
the least secure thing to do (and this is a BAD BAD IDEA, but if
you're not actually connected to the net, it might still work) is to
just allow "xhost +" as your normal user, then "su -". this is a
super bad idea, however.
note that many new installations don't allow external tcp connections
to the X server at all; i don't think KRUD is one of them, but it's
something to watch out for.
this has been discussed on the list many times, take a look through
the archives...
t.
More information about the LUG
mailing list