Re: To use GUI as root
From: Alexei Chetroi (debian_at_lexa.uniflux-line.net)
Date: 08/19/04
- Previous message: Glyn Teb***: "Re: To use GUI as root"
- In reply to: Ciaran Johnston: "Re: To use GUI as root"
- Next in thread: Ciaran Johnston: "Re: To use GUI as root"
- Reply: Ciaran Johnston: "Re: To use GUI as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 19 Aug 2004 14:12:29 +0300 To: Ciaran Johnston <cj@nologic.org>
On Thu, Aug 19, 2004 at 09:55:16AM +0100, Ciaran Johnston wrote:
> Date: Thu, 19 Aug 2004 09:55:16 +0100 (IST)
> From: Ciaran Johnston <cj@nologic.org>
> To: Johan Sch <johansche@absamail.co.za>
> Subject: Re: To use GUI as root
>
> Johan Sch said:
> >
> > In Suse if you are normal user you use . sux - . to become root and be
> > able to use GUI applications.
> >
> > Kindly please what would the same be in Debian.
>
> Set your display as root:
> export DISPLAY=:0.0
>
> then allow localhost access to the display as normal user:
> xhost + localhost
Thus allowing any user with shell on your computer connecting to your
screen (not really a problem if you're only user in the system). If you
are not going to use sux, instead of "xhost + localhost", better run
"xauth list" as user which launched X session, to get list of cookies,
than add as root "xauth add <line which matches your display>". Or set
enviroment variable XAUTHORITY of root to user's ~/.Xauthority. See
man xauth for more information.
Regards,
-- Alexei Chetroi -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Glyn Teb***: "Re: To use GUI as root"
- In reply to: Ciaran Johnston: "Re: To use GUI as root"
- Next in thread: Ciaran Johnston: "Re: To use GUI as root"
- Reply: Ciaran Johnston: "Re: To use GUI as root"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]