Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 22/03/2010, à 18:58

xabilon

Re : Problème de lancement de startx après authentification

Justement, il ne faut pas se loguer en root sur une session graphique.
Au pire, connecte-toi en console sur ta session utilisateur, puis fais startx


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#27 Le 22/03/2010, à 19:04

izula

Re : Problème de lancement de startx après authentification

Quand je tente d'ouvrir une session graphique sous olivier, j'ai ce message d'erreur maintenant:

le fichier de configuration /home/olivier/.kde/share/config/knotifyrc n'est pas inscriptible
et
configuration file /home/olivier/.kde/share/config/foorc not writable
suivi de

kstartupconfig4 does not exist or fails. The error code is 3. Check

A votre avis probleme de permission quelque part??

Hors ligne

#28 Le 22/03/2010, à 19:31

sylvainsjc

Re : Problème de lancement de startx après authentification

Je ne sais pas pourquoi mais on dirait que les droits root ont été mis de partout

Tu n'aurais pas fait un "sudo startx" ?


ROSA Desktop Fresh KDE 4.13.3
Mon blog sur Linux : http://linuxadvantage.blogspot.com/

Hors ligne

#29 Le 22/03/2010, à 19:35

izula

Re : Problème de lancement de startx après authentification

euh..... Si j'ai fais ca, fallait pas?

Hors ligne

#30 Le 22/03/2010, à 19:51

sylvainsjc

Re : Problème de lancement de startx après authentification

Non fallait pas big_smile

C'est en faisant des erreurs que l'on apprend...

Je n'ai pas de temps la mais je suis sur qu'un gentil membre va te donner la commande sudo pour te réaffecter les bons droits


ROSA Desktop Fresh KDE 4.13.3
Mon blog sur Linux : http://linuxadvantage.blogspot.com/

Hors ligne

#31 Le 22/03/2010, à 19:58

izula

Re : Problème de lancement de startx après authentification

C'est ma premiere erreur en 1 ans de Kubuntu, ca va je trouve, Lol.

Mais mon probleme de base etait la avant que je fasse sudo startx quand meme.

Hors ligne

#32 Le 22/03/2010, à 20:16

xabilon

Re : Problème de lancement de startx après authentification

Oui, mais ça ne l'a pas arrangé big_smile
Et résoudre 2 problèmes est plus compliqué qu'en résoudre 1 seul

Bon, on va commencer par le résultat de :

ls -la /home/olivier | grep root

voir quels sont les fichiers de ton /home qui appartiennent à root


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#33 Le 22/03/2010, à 20:26

izula

Re : Problème de lancement de startx après authentification

voici la resultat:

root@R720:~# ls -la /home/olivier | grep root
drwxr-xr-x  3 root    root         4096 2009-11-25 21:38 ..
drwx------  2 root    root         4096 2010-03-20 01:27 .filezilla
-rw-------  1 root    root            0 2010-03-20 14:57 .ICEauthority
drwx------  8 root    root         4096 2010-03-20 14:56 .kde
drwx------  3 root    root         4096 2010-01-16 23:26 .mozilla-thunderbird
-rw-------  1 root    root           98 2010-03-22 19:24 .Xauthority

Hors ligne

#34 Le 22/03/2010, à 20:35

xabilon

Re : Problème de lancement de startx après authentification

Woaow, les dossiers kde, filezilla et thunderbird appartiennent aussi à root ...
Bonne nouvelle, si tu utilises Thunderbird, tu n'as pas perdu tous tes mails en supprimant le dossier kde big_smile

Tu as aussi la mauvaise habitude de te connecter en root.
Pour l'instant tu peux y rester, juste pour taper cette commande :

chown -R olivier:olivier /home/olivier/*

Puis ensuite déconnecte-toi (logout) et reconnecte-toi avec ton utilisateur.
Et enfin :

sudo /etc/init.d/kdm stop
sudo /etc/init.d/kdm start

Si jamais tu veux faire un startx, fais juste "startx" en t'ayant connecté sur ton compte utilisateur


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#35 Le 22/03/2010, à 20:39

izula

Re : Problème de lancement de startx après authentification

le probleme c'est que si je me connecte avec mon utilisateur, je n'aurai plus de possibilité de venir sur le forum car le startx ne demarre plus sous mon utilisateur.

enfin je vais quand meme faire ce que tu m'as dit et sortr le vieux PC du placard smile

Hors ligne

#36 Le 22/03/2010, à 20:58

xabilon

Re : Problème de lancement de startx après authentification

Ça ou un LiveCD (mais il faudra redémarrer à chaque fois).

Tu peux aussi utiliser w3m, navigateur en ligne de commande :

sudo apt-get install w3m
w3m http://forum.ubuntu-fr.org

Mais surtout ne te connecte pas en root.


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#37 Le 22/03/2010, à 20:59

izula

Re : Problème de lancement de startx après authentification

voila donc j'ai tout bien fais comme tu m'as dit,
les droit .Xauthority  ne sont plus en root, enfin il apparaisse plus quand je fait ls -la.

Pour le reste rien  a changé. toujours le meme souci quand je fais startx avec mon utilisateur.

et j'ai compris que je devais ne plus faire de sudo startx smile

Hors ligne

#38 Le 22/03/2010, à 21:03

xabilon

Re : Problème de lancement de startx après authentification

Alors, tu te connectes sur ton utilisateur, tu fais startx, et quels messages d'erreur as-tu ?

Edit : si tu veux consulter le forum sans interface graphique, utilise plutôt lynx, il est plus joli avec des couleurs big_smile :

lynx http://forum.ubuntu-fr.org

Dernière modification par xabilon (Le 22/03/2010, à 21:05)


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#39 Le 22/03/2010, à 21:08

izula

Re : Problème de lancement de startx après authentification

Quand je fais startx, j'ai les meme erreur que precedement :

le fichier de configuration /home/olivier/.kde/share/config/knotifyrc n'est pas inscriptible

configuration file /home/olivier/.kde/share/config/foorc not writable

kstartupconfig4 does not exist or fails. The error code is 3. Check

Hors ligne

#40 Le 22/03/2010, à 21:18

xabilon

Re : Problème de lancement de startx après authentification

Bon, vu que t'as déjà bousillé tout ton dossier kde, autant le re-supprimer

sudo /etc/init.d/kdm stop
rm -r /home/olivier/.kde
sudo /etc/init.d/kdm start

Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#41 Le 22/03/2010, à 21:22

izula

Re : Problème de lancement de startx après authentification

j'ai pas pu supprimer .kdm il m'as dit que la permission n'etait pas accordé

edit : pas kdm mais kde

Dernière modification par izula (Le 22/03/2010, à 21:24)

Hors ligne

#42 Le 22/03/2010, à 21:27

xabilon

Re : Problème de lancement de startx après authentification

Pas cool, il reste des fichiers root dedans

Mêmes commandes que précédemment, mais tu ajoutes sudo devant rm -R /home/olivier/.kde


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#43 Le 22/03/2010, à 21:33

izula

Re : Problème de lancement de startx après authentification

bon j'ai tout fais, et le resutat reste le meme

avec /etc/init.d/kdm start gdm redemarre bien mais j'ai pas la possibilité de me connecté, je suis au point de depart.

Hors ligne

#44 Le 22/03/2010, à 21:37

xabilon

Re : Problème de lancement de startx après authentification

Ok, on va créer un autre utilisateur :

sudo adduser toto

tu lui donnes un mot de passe, puis tu stoppes et relances kdm, et tu te connectes avec toto


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#45 Le 22/03/2010, à 21:46

izula

Re : Problème de lancement de startx après authentification

toto a bien demarré...

Hors ligne

#46 Le 22/03/2010, à 22:01

xabilon

Re : Problème de lancement de startx après authentification

Ok, il y a donc un truc dans ton dossier /home/olivier qui empêche la session de démarrer ...
Pffff .... ça a l'air coton ...

Déconnecte-toi, et connecte-toi en console sur ton user olivier, et lance la commande startkde. Quelles sont les erreurs ?


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#47 Le 22/03/2010, à 22:15

izula

Re : Problème de lancement de startx après authentification

le message d'erreur est :

DISPLAY is not set or cannot connect to the X server

Hors ligne

#48 Le 22/03/2010, à 22:31

xabilon

Re : Problème de lancement de startx après authentification

Mouais ...

Là faudrait voir les logs de KDM et de startkde ...

Bon, ce que je te propose pour l'instant c'est de sauvegarder toutes tes données quelque part. Je crois qu'on va bientôt arrêter les frais, à moins que quelqu'un aie d'autres idées ...

Connecte-toi par KDM à ta session "olivier" (pour que ça plante), puis relance KDM et connecte-toi avec toto.
Ensuite copie-colle dans un message (entre des balises code) le contenu du fichier /var/log/kdm.log, ou si celui-ci est vide de /var/log/kdm.log.1


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#49 Le 22/03/2010, à 23:05

izula

Re : Problème de lancement de startx après authentification

voila mon kdm.log, en esperant que ca mene quelque part.

X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server x86_64 Ubuntu
Current Operating System: Linux R720 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-20-generic root=UUID=d8fd7ffe-d429-4ab0-af23-eb439472de0a ro quiet splash
Build Date: 04 March 2010  09:57:23AM
xorg-server 2:1.6.4-2ubuntu4.2 (buildd@) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 22 21:14:16 2010
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(EE) XKB: No components provided for device Virtual core keyboard
[config/dbus] couldn't register object path
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
 ddxSigGiveUp: Closing log

X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server x86_64 Ubuntu
Current Operating System: Linux R720 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.31-20-generic root=UUID=d8fd7ffe-d429-4ab0-af23-eb439472de0a ro quiet splash
Build Date: 04 March 2010  09:57:23AM
xorg-server 2:1.6.4-2ubuntu4.2 (buildd@) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 22 21:55:58 2010
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(EE) XKB: No components provided for device Virtual core keyboard
[config/dbus] couldn't register object path
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(EE) XKB: No components provided for device Virtual core keyboard
[config/dbus] couldn't register object path
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

j'espere que j'aurai pas a réinstaller quand meme, on m'avait dit que tout se reparais sous linux :-)

Hors ligne

#50 Le 22/03/2010, à 23:24

xabilon

Re : Problème de lancement de startx après authentification

Euh, oui, tout est réparable ... à condition de savoir réparer big_smile
Et avant de réparer, il faut diagnostiquer.

KDM a l'air d'avoir un comportement normal.

On passe donc au fichier /var/log/Xorg.0.log


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne