On Sat, 9 Nov 2002 13:36:25 +0200 (EET)
Martin Fluch <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> On Sat, 9 Nov 2002, Rick Moen wrote:
> 
> > It's a little simpler to do:
> > 
> > $ ssh -X root@localhost
> 
> Even easier: the following lines in the /root/.bashrc do the same trick:
> 
> if [ ! "$LOGNAME" = "root" ]; then 
>     export XAUTHORITY=/home/$LOGNAME/.Xauthority
> fi
> 
This solution doesn't work with "su -"

> And then su works without any problem (and computational overhead as the
> ssh sollution).

You can decrease the "overhead" with ssh -c des -X root@localhost


Gruß
  Jörg

-- 
http://www.lug-untermain.de/                                       -
http://mypenguin.bei.t-online.de/

Dipl.-Ing. Jörg Schütter
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to