Probleme bizarre - Linux et OS Alternatifs
Marsh Posté le 28-11-2002 à 22:07:33
Il te met quoi comme erreur kan tu le lance dans un shell ?
Marsh Posté le 28-11-2002 à 22:15:12
| 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 
 
Marsh Posté le 28-11-2002 à 22:20:08
| 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 ?
Marsh Posté le 29-11-2002 à 20:45:00
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
Marsh Posté le 29-11-2002 à 20:52:27
| 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
Marsh Posté le 29-11-2002 à 21:03:46
| 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
Marsh Posté le 29-11-2002 à 21:06:49
| 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 ?
Marsh Posté le 29-11-2002 à 21:09:03
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
Marsh Posté le 29-11-2002 à 21:09:28
faut différencier : 
 
- logon user su root 
- logon root 
 
c'est pas trop pareil...
Marsh Posté le 29-11-2002 à 21:11:57
| 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
Marsh Posté le 29-11-2002 à 21:13:28
| 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
Marsh Posté le 29-11-2002 à 21:24:32
Bon ca je comprend.  
 
Pourquoi je pouvais lancer des applis précédement.
Marsh Posté le 29-11-2002 à 21:27:06
| dcro a écrit a écrit  : Bon ca je comprend. Pourquoi je pouvais lancer des applis précédement. | 
 
 
je sais pas ![[:joce] [:joce]](https://forum-images.hardware.fr/images/perso/joce.gif)
Marsh Posté le 29-11-2002 à 22:03:46
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.
Marsh Posté le 29-11-2002 à 22:35:16
en user tape : xhost +localhost 
puis su et le mot de passe root 
et lance une appli
Marsh Posté le 29-11-2002 à 23:02:05
J'ai testé : pas génial!!!  
  
 
 
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 #  
Marsh Posté le 29-11-2002 à 23:24:52
même : /usr/X11R6/bin/xlogo marche pas?
Marsh Posté le 29-11-2002 à 23:43:37
| 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é   
  
 
J'ai pas envie de réinstaller ma gentoo   
 
Marsh Posté le 29-11-2002 à 23:54:29
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
Marsh Posté le 29-11-2002 à 23:57:47
| Rawcut a écrit a écrit  : Et si tu tapes /usr/bin/kate ? Probleme dans ton $PATH ? | 
 
 
comment on regle un probleme de $PATH
Marsh Posté le 28-11-2002 à 22:05:05
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.