Re: Display problems with woody
Bill Barnes wrote:
> Hello List:
> Just ran a dist-upgrade from woody, kde2, helixcode.
> Now gedit opens a display as non-root user, but as root, says
> Xlib: connection :0.0 refused by server
> Xlib: client is not authorized to connect to server
> gtk-WARNING **: cannot open display: :0
> there is an environment variable \ 'DISPLAY=:0' for user and root.
> Had no trouble with this prior to upgrade.
> Can you help?
> Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null
is the x display owned by a user other that root?
e.g. login to gdm/xdm as jdoe, open an xterm and su to root.
Now you have a root shell with the display owned by jdoe.
if you want to let root use your display then add him in you xauth