Bug 478133 - Under Plasma 6 beta, ending the plasma session is broken
Summary: Under Plasma 6 beta, ending the plasma session is broken
Status: RESOLVED DUPLICATE of bug 474639
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-05 22:58 UTC by Adam Fontenot
Modified: 2023-12-13 22:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Fontenot 2023-12-05 22:58:40 UTC
Important note: I'm testing Plasma 6 through official packages provided by Arch Linux in the kde-unstable repository. It's possible that this is a transient issue caused by Arch Linux packaging. I'll keep an eye on this and close the issue if it disappears on its own.

SUMMARY
When using Plasma 6, I can't exit the session by any GUI means. Buttons that log out or shutdown the computer (like the logout widget) have no effect, and krunner actions like "log out" likewise do nothing.

This happens under both X11 and Wayland sessions.

Possible factors: I don't use SDDM or another login manager, I start Plasma sessions from a text mode tty.

STEPS TO REPRODUCE
1. Open krunner.
2. Search "log out" and choose the session option to log out.

OBSERVED RESULT
Nothing happens.


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-12-12 23:26:13 UTC
I'd say this is very likely Bug 449948. Could you verify?
Comment 2 Adam Fontenot 2023-12-13 04:53:35 UTC
The answer appears to be no. I see the problem immediately after booting the computer, when kwin_wayland would presumably not have time to crash. I can also see that the Xwayland process is currently running. As mentioned in the report, I also see the issue under X11.

I did some more digging. Starting `/usr/lib/ksmserver-logout-greeter --windowed` shows the warning:

kde.logout_greeter: Couldn't find a theme for the Shutdown dialog ""

And I also see this in the system logs the first time I try to log out. The greeter does not become visible.

I didn't see any issues with my theme, but changing my global theme to Breeze "fixed" the issue (after restarting) and I can now log out.

Possibly the greeter was trying to use a broken or non-existent theme? Should it be falling back to Breeze? I do have that installed, and it seems bad if session management breaks if theme files in $HOME disappear for some reason.
Comment 3 Nate Graham 2023-12-13 22:02:44 UTC
Ahh, then in that case it's Bug 474639.

*** This bug has been marked as a duplicate of bug 474639 ***