[Bug 236176] x11/kde5: no consolekit session, no power off/reboot/hibernate options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 3 23:34:20 BST 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236176

--- Comment #12 from Adriaan de Groot <adridg at freebsd.org> ---
Based on a comment on the FreeBSD forums, this is the solution that works for
me:

```
root at beastie:~ # cat /usr/local/etc/polkit-1/rules.d/40-wheel-group.rules 
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});
```

(although this does much more than just allowing suspend/shutdown, so I don't
like it a whole lot)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list