Aujourd'hui, lorsque j'ai démarré Ubuntu, il n'a pas démarré lightdm
, affichant un écran noir. J'ai changé pour la console Ctrl-Alt-F1 et j'ai essayé de démarrer lightdm
manuellement
Sudo start lightdm
Il m'a jeté à la console graphique (Ctrl-Alt-F7) et a montré le même écran noir. De plus, il semble que cela commence, la console a renvoyé le nombre de processus,
lightdm start/running, process 3616
Cependant, après
Sudo stop lightdm
J'ai eu
stop: unknown instance
Puis j'ai commencé gdm
Sudo start gdm
et gdm
a commencé normalement. Donc, le problème dans lightdm
.
Pour résoudre le problème, j'ai essayé de purger lightdm
et de le réinstaller.
Sudo apt-get purge lightdm
Sudo apt-get install lightdm
et
Sudo apt-get install --reinstall lightdm
Les deux voies n'ont pas aidé.
Maintenant, j'utilise gdm
, mais je veux restaurer lightdm
s'il est possible.
Merci à tous pour votre aide!
PS: Je n'ai installé aucun pilote supplémentaire récemment (et je n'ai pas du tout de carte NVidia).
PPS: Quelques informations supplémentaires
$ Sudo start lightdm
lightdm start/running, process 2466
$ dmesg | grep lightdm
[ 18.284992] init: lightdm main process (1446) killed by TERM signal
[ 57.691273] init: lightdm main process (2466) terminated with status 1
$ Sudo start lightdm
lightdm start/running, process 8140
$ Sudo cat /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.2.3, UID=0 PID=8140
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for automatic login as user stas
[+0.00s] DEBUG: Starting local X display
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Activating VT 7
[+0.01s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: Launching X Server
[+0.01s] DEBUG: Launching process 8145: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.03s] DEBUG: Process 8145 exited with return value 1
[+0.03s] DEBUG: X server stopped
[+0.03s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+0.03s] DEBUG: Releasing VT 7
[+0.03s] DEBUG: Display server stopped
[+0.03s] DEBUG: Stopping display
[+0.03s] DEBUG: Display stopped
[+0.03s] DEBUG: Stopping X local seat, failed to start a display
[+0.03s] DEBUG: Stopping seat
[+0.03s] DEBUG: Seat stopped
[+0.03s] DEBUG: Required seat has stopped
[+0.03s] DEBUG: Stopping display manager
[+0.03s] DEBUG: Display manager stopped
[+0.03s] DEBUG: Stopping daemon
[+0.03s] DEBUG: Exiting with return value 1
$ Sudo cat x-0.log
X: cannot stat /etc/X11/X (No such file or directory), aborting.
essayer d'appuyer CTRL + ALT + F1 puis:
Sudo /etc/init.d/gdm stop (for Gnome)
Sudo /etc/init.d/lightdm stop (for Unity)
Sudo dpkg-reconfigure xserver-xorg
si vous souhaitez sauvegarder X
alors ne vous inquiétez pas:
Sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
après tout cela, démarrez X
et affichez:
Sudo /etc/init.d/gdm start (for Gnome)
Sudo /etc/init.d/lightdm start (for Unity)