[Bug 1773386] Re: Returned to login screen immediately after login
[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.] ** Changed in: gnome-shell (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
[Expired for gdm3 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: gdm3 (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
I haven't seen this problem in a while. It may have been resolved when I installed ncsd https://bugs.launchpad.net/ubuntu/+source/nis/+bug/1745664. Or when I disabled Turbo on my i7-7820x. Turbo definitely leads to occasional gnome crashes sadly. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
Jonathan, 1. If you have any gnome-shell extensions loaded then please uninstall them all, reboot, and tell us if that fixes the problem. If you don't know how then just go to step 2. 2. It sounds likely the gnome-shell process is crashing, so if the problem persists please log into a virtual terminal (Ctrl+Alt+F4 etc) and follow these instructions: https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment --- Mark, In case you are experiencing a different problem (and it's likely you are), please log a separate bug if you have any more trouble by running: ubuntu-bug gdm3 ** Changed in: gdm3 (Ubuntu) Status: Confirmed => Incomplete ** Also affects: gnome-shell (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-shell (Ubuntu) Status: New => Incomplete ** Tags added: nvidia -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
Update on my previous comment (#4): I checked what "pam-auth-update --force" did (it backs up the old versions), and ended up accepting all its changes so that I will hopefully never have this problem going forward. Because it added pam_systemd to common-session I have now removed the line I added to gdm-launch-environment and gdm3 still works (even with Wayland). -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
I had a similar issue. This error in syslog finally lead me to my solution: (EE) systemd-logind: failed to get session: PID 10023 does not belong to any known session As a result of that error, gdm-x-session fails further along in the gdm3 start up process and aborts: /usr/lib/gdm3/gdm-x-session[2849]: dbus-daemon[3479]: [session uid=136 pid=3479] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=136 pid=2849 comm="/usr/lib/gdm3/gdm-x-session gnome-session --autost" label="unconfined") /usr/lib/gdm3/gdm-x-session[2849]: dbus-daemon[3479]: [session uid=136 pid=3479] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 gdm-x-session: could not fetch environment: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 gdm3: GdmManager: trying to register new display gdm3: GdmManager: Error while retrieving session id for sender: Error getting session id from systemd: No data available gdm-x-session: Could not register display: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: No display available The gdm3 service just keeps trying to start gdm-x-session over and over again, flooding syslog. I fixed it by adding this line to /etc/pam.d/gdm-launch-environment: session optionalpam_systemd.so My theory on the real problem is that pam-auth-update is run during some package installs and it would have added pam_systemd to /etc/pam.d /common-session. However, I had done manual edits to at least one /etc/pam.d/common-* file, in which case pam-auth-update aborts if "-- force" is not specified. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gdm3 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1773386] Re: Returned to login screen immediately after login
I'm surprised the ubuntu-bug tool doesn't auto grab the syslog... This appears to be roughly when I tried to login and it failed. May 25 10:10:27 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[8743]: dbus-daemon[8756]: [session uid=1001 pid=8756] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1001 pid=8743 comm="/usr/lib/gdm3/gdm-x-session --run-script env GNOME" label="unconfined") May 25 10:10:27 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[8743]: dbus-daemon[8756]: [session uid=1001 pid=8756] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1exited with status 1 May 25 10:10:27 jcormier-MS-7A93 gdm-x-session: could not fetch environment: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 May 25 10:10:27 jcormier-MS-7A93 gdm3: GdmManager: trying to register new display May 25 10:10:27 jcormier-MS-7A93 gdm3: GdmManager: Error while retrieving session id for sender: Error getting session id from systemd: No data available May 25 10:10:27 jcormier-MS-7A93 gdm-x-session: Could not register display: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: No display available May 25 10:10:27 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[8743]: Unable to register display with display manager ... May 25 10:10:28 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[8743]: (II) NVIDIA(GPU-0): Deleting GPU-0 May 25 10:10:28 jcormier-MS-7A93 /usr/lib/gdm3/gdm-x-session[8743]: (II) Server terminated successfully (0). Closing log file. ** Attachment added: "syslog.gz" https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+attachment/5144291/+files/syslog.gz -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1773386 Title: Returned to login screen immediately after login To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1773386/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs