Click to See Complete Forum and Search --> : root permissions for the X server??


mychl
07-25-2001, 11:20 PM
When I try to run an install program, I can run it as a user, but then get stuck when trying mo make directories. I know I need to do this as root, but everytime I try to start a program, or installer as root I get the following error.

Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0


Any ideas what to do here.

Thanks for your help

Mike

mychl
07-26-2001, 09:04 AM
bump

:rolleyes:

PLBlaze
07-26-2001, 10:48 AM
Do xhost localhost or xhost +localhost...you might also set the DISPLAY=:0 variable eg. export DISPLAY=:0 then run your app.Hope this helps.

mychl
07-26-2001, 11:13 AM
I'll give it a try, thanks

:)

mychl
07-26-2001, 08:23 PM
Diffie~ Thanks, that worked like a charm, you rock :D