Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2420 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Probleme bizarre

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Probleme bizarre

n°196505
dcro
Posté le 28-11-2002 à 22:05:05  profilanswer
 

Je ne comprend pas lorsque je passe en root je n'ai plus acces à certains logiciel comme Kate ou kwrite (editeur) alors que j'y ai acces en tant que user.
 
Le probleme est apparu aujourd'hui.
 
Comment corriger le probleme.

mood
Publicité
Posté le 28-11-2002 à 22:05:05  profilanswer
 

n°196507
rawcut
tw: @_rawcut
Posté le 28-11-2002 à 22:07:33  profilanswer
 

Il te met quoi comme erreur kan tu le lance dans un shell ?

n°196509
dcro
Posté le 28-11-2002 à 22:15:12  profilanswer
 

Rawcut a écrit a écrit :

Il te met quoi comme erreur kan tu le lance dans un shell ?  




 
root@didier toto # kate
bash: kate: command not found
 

n°196512
rawcut
tw: @_rawcut
Posté le 28-11-2002 à 22:20:08  profilanswer
 

dcro a écrit a écrit :

 
 
root@didier toto # kate
bash: kate: command not found
 
 




 
Et si tu tapes /usr/bin/kate ? Probleme dans ton $PATH ?

n°196950
dcro
Posté le 29-11-2002 à 20:45:00  profilanswer
 

en fait kate est dans /usr/kde/3/bin/
 
et cela donne
 
root@xxxx toto # /usr/kde/3/bin/kate
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
 
kate: cannot connect to X server :0.0
 
 
Rappel : cela marche imppecable en user
Je suis sous gentoo


Message édité par dcro le 29-11-2002 à 21:02:23
n°196955
el_loco
Plus on de fous plus on ri
Posté le 29-11-2002 à 20:50:50  profilanswer
 

Fo que tu utilise xhost local:root et ca va marcher

n°196956
Tux Le Pen​guin
Posté le 29-11-2002 à 20:52:27  profilanswer
 

dcro a écrit a écrit :

en fait kate est dans /usr/kde/3/bin/
 
et cela donne
 
root@xxxx toto # /usr/kde/3/bin/kate
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
 
kate: cannot connect to X server :0.0
 
 
Rappel : cela marche imppecable en user




 
ça c'est normal, c'est ton user le propriétaire de ta session X, pas le root, donc il faut que tu laisses le root accéder à la session X de ton user
je sais plus exactement comment on fait
regarde le man de X ou des trucs comme ça

n°196966
dcro
Posté le 29-11-2002 à 21:03:46  profilanswer
 

Tux Le Penguin a écrit a écrit :

 
 
ça c'est normal, c'est ton user le propriétaire de ta session X, pas le root, donc il faut que tu laisses le root accéder à la session X de ton user
je sais plus exactement comment on fait
regarde le man de X ou des trucs comme ça




 
Mais pourquoi cela marchait depuis 3 mois et plus maintenant ?
 
En fait je ne peux lancer aucun logiciel en mode console pres une commane su


Message édité par dcro le 29-11-2002 à 21:07:47
n°196968
Tux Le Pen​guin
Posté le 29-11-2002 à 21:06:49  profilanswer
 

dcro a écrit a écrit :

 
 
Mais pourquoi cela marchait depuis 3 mois et plus maintenant ?




 
 :??:  
ça marchait avant ? en root ?
t'as fait une modif quelconque dernièrement ?

n°196971
dcro
Posté le 29-11-2002 à 21:09:03  profilanswer
 

La seul que j'ai changé c'est mon ecran pour lequel j'ai fait des modif de résolution (et rien d'autre) dans le XFconfig

mood
Publicité
Posté le 29-11-2002 à 21:09:03  profilanswer
 

n°196972
BMOTheKill​er
Posté le 29-11-2002 à 21:09:28  profilanswer
 

faut différencier :
 
- logon user su root
- logon root
 
c'est pas trop pareil...

n°196974
dcro
Posté le 29-11-2002 à 21:11:57  profilanswer
 

BMOTheKiller a écrit a écrit :

faut différencier :
 
- logon user su root
- logon root
 
c'est pas trop pareil...




 
Je suis preneur de plus amples informations !!!
je crois que j'ai compris
 
Si je me log en root tout marche correctement


Message édité par dcro le 29-11-2002 à 21:13:27
n°196976
Tux Le Pen​guin
Posté le 29-11-2002 à 21:13:28  profilanswer
 

dcro a écrit a écrit :

 
 
Je suis preneur de plus amples informations !!!




 
en logon user, ton X appartiendra à ton user et les appli que tu lanceras sous root via su essayeront de se fixer sur le X de ton user sans en avoir le droit
en logon root, le X appartient à ton root

n°196984
dcro
Posté le 29-11-2002 à 21:24:32  profilanswer
 

Bon ca je comprend.  
 
Pourquoi je pouvais lancer des applis précédement.

n°196986
Tux Le Pen​guin
Posté le 29-11-2002 à 21:27:06  profilanswer
 

dcro a écrit a écrit :

Bon ca je comprend.  
 
Pourquoi je pouvais lancer des applis précédement.




 
je sais pas [:joce]

n°196999
dcro
Posté le 29-11-2002 à 22:03:46  profilanswer
 

J'ai un deuxieme poste avec une mandrake et je peux lancer les prog en user su root.
 
 
Personne pour m'aider a resoudre le probleme.

n°197011
dcro
Posté le 29-11-2002 à 22:35:02  profilanswer
 

[:yoyoz]

n°197012
jyp
>-<o>-<
Posté le 29-11-2002 à 22:35:16  profilanswer
 

en user tape : xhost +localhost
puis su et le mot de passe root
et lance une appli


---------------
Jyp
n°197028
dcro
Posté le 29-11-2002 à 23:02:05  profilanswer
 

J'ai testé : pas génial!!! :heink:  
 
 
dcro@didier dcro $ xhost +localhost
localhost being added to access control list
dcro@didier dcro $ su
Password:
root@didier dcro # kate
bash: kate: command not found
root@didier dcro # /usr/kde/3/bin/kate
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
sh: line 1: iceauth: command not found
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
DCOPServer self-test failed.
ICE Connection rejected!
 
sh: line 1: dcopserver_shutdown: command not found
kdeinit: DCOPServer could not be started, aborting.
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
ICE Connection rejected!
 
DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
root@didier dcro #  

n°197035
jyp
>-<o>-<
Posté le 29-11-2002 à 23:24:52  profilanswer
 

même : /usr/X11R6/bin/xlogo marche pas?


---------------
Jyp
n°197039
dcro
Posté le 29-11-2002 à 23:43:37  profilanswer
 

jyp a écrit a écrit :

même : /usr/X11R6/bin/xlogo marche pas?




 
xlogo marche.
 
Je souhaiterais savoir comment rétablir la situation pour que cela fonctionne.
 
en fait linux n'est pas si different de windows, il y a aussi des bug bizarres et sans solution - je me sens presque rassuré  :sol:  
 
J'ai pas envie de réinstaller ma gentoo  :pfff:

n°197044
jyp
>-<o>-<
Posté le 29-11-2002 à 23:54:29  profilanswer
 

avec kate j'ai le même message d'erreur sauf :
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".  
 
 
J'ai une Gentoo 1.2


---------------
Jyp
n°197047
dcro
Posté le 29-11-2002 à 23:57:47  profilanswer
 

Rawcut a écrit a écrit :

 
 
Et si tu tapes /usr/bin/kate ? Probleme dans ton $PATH ?




 
comment on regle un probleme de $PATH

n°197050
jyp
>-<o>-<
Posté le 30-11-2002 à 00:01:13  profilanswer
 

/etc/profile.env
et
/etc/profile


---------------
Jyp
mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Probleme bizarre

 

Sujets relatifs
problème avec pengaolprobleme pour chrooter : user unknown [resolu]
Problème bizarre avec l'ADSL sous linux...!SNMP - Problème avec MRTG
Petit probleme xchatprobleme bizarre, mount et usb...
LILO - Windows XP - Problème bizarrexfree probleme bizarre
Problème d'authentification Samba bizarre... c'est urgent !!!probleme tres bizarre
Plus de sujets relatifs à : Probleme bizarre


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR