Mike Hicks wrote:
> 
> Timothy Wilson <wilson at visi.com> wrote:
> >
> > Hey everyone,
> >
> > I'm not able to run any GUI apps as root on my Debian (sid) system. I
> > want to try the latest Mozilla 0.9.1 net installer, but I get the
> > following message (I also see it when I try to run xcdroast):
> >
> > copland:/home/wilson/tmp/mozilla-installer# ./mozilla-installer
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Client is not authorized to connect to Server
> >
> > Gtk-WARNING **: cannot open display: :0.0

Before you su run "xhost +".  If you've already su'ed, you can run xhost
+ in another window and it should also work.  Then make sure your
DISPLAY environment variable is set correctly, for csh:

setenv DISPLAY <hostname>:0.0

If your on the console, I believe :0.0 will probably work, but
<hostname>:0.0 will definitely work.  

I guarantee (almost) this will work.


-- 

Seth Bernsen
V-CPU Engineer
Innoveda, Inc.
Phone: 651-765-2252
Fax: 651-765-2205
http://www.innoveda.com