I have installed FreeBSD 10.2 + XFCE. If you want to enable logout/reboot/suspend GUI, type:
and follow the instructions.
For me it works so:
# pkg info -D xfce4-session
and follow the instructions.
For me it works so:
Code:
# pkg info -D xfce4-session
xfce4-session-4.12.1_2:
Always:
To be able to shutdown or reboot your system, you'll have to add .rules
files in /usr/local/etc/polkit-1/rules.d directory. Which looks
like this (replace PUTYOURGROUPHERE by your group):
polkit.addRule(function (action, subject) {
if (action.id == "org.freedesktop.consolekit.system.restart" ||
action.id == "org.freedesktop.consolekit.system.stop"
&& subject.isInGroup("PUTYOURGROUPHERE")) {
return polkit.Result.YES;
}
});
For those who have working suspend/resume:
polkit.addRule(function (action, subject) {
if (action.id == "org.freedesktop.consolekit.system.suspend"
&& subject.isInGroup("PUTYOURGROUPHERE")) {
return polkit.Result.YES;
}