Bug 367783

Summary: I can't reboot the system because the reboot and shutdown option is just not there
Product: [Plasma] plasmashell Reporter: Jordyn <onlinecloud1>
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.7.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jordyn 2016-08-24 23:30:28 UTC
I normally reboot using a custom command, and I can't set a custom reboot command in kickoff. So the reboot and shutdown options are just not there.

Reproducible: Always

Steps to Reproduce:
1. open kickoff
2. goto leave
3. done

Actual Results:  
the reboot and shutdown options are just not there.

Expected Results:  
gave me the options
Comment 1 David Edmundson 2016-08-25 01:35:53 UTC
What is the result of:

qdbus --system org.freedesktop.login1  /org/freedesktop/login1 org.freedesktop.login1.Manager.CanPowerOff


also have you disabled "offer shutdown options" in system settings -> startup and shutdown --> desktop session 

Please reopen this when you reply.
Comment 2 Jordyn 2016-08-25 21:52:46 UTC
(In reply to David Edmundson from comment #1)
> What is the result of:
> 
> qdbus --system org.freedesktop.login1  /org/freedesktop/login1
> org.freedesktop.login1.Manager.CanPowerOff
> 
> 
> also have you disabled "offer shutdown options" in system settings ->
> startup and shutdown --> desktop session 
> 
> Please reopen this when you reply.

This is the output of "qdbus --system org.freedesktop.login1  /org/freedesktop/login1 org.freedesktop.login1.Manager.CanPowerOff":
Error: org.freedesktop.DBus.Error.Spawn.ChildExited
Launch helper exited with unknown return code 1

also I have "offer shutdown options" enabled
Comment 3 David Edmundson 2016-08-29 15:35:28 UTC
your setup is broken outside of Plasma.

you must have logind existing as it's trying to spawn it, but it's not loading properly (could be crashing on load, or could be you've done something to your setup.).

Unfortuantely that's all out of Plasma's control. Good luck.
Comment 4 Jordyn 2016-08-30 02:20:35 UTC
(In reply to David Edmundson from comment #3)
> your setup is broken outside of Plasma.
> 
> you must have logind existing as it's trying to spawn it, but it's not
> loading properly (could be crashing on load, or could be you've done
> something to your setup.).
> 
> Unfortuantely that's all out of Plasma's control. Good luck.

Oh I have to use logind. I'm not even using logind, I'm using consolekit with sysvinit