Dirk Heinrichs wrote:
> No difference with "su -". I don't have any line in root's *rc files which 
> set the DISPLAY.

$ set | grep XAUTH
$ su -
# set | grep XAUTH

notice, they will be different.

It boils down to security.

you can do it two ways.

$ su -
# export XAUTHORITY=/home/$OLDUSER/.Xauthority
# xterm

-OR-

$ xauth extract /tmp/keys.txt $DISPLAY
$ su -
# xauth merge /tmp/keys.txt
# xterm


-- 
[EMAIL PROTECTED] mailing list

Reply via email to