You are not logged in.

#1 2021-11-11 10:37:45

cpcp800
Member
Registered: 2016-08-31
Posts: 15

GDM not starting session and all-around weird behaviour

When i booted my laptop up this morning, i encountered some very weird behavior in Gnome Desktop manager.
I select my account, type my password and it auths, and then nothing. I'm booted back to the account selection screen.
This error persists, even when retrying to login.

However if i press the session selection button, and select the same session(or a different one), gdm successfully launches the session as normal.

I have tried reinstalling i3 and gdm, and i can't really seem to find a proper reason. It also seems like a weird "fix" which shouldn't in general change anything.

Journalctl will be edited in below once i get one:

Nov 11 11:38:27 powerPC audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rpc-statd-notify comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:27 powerPC kernel: audit: type=1130 audit(1636627107.009:71): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=rpc-statd-notify comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:27 powerPC systemd[1]: systemd-rfkill.service: Deactivated successfully.
Nov 11 11:38:27 powerPC audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:27 powerPC kernel: audit: type=1131 audit(1636627107.663:72): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:28 powerPC audit[1023]: USER_AUTH pid=1023 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty1 res=success'
Nov 11 11:38:28 powerPC gdm-password][1023]: gkr-pam: unable to locate daemon control file
Nov 11 11:38:28 powerPC gdm-password][1023]: gkr-pam: stashed password to try later in open session
Nov 11 11:38:28 powerPC dbus-daemon[589]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.42' (uid=0 pid=1023 comm="gdm-session-worker [pam/gdm-password] ")
Nov 11 11:38:28 powerPC dbus-daemon[589]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Nov 11 11:38:28 powerPC gdm-password][1023]: pam_systemd_home(gdm-password:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Nov 11 11:38:28 powerPC audit[1023]: USER_ACCT pid=1023 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty1 res=success'
Nov 11 11:38:28 powerPC audit[1023]: CRED_ACQ pid=1023 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty1 res=success'
Nov 11 11:38:28 powerPC kernel: audit: type=1100 audit(1636627108.123:73): pid=1023 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty1 res=success'
Nov 11 11:38:28 powerPC kernel: audit: type=1101 audit(1636627108.123:74): pid=1023 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty1 res=success'
Nov 11 11:38:28 powerPC kernel: audit: type=1103 audit(1636627108.123:75): pid=1023 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty1 res=success'
Nov 11 11:38:28 powerPC audit[1023]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=a a1=7ffe13cd4260 a2=4 a3=3e8 items=0 ppid=617 pid=1023 auid=1000 uid=0 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="gdm-session-wor" exe="/usr/lib/gdm-session-worker" key=(null)
Nov 11 11:38:28 powerPC audit: PROCTITLE proctitle=67646D2D73657373696F6E2D776F726B6572205B70616D2F67646D2D70617373776F72645D
Nov 11 11:38:28 powerPC gdm-password][1023]: pam_unix(gdm-password:session): session opened for user cpj(uid=1000) by (uid=0)
Nov 11 11:38:28 powerPC kernel: audit: type=1006 audit(1636627108.129:76): pid=1023 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
Nov 11 11:38:28 powerPC kernel: audit: type=1300 audit(1636627108.129:76): arch=c000003e syscall=1 success=yes exit=4 a0=a a1=7ffe13cd4260 a2=4 a3=3e8 items=0 ppid=617 pid=1023 auid=1000 uid=0 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm="gdm-session-wor" exe="/usr/lib/gdm-session-worker" key=(null)
Nov 11 11:38:28 powerPC kernel: audit: type=1327 audit(1636627108.129:76): proctitle=67646D2D73657373696F6E2D776F726B6572205B70616D2F67646D2D70617373776F72645D
Nov 11 11:38:28 powerPC systemd[1]: Created slice User Slice of UID 1000.
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC systemd[1]: Starting User Runtime Directory /run/user/1000...
Nov 11 11:38:28 powerPC systemd-logind[592]: New session 3 of user cpj.
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC systemd[1]: Finished User Runtime Directory /run/user/1000.
Nov 11 11:38:28 powerPC audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:28 powerPC systemd[1]: Starting User Manager for UID 1000...
Nov 11 11:38:28 powerPC kernel: audit: type=1130 audit(1636627108.136:77): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:28 powerPC dbus-daemon[589]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.44' (uid=0 pid=1037 comm="(systemd) ")
Nov 11 11:38:28 powerPC dbus-daemon[589]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Nov 11 11:38:28 powerPC systemd[1037]: pam_systemd_home(systemd-user:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Nov 11 11:38:28 powerPC audit[1037]: USER_ACCT pid=1037 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="cpj" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:28 powerPC audit[1037]: CRED_ACQ pid=1037 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="cpj" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 11 11:38:28 powerPC audit[1037]: SYSCALL arch=c000003e syscall=1 success=yes exit=4 a0=9 a1=7ffd9ca17db0 a2=4 a3=3e8 items=0 ppid=1 pid=1037 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="(systemd)" exe="/usr/lib/systemd/systemd" key=(null)
Nov 11 11:38:28 powerPC audit: PROCTITLE proctitle="(systemd)"
Nov 11 11:38:28 powerPC systemd[1037]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[cpj] ruser=[<unknown>] rhost=[<unknown>]
Nov 11 11:38:28 powerPC systemd[1037]: pam_unix(systemd-user:session): session opened for user cpj(uid=1000) by (uid=0)
Nov 11 11:38:28 powerPC systemd[1037]: pam_env(systemd-user:session): deprecated reading of user environment enabled
Nov 11 11:38:28 powerPC audit[1037]: USER_START pid=1037 uid=0 auid=1000 ses=4 msg='op=PAM:session_open grantors=pam_loginuid,pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env acct="cpj" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:28 powerPC audit: BPF prog-id=31 op=LOAD
Nov 11 11:38:28 powerPC audit[1037]: SYSCALL arch=c000003e syscall=321 success=yes exit=8 a0=5 a1=7ffdc2d8c940 a2=78 a3=7ffdc2d8c940 items=0 ppid=1 pid=1037 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
Nov 11 11:38:28 powerPC audit: PROCTITLE proctitle="(systemd)"
Nov 11 11:38:28 powerPC audit: BPF prog-id=31 op=UNLOAD
Nov 11 11:38:28 powerPC systemd[1037]: Queued start job for default target Main User Target.
Nov 11 11:38:28 powerPC audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 11 11:38:28 powerPC audit[1023]: USER_START pid=1023 uid=0 auid=1000 ses=3 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty2 res=success'
Nov 11 11:38:28 powerPC systemd[1037]: Created slice User Application Slice.
Nov 11 11:38:28 powerPC gdm-password][1023]: pam_env(gdm-password:session): deprecated reading of user environment enabled
Nov 11 11:38:28 powerPC systemd[1037]: Reached target Paths.
Nov 11 11:38:28 powerPC gdm-password][1023]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Nov 11 11:38:28 powerPC systemd[1037]: Reached target Timers.
Nov 11 11:38:28 powerPC systemd[1037]: Starting D-Bus User Message Bus Socket...
Nov 11 11:38:28 powerPC systemd[1037]: Listening on GnuPG network certificate management daemon.
Nov 11 11:38:28 powerPC systemd[1037]: Listening on GCR ssh-agent wrapper.
Nov 11 11:38:28 powerPC systemd[1037]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 11 11:38:28 powerPC systemd[1037]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Nov 11 11:38:28 powerPC systemd[1037]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Nov 11 11:38:28 powerPC systemd[1037]: Listening on GnuPG cryptographic agent and passphrase cache.
Nov 11 11:38:28 powerPC systemd[1037]: Listening on p11-kit server.
Nov 11 11:38:28 powerPC systemd[1037]: Listening on Multimedia System.
Nov 11 11:38:28 powerPC systemd[1037]: Listening on Sound System.
Nov 11 11:38:28 powerPC systemd[1037]: Listening on D-Bus User Message Bus Socket.
Nov 11 11:38:28 powerPC systemd[1037]: Reached target Sockets.
Nov 11 11:38:28 powerPC systemd[1037]: Reached target Basic System.
Nov 11 11:38:28 powerPC systemd[1037]: Reached target Main User Target.
Nov 11 11:38:28 powerPC systemd[1037]: Startup finished in 40ms.
Nov 11 11:38:28 powerPC systemd[1]: Started User Manager for UID 1000.
Nov 11 11:38:28 powerPC systemd[1]: Started Session 3 of User cpj.
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC kernel: rfkill: input handler enabled
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC systemd[1037]: Started D-Bus User Message Bus.
Nov 11 11:38:28 powerPC /usr/lib/gdm-wayland-session[1054]: i3: Cannot open display
Nov 11 11:38:28 powerPC audit[1023]: USER_END pid=1023 uid=0 auid=1000 ses=3 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_systemd,pam_env,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty2 res=success'
Nov 11 11:38:28 powerPC audit[1023]: CRED_DISP pid=1023 uid=0 auid=1000 ses=3 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="cpj" exe="/usr/lib/gdm-session-worker" hostname=powerPC addr=? terminal=/dev/tty2 res=success'
Nov 11 11:38:28 powerPC gdm-password][1023]: pam_unix(gdm-password:session): session closed for user cpj
Nov 11 11:38:28 powerPC gdm[617]: Gdm: GdmDisplay: Session never registered, failing
Nov 11 11:38:28 powerPC gnome-shell[769]: Error checking authorization for action id org.freedesktop.bolt.enroll: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.bolt.enroll is not registered
Nov 11 11:38:28 powerPC systemd[1]: session-3.scope: Deactivated successfully.
Nov 11 11:38:28 powerPC systemd-logind[592]: Session 3 logged out. Waiting for processes to exit.
Nov 11 11:38:28 powerPC systemd-logind[592]: Removed session 3.

Last edited by cpcp800 (2021-11-11 10:49:28)

Offline

#2 2021-11-11 13:47:38

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: GDM not starting session and all-around weird behaviour

Could be the same bug as https://bbs.archlinux.org/viewtopic.php?pid=2002581? Needing to explicitly select the already-selected option in order for it to be selected and load properly.

In their case it just defaults to another session, but if you have no other session, it makes sense that it may just silently fail and boot you back to login.

I haven't really looked through your log, that being said. But it would be interesting to get logs from the other person's thread and compare.

Offline

#3 2021-11-11 21:25:57

kabouzeid
Member
Registered: 2021-11-11
Posts: 3

Re: GDM not starting session and all-around weird behaviour

Seems to be the same bug. I had the exact same problem, and applying the "fix" from the other topic fixed it for me.

Offline

Board footer

Powered by FluxBB