PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > als root kein KDE-Programm startbar
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

als root kein KDE-Programm startbar

Réponse
 
LinkBack Outils de la discussion
Vieux 09/09/2007, 12h40   #1
Matthias Meyer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut als root kein KDE-Programm startbar

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
  Réponse avec citation
Vieux 09/09/2007, 13h10   #2
Davide Mancusi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: als root kein KDE-Programm startbar

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 09/09/2007, 13h30   #3
Simon Brandmair
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: als root kein KDE-Programm startbar

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 09/09/2007, 18h20   #4
Matthias Meyer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: als root kein KDE-Programm startbar

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
  Réponse avec citation
Vieux 10/09/2007, 09h00   #5
Lubos Vrbka
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: als root kein KDE-Programm startbar

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 _@_"
http://www.lubos.vrbka.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h32.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10680 seconds with 13 queries