31.10.2014, 04:14 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
älteste bekannte Version dieser Seite wurde bearbeitet am 2005-02-18 02:22:56 von OffTopic [ ]

X-Server refused


I had the following error message after logging in as root with su and the start of an application:

:code:root@Pinux:/home/roen# firestarter
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(firestarter:4890): Gtk-WARNING cannot open display::code:

1. Solution:

Use sux instead su.

The explanation, from the #kanotix IRC channel:
"<slh> sux is a wrapper for su, which also pays attention to the x11 magic cookies"

thanks to slh :-)

2. Solution:


As a logged in user:
:code:# xhost +:code:
Then su...
As new user:
:code:# export DISPLAY=:0.0:code:

Greetings, Andy ;-)

3. Solution:


In the file /etc/X11/Xsession type the following line:
:code:xhost +local::code:
Then I have automatically access, e.g. with my "root Midnight Commander", to X in the KDE console.

Ciao Martin
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.