Bug 1221484 - Plasma6 - logout does not work
Summary: Plasma6 - logout does not work
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-15 17:41 UTC by Andrei Borzenkov
Modified: 2024-03-16 06:24 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
systemd-cgls output (4.67 KB, application/octet-stream)
2024-03-15 17:43 UTC, Andrei Borzenkov
Details
journalctl -b --user (33.82 KB, text/plain)
2024-03-15 17:44 UTC, Andrei Borzenkov
Details
journalctl -b (155.61 KB, text/plain)
2024-03-15 17:44 UTC, Andrei Borzenkov
Details
journalctl --user -b (38.94 KB, text/plain)
2024-03-16 06:24 UTC, Andrei Borzenkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Borzenkov 2024-03-15 17:41:49 UTC
Snapshot 20240311, pretty much vanilla installation in VM without any third party repositories. Autologin is enabled. 

After update to Plasma6 I cannot logout from KDE session. I get confirmation dialogue, press Logout, and nothing happens. GUI does not react anymore to mouse, I can't do anything. I can switch to another vt and terminate session using e.g. "loginctl kill-session".

Attached are journalctl -b for user and system as well as sysemd-cgls output. From user journal it can be seem that logout is actually initiated but a lot of processes remain.
Comment 1 Andrei Borzenkov 2024-03-15 17:43:15 UTC
Created attachment 873555 [details]
systemd-cgls output
Comment 2 Andrei Borzenkov 2024-03-15 17:44:01 UTC
Created attachment 873556 [details]
journalctl -b --user
Comment 3 Andrei Borzenkov 2024-03-15 17:44:45 UTC
Created attachment 873557 [details]
journalctl -b
Comment 4 Andrei Borzenkov 2024-03-15 18:31:02 UTC
Under Wayland after "logout" GUI remains active, I can launch applications etc.
Comment 5 Fabian Vogt 2024-03-15 21:35:37 UTC
Might be related to:

Mar 15 20:27:37 uefi systemd[1330]: Created slice Slice /app/dbus-:1.2-org.kde.LogoutPrompt.
Mar 15 20:27:37 uefi systemd[1330]: Started dbus-:1.2-org.kde.LogoutPrompt@0.service.
Mar 15 20:27:44 uefi systemd[1330]: Created slice Slice /app/dbus-:1.2-org.kde.Shutdown.
Mar 15 20:27:45 uefi systemd[1330]: Started dbus-:1.2-org.kde.Shutdown@0.service.
Mar 15 20:27:45 uefi systemd[1330]: dbus-:1.2-org.kde.LogoutPrompt@0.service: Main process exited, code=exited, status=1/FAILURE
Mar 15 20:27:45 uefi systemd[1330]: dbus-:1.2-org.kde.LogoutPrompt@0.service: Failed with result 'exit-code'.
Mar 15 20:27:45 uefi systemd[1330]: dbus-:1.2-org.kde.LogoutPrompt@0.service: Consumed 1.527s CPU time.

Though the logout greeter should either trigger logout or not, there's no in between...

What happens if you do "qdbus6 org.kde.Shutdown /Shutdown org.kde.Shutdown.logout" manually?
Comment 6 Andrei Borzenkov 2024-03-16 06:24:04 UTC
Created attachment 873565 [details]
journalctl --user -b

(In reply to Fabian Vogt from comment #5)
> 
> What happens if you do "qdbus6 org.kde.Shutdown /Shutdown
> org.kde.Shutdown.logout" manually?

Logs are mostly identical - logout is initiated, something is done but session is not terminated. And I mentioned already, in X11 GUI is frozen after logout attempt. 

journalctl --user -b attached.