Differences between revisions 2 and 3
Revision 2 as of 2009-03-16 03:32:11
Size: 1336
Editor: anonymous
Comment: converted to 1.6 markup
Revision 3 as of 2011-07-04 16:52:32
Size: 1374
Comment: original title too ambiguous
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from CommonError

Translation(s): none

(!) ?Discussion


Common error messages with XWindowSystem

Xlib: connection to :0.0 refused by server

  •  Xlib: connection to :0.0 refused by server 
     Xlib: Client is not authorized to connect to Server
     Application initialization failed: couldn't connect to display :0.0
  • The X-server refused to be the display for the program you started, this usually happens when you changed to another user-id with su or when you're remotely logged in to another host.
    This normally happens to me when I've su'd to 'root'. Solutions:

  • use "ssh -X"
  • or use sudo.

  • or Try exit from 'root' and enter 'xhost +localhost'. Afterwards, I can su back to 'root' and execute the program. There are certain security implications in doing this. man xhost for more information. -- StephenHargrove


See also: XWindowSystem