You are not logged in.

#1 2020-08-11 03:12:29

lostsabbath
Member
Registered: 2020-08-11
Posts: 2

GDM does not start on boot, systemd default is graphical.target

I'd like to preface that I read a previous thread on the same issue, but systemd get-default gets me graphical.target (changing which was suggested and accepted as an answer). Linked below is the thread.
https://bbs.archlinux.org/viewtopic.php?id=248125

I'll paste the same things people told them to for now. They are all from after manually starting GDM.
I don't generally fiddle with my OS but my dad might have done some things, my settings are directly copied from his.

$ systemctl list-unit-files --state=enabled

UNIT FILE                          STATE   VENDOR PRESET
gdm.service                        enabled disabled     
getty@.service                     enabled enabled      
NetworkManager-dispatcher.service  enabled disabled     
NetworkManager-wait-online.service enabled disabled     
NetworkManager.service             enabled disabled     
sshd.service                       enabled disabled     
systemd-timesyncd.service          enabled enabled      
remote-fs.target                   enabled enabled      

8 unit files listed.
$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 Tue 2020-08-11 11:35:43 JST; 27min ago
   Main PID: 744 (gdm)
      Tasks: 3 (limit: 18978)
     Memory: 5.2M
     CGroup: /system.slice/gdm.service
             └─744 /usr/bin/gdm

Aug 11 11:35:43 shamon systemd[1]: Starting GNOME Display Manager...
Aug 11 11:35:43 shamon systemd[1]: Started GNOME Display Manager.
Aug 11 11:35:50 shamon gdm-password][1011]: gkr-pam: unable to locate daemon control file
Aug 11 11:35:50 shamon gdm-password][1011]: gkr-pam: stashed password to try later in open session
Aug 11 11:35:50 shamon gdm-password][1011]: pam_unix(gdm-password:session): session opened for user ziuu by (uid=0)
Aug 11 11:35:50 shamon gdm-password][1011]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
$ file /etc/systemd/system/display-manager.service

/etc/systemd/system/display-manager.service: symbolic link to /usr/lib/systemd/system/gdm.service
$ systemctl get-default

graphical.target

Thanks in advance for any assistance!

Offline

#2 2020-08-11 06:59:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,372

Re: GDM does not start on boot, systemd default is graphical.target

GDM starts and there's no real pointer towards an issue, what's the graphics driver? Try enabling early KMS, maybe post a full journal after the failed start with

sudo journalctl -b

Offline

#3 2020-08-11 13:45:39

lostsabbath
Member
Registered: 2020-08-11
Posts: 2

Re: GDM does not start on boot, systemd default is graphical.target

@V1del

$ lspci -v | egrep -i --color 'vga'

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1) (prog-if 00 [VGA controller])

I will try that later! Thank you.

Offline

#4 2020-08-13 15:29:48

JayGatsby7
Member
Registered: 2019-09-11
Posts: 1

Re: GDM does not start on boot, systemd default is graphical.target

I'm having this exact issue.  Also worth noting that if I disable GDM.service and reboot --- I'm unable to start GDM with systemctl start gdm.service  --- it errors out complaining that it can't authenticate.

journalctl -b --- logs include error messages:

Aug 13 12:00:29 arch systemd[468]: Started D-Bus User Message Bus.
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.1' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch gnome-session[485]: gnome-session-binary[485]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch gnome-session-binary[485]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=485 comm="/usr/lib/gnome-session-binary --autostart /usr/sha")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=120 pid=502 comm="/usr/bin/gnome-shell ")
Aug 13 12:00:29 arch /usr/lib/gdm-wayland-session[484]: dbus-daemon[484]: [session uid=120 pid=484] Successfully activated service 'org.a11y.Bus'

Offline

Board footer

Powered by FluxBB