Version: 4.7 (using KDE 4.7.2) OS: Linux KDE doesn't use ConsoleKit (or systemd-loginctl) to shutdown or restart the machine (or is it just a SuSE specific setting?), so it's impossible to ask for authentication for such task by copying /var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.consolekit.system.stop (or similar) to /etc/polkit-1/localauthority/50-local.d (or similar) and then editing it. Reproducible: Always Steps to Reproduce: Try to instruct PolicyKit to ask for authentication for ConsoleKit/systemd@DBus based shutdown/restart. Actual Results: Sadly, it won't affect KDE :-( Expected Results: I assume it would be better if PolicyKit were able to control KDE's shutdown/restart behavior. BTW, how does KDE shutdown/restart the system if not using DBus services?
I guess this is a stopper for BUG#293978
consolekit integration is only restorted to only if one isn't using kdm login manager. Else, kdm uses it's own native methods (generally by calling what's defined in kdmrc HaltCmd= RebootCmd=
Followup, in fedora we're working on providing similar native systemd support for shutdown/reboot (and hopefully switchuser) support too. ReviewBoard patch coming soon I hope.
Created attachment 69618 [details] first attempt at implementing native systemd restart/shutdown support Work in progress patch to support native systemd reboot/shutdown methods. user switching is still largely untested (so probably still needs work)
Rex, what is the current status of your patch - are you using it in Fedora, and is it ready for ReviewBoard?
My bad for not following up, someone else picked up the torch, and got it reviewed and integrated into kde-4.10 https://reviewboard.kde.org/r/107611/
(In reply to comment #6) > My bad for not following up, someone else picked up the torch, and got it > reviewed and integrated into kde-4.10 > > https://reviewboard.kde.org/r/107611/ Thanks a lot for the info!