[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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1784065] Re: upgrade from 14.04 to 16.04 fails due to `interest-await' in trigger
Had same issue with 14.04 to 16.04 upgrade, I had i386 and amd64 so this worked for me, just doing amd64 gave me an error: wget http://mirrors.kernel.org/ubuntu/pool/main/d/dpkg/dpkg_1.18.4ubuntu1_amd64.deb ar -x dpkg_1.18.4ubuntu1_amd64.deb tar -xvf data.tar.gz wget https://launchpad.net/ubuntu/+source/glib2.0/2.48.2-0ubuntu3/+build/15131273/+files/libglib2.0-0_2.48.2-0ubuntu3_amd64.deb wget https://launchpad.net/ubuntu/+source/glib2.0/2.48.2-0ubuntu3/+build/15131276/+files/libglib2.0-0_2.48.2-0ubuntu3_i386.deb sudo ./usr/bin/dpkg -i libglib2.0-0_2.48.2-0ubuntu3_amd64.deb libglib2.0-0_2.48.2-0ubuntu3_i386.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784065 Title: upgrade from 14.04 to 16.04 fails due to `interest-await' in trigger To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1784065/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs