26.04.2024, 20:42 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

X-Server refused


Ich hatte nach Anmeldung als Root mit su und dem Start einer Anwendung folgende Fehlermeldung:

: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. Lösung:

Anstelle von su ist sux zu nutzen.

Erklärung per #kanotix-IRC-Channel:
"<slh> sux ist ein Wrapper fürr su, der sich auch um die x11 magic cookies kümmert"

thx to slh :-)

2. Lösung:


Als angemeldeter User:
:code:# xhost +:code:
Dann der su...
Als neuer User:
:code:# export DISPLAY=:0.0:code:

Gruß Andy ;-)

3. Lösung:


In die Datei /etc/X11/Xsession folgende Zeile eintragen:
:code:xhost +local::code:
Dann habe ich z.B. mit meinem "Root Midnight Commander" in der KDE-Konsole automatisch Zugriff auf X.

Ciao Martin
XML Revisions of $tag
Seiten-History :: Letzter Editor : HoRo :: Eigentümer : RoEn ::
Powered by pnWikka 1.0
 
 
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.