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

 


Dernière réponse
Sujet : Probleme bizarre
jyp /etc/profile.env
et
/etc/profile

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
jyp /etc/profile.env
et
/etc/profile
dcro

Rawcut a écrit a écrit :

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




 
comment on regle un probleme de $PATH

jyp 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
dcro

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:

jyp même : /usr/X11R6/bin/xlogo marche pas?
dcro 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 #  
jyp en user tape : xhost +localhost
puis su et le mot de passe root
et lance une appli
dcro [:yoyoz]
dcro 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.
Tux Le Penguin

dcro a écrit a écrit :

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




 
je sais pas [:joce]

dcro Bon ca je comprend.  
 
Pourquoi je pouvais lancer des applis précédement.
Tux Le Penguin

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

dcro

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

BMOTheKiller faut différencier :
 
- logon user su root
- logon root
 
c'est pas trop pareil...
dcro 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
Tux Le Penguin

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 ?

dcro

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

Tux Le Penguin

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

el_loco Fo que tu utilise xhost local:root et ca va marcher
dcro 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
rawcut

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 ?

dcro

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
 

rawcut Il te met quoi comme erreur kan tu le lance dans un shell ?
dcro 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.

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