Gnome UI not loading during boot, gdm issue, manually restart gdm.service solves the problem

Hey,

I have for a few months now been affected with the login screen not showing during boot(gdm service failing), basically the gnome ui does not load. What confuses me is that throughout the last month or two, it went from rarely not loading, to now not loading 49/50 times.

To fix the issue, I have to ssh to the machine and restart the gdm.service. I have not been able to find a working solution on Manjaro forums or any other, besides reinstalling or moving to another Linux distribution.

Output from “systemctl status gdm.service” when the UI is not loading.

systemctl status gdm.service 
● gdm.service - GNOME Display Manager
    Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: disabled)
     Active: active (running) since Mon 2020-09-14 19:58:22 CEST; 2min 12s ago
   Main PID: 1007 (gdm)
      Tasks: 3 (limit: 77104)
     Memory: 8.5M
     CGroup: /system.slice/gdm.service
             └─1007 /usr/bin/gdm

Sep 14 19:58:26 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:27 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:27 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:27 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:27 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:28 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:28 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:28 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:28 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>
Sep 14 19:58:29 deathstar systemd[1]: /usr/lib/systemd/system/gdm.service:28: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting alt>

Here´s the journalctl output:

➜  ~ sudo journalctl -b -u gdm                         
-- Logs begin at Mon 2020-04-13 17:12:36 CEST, end at Mon 2020-09-14 21:38:57 CEST. --
Sep 14 21:31:56 deathstar systemd[1]: Starting GNOME Display Manager...
Sep 14 21:31:56 deathstar systemd[1]: Started GNOME Display Manager.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (--) Log file renamed from "/var/lib/gdm/.local/share/xorg/Xorg.pid-3620.log" to "/var/lib/gdm/.local/share/xorg/Xorg.0.log"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) Failed to open protocol names file lib/xorg/protocol.txt
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: X.Org.X X Server 1.20.8
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: X Protocol Version 11, Revision 0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Build Operating System: Linux Manjaro Linux
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Current Operating System: Linux deathstar 5.4.64-1-MANJARO #1 SMP PREEMPT Wed Sep 9 18:26:19 UTC 2020 x86_64
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=b088cdb0-ff3a-4312-b9f6-41114c105126 rw nouveau.modeset=0 quiet apparmor=1 security=apparmor resume=UUID=74076d01-6021-4402-b7dc-59b9c784a072 >
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Build Date: 01 August 2020  07:25:56AM
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:  
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Current version of pixman: 0.40.0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         Before reporting problems, check 
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         to make sure that you have the latest version.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Markers: (--) probed, (**) from config file, (==) default setting,
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         (++) from command line, (!!) notice, (II) informational,
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Log file: "/var/lib/gdm/.local/share/xorg/Xorg.0.log", Time: Mon Sep 14 21:31:57 2020
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Using config file: "/etc/X11/xorg.conf"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) ServerLayout "Layout0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |-->Screen "Screen0" (0)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |   |-->Monitor "Monitor0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |   |-->Device "Device0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |   |-->GPUDevice "Device0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |   |-->GPUDevice "Device0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |-->Input Device "Keyboard0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) |-->Input Device "Mouse0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) Option "Xinerama" "0"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Automatically adding devices
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Automatically enabling devices
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Automatically adding GPU devices
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Automatically binding GPU devices
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) Max clients allowed: 256, resource mask: 0x1fffff
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) The directory "/usr/share/fonts/OTF" does not exist.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         Entry deleted from font path.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) The directory "/usr/share/fonts/Type1" does not exist.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         Entry deleted from font path.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         Entry deleted from font path.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         Entry deleted from font path.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) FontPath set to:
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         /usr/share/fonts/misc,
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         /usr/share/fonts/TTF
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (==) ModulePath set to "/usr/lib/xorg/modules"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (**) Extension "COMPOSITE" is enabled
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) Disabling Keyboard0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) Disabling Mouse0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) Module ABI versions:
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         X.Org.X ANSI C Emulation: 0.4
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         X.Org.X Video Driver: 24.1
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         X.Org.X XInput driver : 24.1
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         X.Org.X Server Extension : 10.0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (++) using VT number 1
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE) systemd-logind: failed to get session: PID 3620 does not belong to any known session
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) xfree86: Adding drm device (/dev/dri/card0)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (--) PCI:*(10@0:0:0) 10de:1e87:10de:12a6 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) LoadModule: "glx"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) Module glx: vendor="X.Org.x Foundation"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         compiled for 1.20.8, module version = 1.0.0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         ABI class: X.Org.X Server Extension, version 10.0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) LoadModule: "nvidia"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) Module nvidia: vendor="NVIDIA Corporation"
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         compiled for 1.6.99.901, module version = 1.0.0
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:         Module class: X.Org.X Video Driver
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) NVIDIA dlloader X Driver  450.66  Wed Aug 12 19:44:12 UTC 2020
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Fatal server error:
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: Please consult the The X.Org.X Foundation support
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:          at 
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]:  for help.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE) Please also check the log file at "/var/lib/gdm/.local/share/xorg/Xorg.0.log" for additional information.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE)
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3620]: (EE) Server terminated with error (1). Closing log file.
Sep 14 21:31:57 deathstar /usr/lib/gdm-x-session[3618]: Unable to run X server

Logs when manually restarting gdm with systemctl restart gdm.service trough an ssh session :

Sep 14 21:31:57 deathstar gdm[1006]: Child process -3618 was already dead.
Sep 14 21:32:27 deathstar systemd[1]: Stopping GNOME Display Manager...
Sep 14 21:32:27 deathstar systemd[1]: gdm.service: Succeeded.
Sep 14 21:32:27 deathstar systemd[1]: Stopped GNOME Display Manager.
Sep 14 21:32:27 deathstar systemd[1]: Starting GNOME Display Manager...
Sep 14 21:32:27 deathstar systemd[1]: Started GNOME Display Manager.
Sep 14 21:34:18 deathstar gdm-password][17219]: gkr-pam: unable to locate daemon control file
Sep 14 21:34:18 deathstar gdm-password][17219]: gkr-pam: stashed password to try later in open session
Sep 14 21:34:18 deathstar gdm-password][17219]: pam_systemd_home(gdm-password:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Sep 14 21:34:18 deathstar gdm-password][17219]: pam_unix(gdm-password:session): session opened for user winniethewho(uid=1000) by (uid=0)
Sep 14 21:34:18 deathstar gdm-password][17219]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring

What I have tried so far:

  • Re-install gdm
  • remove -> install gdm
  • Saving/removing x11 Nvidia graphic config(xorg.conf) and startx settings.
  • Upgrade to latest Nvidia Driver
  • Upgrade kernel + packages for Manjaro
  • disable logo and advanced boot screen in bios.
  • Re-installing Ghome-sessions
  • edit /etc/gdm3/custom.conf ucommenting the line WaylandEnable=false

no success
(Sorry for all the X.Org.X, but someone in the admin team desided that links are the spawn of evil, for good reasons)

Any ideas?

1 Like