restore desktop functionalies for: suspend, hibernate, switch-users, shutdown and restart
Upon installation of the default xfce4 desktop, buttons for suspend, hibernate, switch-users, shutdown and restart are not working. Solutions suggested on DNG here below:
The easy solution for suspend and hibernate is to create a pkla file i n folder /etc/polkit-1/localauthority/50-local.d with contents: [Allow locally logged in members of group 'power' to put the hardware in suspend mode] Identity=unix-user:* Action=org.freedesktop.upower.suspend ResultAny=no ResultInactive=yes ResultActive=yes [Allow locally logged in members of group 'power' to put the hardware in hibernate mode] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultAny=no ResultInactive=yes ResultActive=yes
Installing upower and libupower-glib1 from the devuan repos got the whole shebang working for me from the xfce panel and/or main menu.
(for Reboot and Shutdown) try these: create /etc/polkit-1/localauthority/50-local.d/consolekit.pkla and wit h the content: [restart] Identity=unix-user:* Action=org.freedesktop.consolekit.system.restart ResultAny=yes [stop] Identity=unix-user:* Action=org.freedesktop.consolekit.system.stop ResultAny=yes