1

When I click on "Hibernate" (S3) (in German it is: "Ruhezustand") in the LogOff Screen in Lubuntu 14.04.3 LTS I got this error.

GDBus.Error:org.freedesktop.DBus.Error.AccessDenied

How can I solve this to use the hibernation-mode?

sudo pm-hibernate work without problems.

buhtz
  • 165

1 Answers1

3

With reference to : lxsession/+bug, this seems to be a bug.

There is a similar question in Ask Ubuntu here.

Test if hibernate works.

Open a terminal and run:

sudo pm-hibernate

If the hibernate test works, you can continue to use the sudo pm-hibernate command when you want tohibernate.

You can also enable the hibernation option in the menu.

Create the file :

/etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla

Add the following lines:

[Re-enable hibernate by default]
Identity=unix-user:*
Action=org.freedesktop.login1.hibernate
ResultActive=yes

Save and exit.

Ravan
  • 9,379
  • systemd-shim is still installed. Are you sure about /etc/pam.d/lxdm? It doesn't exist. But /etc/pam.d/lightmd exists. I added the line there. And for testing I created lxdm and added the line there, too (as root of course). Doesn't work. The problem is still the same. – buhtz Oct 14 '15 at 10:49
  • systemd doesn't work in 14.04. – buhtz Oct 14 '15 at 14:05
  • @buhtz does it working in terminal sudo pm-hibernate ? – Ravan Oct 14 '15 at 14:08
  • The [Re-enable hibernate by default] worked fine. Thanks! – buhtz Oct 15 '15 at 15:51