:: [DNG] After installation
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Paweł Cholewiński
Ημερομηνία:  
Προς: dng
Αντικείμενο: [DNG] After installation
Hi list,

after installation of Devuan 1.0 beta with dev1fanboy wiki
(https://git.devuan.org/dev1fanboy/Upgrade-Install-Devuan/wikis/home) I
must add configuration to enable hibernate, restart, shutdown and
suspend option (they are greyed). I use startx without session manager
to start XFCE4.

If someone would have a similar problem then:

1) create new file i.e. "consolekit.pkla" in
"/etc/polkit-1/localauthority/50-local.d/"

2) paste this content to newly created file:

[restart]
Identity=unix-user:<user>
Action=org.freedesktop.consolekit.system.restart
ResultAny=yes

[stop]
Identity=unix-user:<user>
Action=org.freedesktop.consolekit.system.stop
ResultAny=yes

[hibernate]
Identity=unix-user:<user>
Action=org.freedesktop.upower.hibernate
ResultAny=yes

[suspend]
Identity=unix-user:<user>
Action=org.freedesktop.upower.suspend
ResultAny=yes

3) Replace <user> to proper user name.


Regards,

Paweł