[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Xlib and $DISPLAY
Charles Menzes wrote:
>
> I am getting the following error when attempting to install gnome:
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Gtk-WARNING **: cannot open display: :0.0
> ==> Cleaning up temporary files...done.
>
> I am running rh6.1. For my display i get:
>
> [root]# echo $DISPLAY
> :0.0
>
> Is there a problem with my gtk install? or is there an x setting that
> needs to be set?
When you start X, only the user that started it is allowed to display stuff
by default, and only from the local machine. To allow other users (such as
root) to display stuff, try "xhost + localhost". It'd be slightly better
if you could do "xhost + root@" or inet:root@localhost, but I've not seen a
distrib that actually had that support built in to xhost by default.
Or maybe somethign else is wrong. It's prolly xhost though. If you run
xhost with no args, it'll show who's allowed (noone by default).
--Danny
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.