[lightdm] Ecran noir au démarrage

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Maxime_
Hankyu
Messages : 11
Inscription : dim. 20 mai 2018, 16:55

[lightdm] Ecran noir au démarrage

Message par Maxime_ »

Bonjour :)

J'ai installé archlinux puis i3 qui fonctionne correctement (a priori) en l’appelant avec xinit (en faisant startx).
J'ai ensuite installé lightdm et lightdm-gtk-greeter.
J'ai ajouté la ligne greeter-session=lightdm-gtk-greeter dans /etc/lightdm/lightdm.conf
Et j'ai activé lightdm au lancement d'arch avec systemctl enable lightdm et j'ai redémarré mon ordinateur.
Il démarre bien mais au moment de lancer lightdm l'écran reste noir (d'ailleurs mon écran semble même ne plus recevoir de signal). Après un certain temps j'essaye de changer TTY et quelque chose s'affiche:
On peut distinguer les écritures blanches sur fond noir mais très bruitées et deux lignes colorées horizontales. Je ne parviens pas à écrire quoi que ce soit et il en va de même pour tous les TTY.

Je boot alors sur une clée arch, je monte mon disque et je chroot dessus. Je désactive lightdm avec systemctl disable lightdm et je reboot. Je peux accéder à mon Linux normalement et lorsque je lance systemctl start lightdm il fonctionne correctement mais j'ai toujours le même problème quand j'essaye de l'activer (systemctl enable lightdm)

Je précise tout de même que les dimensions de mon écran sont exotiques (3440x1440).

/var/log/lightdm/lightdm.log

Code : Tout sélectionner

+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=360
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG:   [LightDM] contains unknown option greeter-session
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.16s] DEBUG: Monitoring logind for seats
[+0.16s] DEBUG: New seat added from logind: seat0
[+0.16s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.16s] DEBUG: Seat seat0: Starting
[+0.16s] DEBUG: Seat seat0: Creating greeter session
[+0.16s] DEBUG: Seat seat0: Creating display server of type x
[+0.16s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.16s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.16s] DEBUG: Using VT 7
[+0.16s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.16s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.16s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.16s] DEBUG: XServer 0: Launching X Server
[+0.16s] DEBUG: Launching process 368: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.16s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.16s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.16s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.16s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.16s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.17s] DEBUG: User max added
[+0.17s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+1.04s] DEBUG: Got signal 10 from process 368
[+1.04s] DEBUG: XServer 0: Got signal from X server :0
[+1.04s] DEBUG: XServer 0: Connecting to XServer :0
[+1.04s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+1.04s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.04s] DEBUG: Session pid=485: Started with service 'lightdm-greeter', username 'lightdm'
[+1.05s] DEBUG: Session pid=485: Authentication complete with return value 0: Success
[+1.05s] DEBUG: Seat seat0: Session authenticated, running command
[+1.05s] DEBUG: Session pid=485: Running command /usr/bin/lightdm-gtk-greeter
[+1.05s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.05s] DEBUG: Session pid=485: Logging to /var/log/lightdm/seat0-greeter.log
[+1.11s] DEBUG: Activating VT 7
[+1.11s] DEBUG: Activating login1 session c1
[+1.11s] DEBUG: Seat seat0 changes active session to c1
[+1.11s] DEBUG: Session c1 is already active
[+6.43s] DEBUG: Got signal 15 from process 1
[+6.43s] DEBUG: Caught Terminated signal, shutting down
[+6.43s] DEBUG: Stopping display manager
[+6.43s] DEBUG: Seat seat0: Stopping
[+6.43s] DEBUG: Seat seat0: Stopping display server
[+6.43s] DEBUG: Sending signal 15 to process 368
[+6.43s] DEBUG: Seat seat0: Stopping session
[+6.43s] DEBUG: Terminating login1 session c1
[+6.44s] DEBUG: Session pid=485: Sending SIGTERM
[+9.24s] DEBUG: Greeter closed communication channel
[+9.24s] DEBUG: Session pid=485: Exited with return value 1
[+9.24s] DEBUG: Seat seat0: Session stopped
[+9.24s] DEBUG: Seat seat0 changes active session to
/var/log/lightdm/x-0.log

Code : Tout sélectionner

X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux max-desktop 5.5.8-arch1-1 #1 SMP PREEMPT Fri, 06 Mar 2020 00:57:33 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=accac3aa-35e2-4823-8942-61697392cfdd rw loglevel=3 quiet
Build Date: 14 January 2020  07:13:52AM
 
Current version of pixman: 0.38.4
	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: Sat Mar  7 13:45:12 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
The XKEYBOARD keymap compiler (xkbcomp) reports:
Internal error:   Could not resolve keysym XF86FullScreen

Errors from xkbcomp are not fatal to the X server
(II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
xf86: found device 1
error setting MTRR (base = 0x00000000a1000000, size = 0x01000000, type = 1) Invalid argument (22)
(II) Server terminated successfully (0). Closing log file.
/var/log/lightdm/seat0-greeter.log

Code : Tout sélectionner

** Message: 13:45:13.379: Starting lightdm-gtk-greeter 2.0.7 (Dec 17 2019, 19:36:20)
** Message: 13:45:13.381: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf

(process:495): Gtk-WARNING **: 13:45:13.383: Locale not supported by C library.
	Using the fallback 'C' locale.
Gdk-Message: 13:45:21.471: lightdm-gtk-greeter: Fatal IO error 4 (Interrupted system call) on X server :0.
Je ne sais trop que dire d'autre..
J'espère que ce problème parlera a quelqu'un car je ne parviens pas à le résoudre et google ne m'a pas beaucoup aidé :/

Merci,
Max
Avatar de l’utilisateur
CoudUr
yeomen
Messages : 230
Inscription : sam. 06 avr. 2013, 17:12

Re: [lightdm] Ecran noir au démarrage

Message par CoudUr »

Salut,

On dirait que tu as un problème avec la configuration de tes locales
Regardes ce que donne la commande "localectl"
En fonction de son retour ajustes en te servant de la page du wiki:
https://wiki.archlinux.fr/Locale
Maxime_
Hankyu
Messages : 11
Inscription : dim. 20 mai 2018, 16:55

Re: [lightdm] Ecran noir au démarrage

Message par Maxime_ »

En effet X11 Layout n'était plus définit, j'imagine que c'est parce que j'ai réinstallé xorg en désespoir de cause..
J'ai reparametré mes locales mais le problème perciste:

Code : Tout sélectionner

localectl
   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: fr
      X11 Layout: fr
/var/log/lightdm/seat0-greeter.log

Code : Tout sélectionner

** Message: 16:32:03.473: Starting lightdm-gtk-greeter 2.0.7 (Dec 17 2019, 19:36:20)
** Message: 16:32:03.476: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf

** (lightdm-gtk-greeter:497): WARNING **: 16:32:11.459: [PIDs] Failed to execute command: /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:497): WARNING **: 16:32:11.463: [PIDs] Failed to execute command: upstart

** (lightdm-gtk-greeter:497): WARNING **: 16:32:11.590: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files

(lightdm-gtk-greeter:497): Gtk-WARNING **: 16:32:11.617: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)
De ce coté j'ai les mêmes warnings sur mon portable et il démarre correctement..

J'ai quelques erreures/warning dans mes logs xorg aussi:

Code : Tout sélectionner

sudo cat /var/log/Xorg.0.log | grep 'WW\|EE'
[     2.713] Current Operating System: Linux max-desktop 5.5.8-arch1-1 #1 SMP PREEMPT Fri, 06 Mar 2020 00:57:33 +0000 x86_64
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.716] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[     2.716] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     2.717] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     2.719] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.727] (WW) Warning, couldn't open module nouveau
[     2.727] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     2.727] (WW) Warning, couldn't open module nv
[     2.727] (EE) Failed to load module "nv" (module does not exist, 0)
[     2.729] (WW) Warning, couldn't open module fbdev
[     2.729] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     2.730] (EE) open /dev/dri/card0: No such file or directory
[     2.730] (WW) Falling back to old probe method for modesetting
[     2.730] (EE) open /dev/dri/card0: No such file or directory
[     2.730] (EE) Screen 0 deleted because of no matching config section.
[     2.845] (WW) VESA(0): Unable to estimate virtual size
[     2.937] (II) Initializing extension MIT-SCREEN-SAVER
[     3.266] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:1E7D:2CEE.0004/input/input20/event18"
[     3.289] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:1E7D:2CEE.0004/input/input21/event19"
[     3.336] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:1E7D:2CEE.0005/input/input23/event21"
[     3.507] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:1E7D:2CEE.0004/input/input21/event19"
[     3.996] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:1E7D:2CEE.0004/input/input20/event18"
[     4.043] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:1E7D:2CEE.0004/input/input21/event19"
[     4.043] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:1E7D:2CEE.0004/input/input21/event19"
[     4.133] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:1E7D:2CEE.0005/input/input23/event21"
[     4.361] (EE) modeset(G0): glamor initialization failed
Avatar de l’utilisateur
CoudUr
yeomen
Messages : 230
Inscription : sam. 06 avr. 2013, 17:12

Re: [lightdm] Ecran noir au démarrage

Message par CoudUr »

Tu as pas mal des erreurs dans ton log indiquant qu'il y a un souci avec ton pilote graphique, est-ce que "nouveau" est bien installé ou bien les pilotes nvidia ?
Maxime_
Hankyu
Messages : 11
Inscription : dim. 20 mai 2018, 16:55

Re: [lightdm] Ecran noir au démarrage

Message par Maxime_ »

Super c'était ca.
Merci ! :)
Répondre