Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • I've found some mentions to suspend, add to my post. Tried moving login1.suspend-ignore-inhibit, <allow_active>auth_admin_keep</allow_active> to yes. I also your code, but stills return access denied without root rights. Also restarting polkit service. The issue seems to happen only with one user. Only found ~/.local/share/polkit-1/ without nothing interesting Commented Jul 1, 2023 at 5:38
  • what is output from grep -R -C 10 SuspendWithFlags /usr/share/dbus-1/system.d /etc/dbus-1/system.d Commented Jul 1, 2023 at 11:01
  • No output, nor with -i Commented Jul 1, 2023 at 18:35
  • I've updated the answer with a D-Bus policy file, does it work for you? Commented Jul 1, 2023 at 19:18
  • Also, the dbus policy file, which contains SuspendWithFlags, is part of systemd. If it's missing, your system may be corrupted. In this case, run debsums. Commented Jul 1, 2023 at 19:23