[Bug 270022] "Shutdown" should shutdown the computer

Lamarque V. Souza lamarque at gmail.com
Tue Apr 5 18:06:41 BST 2011


https://bugs.kde.org/show_bug.cgi?id=270022





--- Comment #12 from Lamarque V. Souza <lamarque gmail com>  2011-04-05 19:06:40 ---
Probably not. You can close the current session running this as user before
running the shutdown command with sudo:

qdbus org.kde.ksmserver /KSMServer logout 0 2 0 

You can change the last 0 to 2 to really force killing all opened sessions. The
explanation for those three numbers are here:

$KDEDIR/include/kworkspace/kworkspace.h

They are the enums ShutdownConfirm, ShutdownType and ShutdownMode.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list