On Wed, Apr 11, 2001 at 11:25:46AM +0200, 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...
X11 apps should not be run as root, if it requires that its broken. <rant> why can't these developers write the GUI program to run as a unprivileged user using a tiny, non-GUI, non-X program to do the privileged stuff. </rant> -- Ethan Benson http://www.alaska.net/~erbenson/
pgpcmiutVVFMx.pgp
Description: PGP signature