[Bug 218322] x11-wm/xfce4: only logout button is functional

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 11 13:19:08 UTC 2017


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

--- Comment #10 from Ben Woods <woodsb02 at 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.


More information about the freebsd-xfce mailing list