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

RE: Fw: su in X



I had a similar problem a bit ago. I seem to recall that I fixed it
by making root's ~/.Xauthority file a symbolic link to "my" version
of the same file.

Sounds horrid, but it works - as long as you are always su-ing from
the same login name. 

Dave


On 11-Apr-2001 Erik van der Meulen wrote:
> Dear list, this should be easy, but I have not managed yet...
> I run Gnome desktop as a 'regular' user. If I need to do
> systemsmanagment, I
> do 'su -' in a terminal to get root access. Only if I need to start
> an X app
> (just installed red-carper), I get an error:
> 
>   Gtk-WARNING **: cannot open display:
> 
> Can anyone suggest how to avoid this? I recall something with
> export
> display, but do not get it to work...
> 
> Thanks a lot.
> 
> Erk van der Meulen
> 
> NB I probably end up wanting to have a menu-button for this
> application. Is
> 'sudo' than the way to go?
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 

----------------------------------
E-Mail: Dave Whiteley <d.l.whiteley@ee.leeds.ac.uk>
Date: 11-Apr-2001
Time: 10:45:54
Phone: 0113 233 2059

Missing .sig   (I am trying to give them up.)
----------------------------------



Reply to: