[Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-30 Thread Guido Jäkel
To close down the Desktop, it seems that is it more intended to terminate the running instance `gnome-session-ctl --monitor`. Therefore, the line ExecStop=-/bin/bash -exc '/usr/bin/killall gnome-session-ctl && logger "PATCH: killall gnome-session-ctl"' also work. And from the help page of `gnome-

[Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-30 Thread Guido Jäkel
On https://lists.gnome.org/archives/commits-list/2019-May/msg04333.html one may read: main: Add systemd gnome-session monitoring code for leader We are in the situation that gnome-session-binary is the session leader process for the user. This process is managed via logind and is

Re: [Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-28 Thread Guido Jäkel
Yes, because the controlling systemd service wait in vain for graceful termination of the gnome-session-binary and send a SIGKILL after 90s. For an unknown reason nobody seems to send a SIGTERM before. But I'm neither used to write scripts for systemd nor know the details of desktop session managem

[Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-27 Thread Guido Jäkel
I found a workaround by send a SIGTERM to the gnome-session-binary: ubuntu@lenovy:~$ cat /lib/systemd/user/gnome-session.service [Unit] Description=GNOME Session Manager (Ubuntu downstream version for Unity support) PartOf=graphical-session.target [Service] ExecStart=/bin/sh -exc '[ "$DESKTOP_SES

[Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-28 Thread Guido Jäkel
I append a syslog containing logon and logoff cycle recorded with the patched version of the gnome-session.service file. ** Attachment added: "syslog for user session cycle (patched gnome-session.service)" https://bugs.launchpad.net/ubuntu/noble/+source/gnome-session/+bug/2063383/+attachmen

[Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-29 Thread Guido Jäkel
The _Fast User Switch_ in the Menubar still don't work. But I found that I may start a new desktop on next free VT by ``` XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0 dm-tool stwitch-to greeter ``` with the expected behavior. Also, session switching via `` works as usual, then. -- You r

[Bug 2063383] Re: [SRU] Ubuntu Unity takes 90 seconds to log out

2025-01-16 Thread Guido Jäkel
I append a syslog containing logon and logoff cycle while the both gnome-session-binaries are parameterized to run in debug mode. This offers to first off study the bug without setting up a test environment. ** Attachment added: "syslog for user session cycle" https://bugs.launchpad.net/ubunt