Differences between revisions 3 and 4
Revision 3 as of 2011-07-04 16:52:32
Size: 1374
Comment: original title too ambiguous
Revision 4 as of 2011-07-09 12:15:24
Size: 1282
Comment: added link to it translation
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: none-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/CommonXorgErrors|Italiano]]-~
Line 17: Line 17:
 2. ''or'' use sudo.
 3. ''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
 2. ''or'' use sudo
 3. ''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

Translation(s): English - Italiano


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