https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276409

--- Comment #14 from Gleb Popov <arr...@freebsd.org> ---
(In reply to Guido Falsi from comment #13)
I'd try following:

1. Call pkaction to figure out what action is checked for shutdown/reboot. Most
likely it is "org.freedesktop.consolekit.system.restart"
2. Get a PID of some of your processes. A browser or a file manager will do.
3. Run "dbus-monitor --system" as root
4. Run "pkcheck -p <your PID> -a <your action>"

The command should exit with code 0 instantly if your user is allowed to
initiate the reboot. Otherwise you'll get a error message. In the dbus-monitor
output you should see how "pkcheck" talks to "polkitd".

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to