xhost: unable to open display ":0.0"

nmeyers at javalinux.net nmeyers at javalinux.net
Sat Sep 10 09:42:14 EDT 2005


When the DISPLAY is set to :0.0, as opposed to localhost:0.0, the client
will use Unix-domain sockets instead of TCP connection. My guess is this
path isn't covered by "xhost +localhost".

Nathan

On Sat, Sep 10, 2005 at 09:29:46AM -0400, jbk wrote:
> # su -
> -bash: \e[3~:delete-char: command not found
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> xhost:  unable to open display ":0.0"
> 
> This symptom occured after upgrading Fc3 to Fc4. It only 
> happens when I login as root locally. If I SSH from another 
> machine and then 'su -' I have no trouble.
> 
> "xhost +localhost" is defined in root's .bash_profile.
> 
> A fresh install on my laptop did not exhibit this problem.
> 
> I am googling the mailing lists but have yet to find 
> reference to this particular circumstance.
> 
> Jim
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://olduvai.blu.org/mailman/listinfo/discuss
> 



More information about the Discuss mailing list