Author: Boruch Baum Date: To: dng Subject: Re: [DNG] suspend
On 04/12/2016 01:32 AM, Mitt Green wrote: > Boruch Baum wrote:
>
>> I don't yet have a working solution for 'switch-users',
>> 'shutdown', or 'restart'.
>
> Try these: Thanks, Mitt. I had tried those earlier (along with the parallel actions
ending with "-multiple-users", to no avail. However, I put them all in
the same file as the org.freedesktop.upower.hibernate and .suspend
actions. I'll try them in their own file now, though I'm dubious that
should make a difference.
> create /etc/polkit-1/localauthority/50-local.d/consolekit.pkla and with 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
>
> ----------