Bug 441958

Summary: Shut Down, Restart, and Log Out actions no longer work
Product: [Unmaintained] ksmserver Reporter: Nate Graham <nate>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: grave CC: plasma-bugs-null
Priority: VHI Keywords: regression
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: DBus log

Description Nate Graham 2021-09-03 18:21:28 UTC
As of today's git master, the Shut Down, Restart, and Log Out actions no longer do anything when accessed from Kickoff, Kicker, or KRunner.

The Sleep, Hibernate, Lock, and Switch user actions do still work as expected.
Comment 1 David Edmundson 2021-09-03 22:16:23 UTC
Can I have a log of dbus-monitor --pcap and pressing the button
Comment 2 Nate Graham 2021-09-03 23:19:13 UTC
Created attachment 141280 [details]
DBus log
Comment 3 David Edmundson 2021-09-05 17:20:01 UTC
Log shows a message gets sent to org.kde.LogoutPrompt There's no reply.

That means the binary failed to load (or crashed before it could register the service). 

Given it's one reporter with DBus activation and we have a pattern of this causing setup issues I'm closing this. Ping me on IM if you can't spot the issue.
Comment 4 Nate Graham 2021-09-05 17:21:46 UTC
Just checked again, it seems to be working now.

Still, the fragility of this system worries me a bit. Setup issue though it may be, I don't like when things randomly break and then start working again...
Comment 5 David Edmundson 2021-09-05 17:33:17 UTC
>I don't like when things randomly break and then start working again...

If it helps, logs show that it launched /usr/libexec/ksmserver-logout-greeter