Re: X11 Permission denied
On Tue, 18 Mar 1997 18:00:27 EST Rob MacWilliams (robmacw@cl-sys.com)
wrote:
> I'm using xdm, which starts on boot, on my Debian system. If I login as rob and then su, I can't
> get any X apps to work. They all fail with the following error:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
>
> Initialization error: X server not responding
> : ":0.0"
If you're suing to root, just do:
export XAUTHORITY=<home of the user you were>/.Xauthority
If you're suing to someone else:
As the user you're suing from:
xauth list
As the user you're suing to:
xauth add <paste here the <yourmachine>/unix:0 line>
Recommended lectures:
(3x)Xsecurity
(1x)xauth
(1x)xhost
Phil.
Reply to: