Am Donnerstag, 15. Mai 2014, 02:30:20 schrieb Michael Biebl:
> Am 13.05.2014 22:13, schrieb Michael Biebl:
> > The following assumes you run policykit 0.105
> > 
> > Am 13.05.2014 09:57, schrieb Martin Steigerwald:
> >> merkaba:/etc/polkit-1> cat
> >> ./localauthority/50-local.d/org.freedesktop.upower.pkla
> >> [Suspend/hibernate permissions]
> >> Identity=unix-group:sudo
> >> Action=org.freedesktop.upower.hibernate;org.freedesktop.upower.suspend
> >> ResultAny=yes
> >> ResultInactive=yes
> >> ResultActive=yes
> >> 
> >> does not have any effect on this.
> > 
> > You are using the wrong Action here.
> > See /usr/share/polkit-1/actions/org.freedesktop.login1.policy. What you
> > are looking for is
> > org.freedesktop.login1.hibernate-multiple-sessions
> 
> I've also forwarded this to
> http://lists.freedesktop.org/archives/systemd-devel/2014-May/019175.html

Thanks for forwarding.

I tried:

merkaba:/etc/polkit-1> cat 
./localauthority/50-local.d/org.freedesktop.upower.pkla
[Suspend/hibernate permissions]
Identity=unix-group:sudo
Action=org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=yes
ResultInactive=yes
ResultActive=yes

And this seems to work with two full KDE sessions open with one containing a
with an SSH session to some server.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to