root user and any GUI

Jeremy C. Reed reed at reedmedia.net
Tue Nov 28 14:38:44 MST 2006


> Fatal server error:
> Server is already active for display 0
>        If this server is no longer running, remove /tmp/.X0-lock
>        and start again.

So kill that server and kill gdm.

Or run an additional X on a different display (even on same physical 
hardware).

> Xlib: connection to ":0.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key

This reminds me: also if you don't want to start X as root then instead 
of using xhost to allow root, use xauth and XAUTHORITY.

(As for me, I don't login as root.)


More information about the PLUG-discuss mailing list