SUMMARY: KWin will sometimes not exit when logging out when using systemd startup, you have to hit ctrl+alt+delete in order to exit out of kwin, but when you log back in, it takes a long time to start and there is only a black screen with a cursor. STEPS TO REPRODUCE 1. Logout of Plasma a few times 2. On one of the logouts, kwin does not exit OBSERVED RESULT: KWin does not logout properly, because I can still launch krunner And when logging back in, plasmashell doesn't start properly EXPECTED RESULT: Plasma logs out properly and logs back in properly SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.90 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.14.8-zen1-1-zen (64-bit) Graphics Platform: Wayland Processors: 8 × AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx Memory: 5.7 GiB of RAM Graphics Processor: AMD Radeon™ Vega 8 Graphics ADDITIONAL INFORMATION: none
Can you check whether kwin crashes? That can be done by attaching a debugger to kwin or checking coredumps.
Created attachment 142155 [details] KWin doesn't crash I ran 'echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file kwin_wayland.gdb" -ex "set logging on" -ex "continue" -ex "thread apply all backtrace" -ex "quit"' and logged out of Plasma and got the bug, but there was no backtrace in the file. So KWin is not crashing.
Hmm, this might be a ksmserver issue.
This bug seems to be fixed in plasma 5.23.
*** Bug 443814 has been marked as a duplicate of this bug. ***