[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree86 4.2 bug in Debian Testing



On Sat, 9 Nov 2002 13:36:25 +0200 (EET)
Martin Fluch <fluch@rock.helsinki.fi> 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
joerg@schuetter.org



Reply to: