Nickolai Leschov (nleschov) wrote on 2024-10-03: Is there a fix or workaround?
Yes. Comment out the second to last line in /lib/systemd/user/gnome- session-manager@.service: ExecStart=/usr/libexec/gnome-session-binary --systemd-service --session=%i becomes #ExecStart=/usr/libexec/gnome-session-binary --systemd-service --session=%i This appears to have worked on three separate machines, two upgrades from Jammy (already running Unity) and one clean install of Numbat (with Unity added in after install). Note: This does nothing to fix the problem which prevents switching to a second user (using the drop down menu under the upper right on/off icon on the top menubar); the only way to switch to a different user is to log out from whatever user is active and then logon as a separate user. Also, there seems to be no support for logging into a temporary guest account when using Unity. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/2063383 Title: [SRU] Ubuntu Unity takes 90 seconds to log out Status in gnome-session package in Ubuntu: Triaged Status in gnome-session source package in Noble: Confirmed Bug description: [ Impact ] Ubuntu Unity reliably takes 90 seconds to log out. This is due to the user-level gnome-session.service systemd unit not properly terminating gnome-session on logout. An attempt is made to send SIGTERM to the process, which gnome-session does not care about. Instead, gnome-session-quit should be invoked when the systemd unit shuts down, which acts effectively and immediately. [ Test Plan ] Actual behavior: 1. Log in to a Unity session on Ubuntu Unity 24.04. 2. Log out of Ubuntu Unity. 3. Observe that only the wallpaper is shown for 90 seconds prior to the login manager showing again. Expected behavior: 1. Log in to a Unity session on Ubuntu Unity 24.04. 2. Log out of Ubuntu Unity. 3. Observe that logging out takes a few seconds at most, and you are able to log back in as the same user, or a different one. [ Where problems could occur ] If the gnome-session or gnome-session-quit binaries change the arguments they accept by default, log in and log out functionality on Unity sessions are likely to break. Additionally, if lightdm or systemd changes in a non-reverse- compatible way, this increases the chance of a user-facing regression. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/2063383/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp