On Sat, 9 Nov 2002, J�rg Sch�tter wrote:

> 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

And for what reason use ssh when the application can connect directly to
X. Why insert ssh inbetween?

Cheers,
- Martin



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

Reply via email to