Re: X11-forwarding after su
- From: Wolfgang Meiners <WolfgangMeiners01@xxxxxx>
- Date: Mon, 19 Nov 2007 21:16:35 +0100
Helmut Jarausch schrieb:
I just want to drop root privileges and then invoke an X application.
well as root you could
cp ~/.Xauthority /home/<YourLogin>/.Xauthority.root
chown <YourLogin> .Xauthority.root
su - <YourLogin>
DISPLAY=localhost:10.0 XAUTHORITY=/home/<YourLogin>/.Xauthority.root\ xeyes
I am not sure, if this is a good idea because you make the contents of
roots .Xauthority available to <YourLogin>.
Helmut.
Wolfgang
.
- References:
- X11-forwarding after su
- From: Helmut Jarausch
- Re: X11-forwarding after su
- From: Wolfgang Meiners
- Re: X11-forwarding after su
- From: Helmut Jarausch
- X11-forwarding after su
- Prev by Date: Re: X11-forwarding after su
- Next by Date: Re: strange firefox behavior with X tunneling via ssh
- Previous by thread: Re: X11-forwarding after su
- Index(es):
Relevant Pages
|
|