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

--- Comment #10 from Ben Woods <woods...@freebsd.org> ---
Hi MMacD,
Whilst I agree the current situation is not optimal, it is clearly explained in
the message printed when the xfce4-session package is installed.

As root, create the file /usr/local/etc/polkit-1/rules.d/50-shutdown.rules with
the following contents:
polkit.addRule(function (action, subject) {
        if ((action.id == "org.freedesktop.consolekit.system.restart" ||
            action.id == "org.freedesktop.consolekit.system.stop" ||
            action.id == "org.freedesktop.consolekit.system.suspend" ||
            action.id == "org.freedesktop.consolekit.system.hibernate") &&
            subject.isInGroup("operator")) {
                return polkit.Result.YES;
        }
});


Then simply make sure your user is a member of the operator group. You may need
a reboot to get the new config to take effect.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-xfce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-xfce
To unsubscribe, send any mail to "freebsd-xfce-unsubscr...@freebsd.org"

Reply via email to