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

Re: how to run X apps as root?


> In the root shell type
> export DISPLAY=:0
> so that the X client knows what server to use.  If that alone doesn't
> solve the problem (it ususally does for me) then type something like
> 'xhost +localhost' in a terminal as a regular user (ie the one who
> started the xserver).

I did both... and it still complains:

arne:/usr/home/arne# Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server



Reply to: