Re: als root kein KDE-Programm startbar

2007-09-10 Thread Lubos Vrbka

hi,


In einem Terminal in KDE kann ich zwar mit su root werden, aber ich kann
keine KDE-Programme starten. Beispiel:

PlayMobil:# kwrite
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

kwrite: cannot connect to X server :0


If I understand you correctly, your problem is that root is not 
authorised to connect to the X server. The way I work around this (which 
might be not the best one) is to create a symlink to 
/home/davide/.Xauthority in /root/ (of course, change /home/davide/ to 
the path of your home folder), because my machine is single-user; more 
complicated situations might require the use of xauth. See man xauth and 
man Xsecurity.
wouldn't it be easier to use 'sux' instead (do 'aptitude install sux' to 
install it)? i presume you are using kdm or some other login manager - 
this is exactly the kind of problems one encounters with all these 
[gkx...]dm's. executing graphical applications by root during the 
session of normal user works fine for me now.


regards,

--
Lubos [EMAIL PROTECTED]
http://www.lubos.vrbka.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




als root kein KDE-Programm startbar

2007-09-09 Thread Matthias Meyer
Hallo,

In einem Terminal in KDE kann ich zwar mit su root werden, aber ich kann
keine KDE-Programme starten. Beispiel:

PlayMobil:# kwrite
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

kwrite: cannot connect to X server :0

Es ist auch nicht möglich sich als root in KDE anzumelden (was ich auch
nicht brauche, wenn su funktioniert)

Wo muss ich was einstellen?

Danke
Matthias
-- 
Don't panic



Re: als root kein KDE-Programm startbar

2007-09-09 Thread Davide Mancusi

Matthias Meyer ha scritto:

Hallo,

In einem Terminal in KDE kann ich zwar mit su root werden, aber ich kann
keine KDE-Programme starten. Beispiel:

PlayMobil:# kwrite
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified

kwrite: cannot connect to X server :0

Es ist auch nicht möglich sich als root in KDE anzumelden (was ich auch
nicht brauche, wenn su funktioniert)

Wo muss ich was einstellen?

Danke
Matthias


If I understand you correctly, your problem is that root is not 
authorised to connect to the X server. The way I work around this (which 
might be not the best one) is to create a symlink to 
/home/davide/.Xauthority in /root/ (of course, change /home/davide/ to 
the path of your home folder), because my machine is single-user; more 
complicated situations might require the use of xauth. See man xauth and 
man Xsecurity.


By the way, this is an English list :-)

Davide


--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: als root kein KDE-Programm startbar

2007-09-09 Thread Simon Brandmair
Hi,

On Sun, 09 Sep 2007 12:40:05 +0200 Matthias Meyer wrote:
 
 In einem Terminal in KDE kann ich zwar mit su root werden, aber ich kann
 keine KDE-Programme starten. Beispiel:

Das ist eine englischsprachige Liste, postet das nochmal nach
linux.debian.user.german.

Cheers,
Simon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: als root kein KDE-Programm startbar

2007-09-09 Thread Matthias Meyer
Matthias Meyer wrote:

 Hallo,
 
 In einem Terminal in KDE kann ich zwar mit su root werden, aber ich kann
 keine KDE-Programme starten. Beispiel:
 
 PlayMobil:# kwrite
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 
 kwrite: cannot connect to X server :0
 
 Es ist auch nicht möglich sich als root in KDE anzumelden (was ich auch
 nicht brauche, wenn su funktioniert)
 
 Wo muss ich was einstellen?
 
 Danke
 Matthias

Thanks. And sorry for selecting the wrong list :-)
-- 
Don't panic