iphitus Posted June 24, 2003 Report Share Posted June 24, 2003 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 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 24, 2003 Report Share Posted June 24, 2003 Try this the next time it happens. Open a console and type: /etc/profile.d/xhost.sh and hit enter. Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 24, 2003 Report Share Posted June 24, 2003 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. Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 25, 2003 Author Report Share Posted June 25, 2003 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 Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 26, 2003 Author Report Share Posted June 26, 2003 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 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted June 26, 2003 Report Share Posted June 26, 2003 Did you try running this as james? /etc/profile.d/xhost.sh and then try to run a program? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.