Bug 434735 - Long logout and shutdown
Summary: Long logout and shutdown
Status: RESOLVED FIXED
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (show other bugs)
Version: 5.21.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-21 22:13 UTC by juri26
Modified: 2021-03-22 12:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description juri26 2021-03-21 22:13:35 UTC
My logout or shutdown often takes forever (something like 30 seconds) or never finishes at all. When i click on shutdown or on logout the first thing that happens is: nothing. Then after a short time the monitor goes black with just the cursor and a few still open programs on it. But i can still start and use programs as usual. For example i can start and use terminal with the shortcut. Then after about 15 seconds of this strange state the monitor goes just completely off ant the real shutdown begins. I have installed it on a nvme SSD so this shouldn't be the problem. This bug occurs on any os with KDE Plasma desktop environment, even on live installations

STEPS TO REPRODUCE
1. Install any os with KDE Plasma desktop environment
2. Click on shutdown or logout
3. Enjoy long logout

OBSERVED RESULT
Extreme long logout

EXPECTED RESULT
Fast logout

SOFTWARE/OS VERSIONS 
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
I've made a Reddit post on that topic for additional information:
https://www.reddit.com/r/linux4noobs/comments/m5qf9r/shutting_down_manjaro_takes_forever/
Comment 1 Nate Graham 2021-03-22 02:23:57 UTC
Are you using systemd startup? If not, can you try enabling it by running `kwriteconfig5 --file startkderc --group General --key systemdBoot true` and then reboot, and then see if that helps? Thanks!
Comment 2 juri26 2021-03-22 08:38:49 UTC
(In reply to Nate Graham from comment #1)
> Are you using systemd startup? If not, can you try enabling it by running
> `kwriteconfig5 --file startkderc --group General --key systemdBoot true` and
> then reboot, and then see if that helps? Thanks!

Yes, that fixed the bug! Thank you very much!
Comment 3 Nate Graham 2021-03-22 12:03:36 UTC
I'm happy to hear that, because it's supposed to fix that. :) This feature is optional and off by default for now but we are planning to turn it on by default for Plasma 5.22. So I'll call the bug fixed in Plasma 5.22