On Sat, 9 Nov 2002, Rick Moen wrote:
> > [EMAIL PROTECTED]:~$ su
> > Password:
> > [EMAIL PROTECTED]:/home/mfluch> export XAUTHORITY=/home/mfluch/.Xauthority
> > [EMAIL PROTECTED]:/home/mfluch>
> >
> > ...and then every X application works just as before as the normal user.
>
> It's a little simpler to do:
>
> $ ssh -X [EMAIL PROTECTED]
Even easier: the following lines in the /root/.bashrc do the same trick:
if [ ! "$LOGNAME" = "root" ]; then
export XAUTHORITY=/home/$LOGNAME/.Xauthority
fi
And then su works without any problem (and computational overhead as the
ssh sollution).
Cheers,
- Martin
- Re: XFree86 4.2 bug in Debian Testing Ivan Brezina
- Re: XFree86 4.2 bug in Debian Test... Joseph Pingenot
- Re: XFree86 4.2 bug in Debian... Yogesh Sharma
- Re: XFree86 4.2 bug in De... Matt Zimmerman
- allowing X display from s... Jean Christophe ANDRÉ
- Re: allowing X display fr... Matt Zimmerman
- Re: allowing X display fr... Michael Eyrich
- Re: allowing X display fr... Matt Zimmerman
- Re: XFree86 4.2 bug in De... Martin Fluch
- Re: XFree86 4.2 bug in De... Rick Moen
- Re: XFree86 4.2 bug in De... Martin Fluch
- Re: XFree86 4.2 bug in De... Jörg Schütter
- su and x (was Re: XFree86... Martin Fluch
- Re: su and x (was Re: XFr... Christian Jaeger
- Re: XFree86 4.2 bug in Debian... David Stanaway
- Re: XFree86 4.2 bug in De... Andreas Kotes
- Re: XFree86 4.2 bug in Debian... Joseph Pingenot
- Re: XFree86 4.2 bug in Debian Test... Peter Cordes
- Re: XFree86 4.2 bug in Debian Testing Stephen Gran
- squirrelmail issues Brad B

