Jump to content

Anyone? Xlib: connection to ":0.0" refused by serv


iphitus
 Share

Recommended Posts

hi

Sometimes when i've been using the computer and i try to start a program. It won't start. I run it from the commandline and i get an error. Here are the errors from some of my commonly used programs:

 

Evolution

[james@localhost james]$ evolution

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

 

 

(evolution:7413): Gtk-WARNING **: cannot open display:

 

GAIM

[james@localhost james]$ gaim

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

 

 

(gaim:7472): Gtk-WARNING **: cannot open display:

 

XMMS

[james@localhost james]$ xmms

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

 

 

** CRITICAL **: Unable to open display

 

Abiword

[james@localhost james]$ abiword

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

 

xset: unable to open display ":0.0"

Xlib: connection to ":0.0" refused by server

Xlib: No protocol specified

 

 

Gtk-WARNING **: cannot open display: :0.0

 

 

You get the idea. If i logout and restart the X server it all works fine, but it becomes very annoying when i'm doing a lot of things. The problem just happens, no timeframe, anything. Seems to happen at random. I use Enlightenment and don't have KDE.

 

James

Link to comment
Share on other sites

rcxau:

The message you get is becuase the desktop is owned by the user you log in as.

As Steve Scrimpshire points out running xhost will allow you to give access to your sesktop to other users/hosts.

 

This is something to consider the security implications of, i.e. its there for a reason.

 

You can explicitly add a host or a user, try man xhost.

You can allow a host with xhost+ <hostname> and removeit with xhost - <hostname>. Same for users.

 

Try a man xhost. It probably means your running from a root console or you have su'd to another user.

Link to comment
Share on other sites

I'm logged in as james, and am trying to run commands as james. Nothing, not the enlightenment middle button menu or anything work. It's not so much of a problem at the moment, i'm trying Gnome again for a while.

Thanks, will try your suggestions next time it happens

James

Link to comment
Share on other sites

HELP, i'm logged in as james and am starting programs as james. However i'm getting those messages. When i login to GNOME it starts RXVT for me. I'm right now in RXVT using Lynx to browse this site. What can i do to stop these problems!! I can't start any programs!! HELP!!

Thanks

 

James

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...