You are not logged in.

#1 2013-10-04 16:03:20

bullno1
Member
Registered: 2012-10-20
Posts: 6

[SOLVED] Can't hibernate with xfce as normal user

Until recently, I can't hibernate using xfce menu as normal user. All other operations such as poweroff, reboot, logout... works.

When I tried systemctl:

> systemctl hibernate
Failed to issue method call: Operation not supported
Failed to issue method call: Access denied

"sudo systemctl hibernate" works

All other operations also works for normal user (without sudo).

When I checked CanHibernate:

>sudo dbus-send --system --print-reply  --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.CanHibernate
method return sender=:1.0 -> dest=:1.56 reply_serial=2
   string "na"

Which is totally not true since I could hibernate as root.
CanReboot, CanShutdown... returns "true".

As expected, this doesn't work:

> dbus-send --system --print-reply  --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Hibernate boolean:true
Error org.freedesktop.DBus.Error.Failed: Operation not supported

And of course, all other operations work, which is confusing.

Package versions:

> pacman -Q xfwm4 xfdesktop xfce4-session xfce4-power-manager systemd slim polkit
xfwm4 4.10.1-1
xfdesktop 4.10.2-1
xfce4-session 4.10.1-3
xfce4-power-manager 1.2.0-5
systemd 208-1
slim 1.3.6-1
polkit 0.112-1

Any ideas what's wrong? Thanks in advance.

Last edited by bullno1 (2013-10-05 05:57:20)

Offline

#2 2013-10-04 17:19:13

qr
Member
Registered: 2013-04-23
Posts: 7

Re: [SOLVED] Can't hibernate with xfce as normal user

Hey,

I experienced the same problem after todays update and after I downgraded systemd and systemd-sysvcompat to 207-5 it's working again.
I still have to figure out what changed, but it's a temporary fix. Hope it helps.

Offline

#3 2013-10-04 20:21:12

root
Member
From: 127.0.0.1
Registered: 2012-04-13
Posts: 297

Re: [SOLVED] Can't hibernate with xfce as normal user

As far as I see you are using polkit with XFCE, are you aware that recent updates (03/09 in my pacman log) established that polkit would not autostart anymore but in GNOME Flashback?

You might want to make sure polkit is running (not only installed) and consider switching to lxpolkit which is suggested as a lightweight alternative which will start automatically with DEs such as XFCE.


\(o_X)/
                        'Cause I wanna be an Archy - An Archy in the UK // Sex Pistols

Offline

#4 2013-10-05 05:56:45

bullno1
Member
Registered: 2012-10-20
Posts: 6

Re: [SOLVED] Can't hibernate with xfce as normal user

qr wrote:

Hey,

I experienced the same problem after todays update and after I downgraded systemd and systemd-sysvcompat to 207-5 it's working again.
I still have to figure out what changed, but it's a temporary fix. Hope it helps.

Thanks. Downgrading seems to fix it.

root wrote:

As far as I see you are using polkit with XFCE, are you aware that recent updates (03/09 in my pacman log) established that polkit would not autostart anymore but in GNOME Flashback?
You might want to make sure polkit is running (not only installed) and consider switching to lxpolkit which is suggested as a lightweight alternative which will start automatically with DEs such as XFCE.

It is running. Thanks for the suggestion about lxpolkit. I'll check it out.

Offline

#5 2013-10-31 06:59:56

rkitover
Member
Registered: 2013-10-31
Posts: 1

Re: [SOLVED] Can't hibernate with xfce as normal user

It's now almost a month later, and the problem still exists with the current systemd packages.

I've downgraded to 207-5 of systemd and systemd-compat from ARM and added them to IgnorePkgs in pacman.conf and it fixed the problem, I can now hibernate, and I think some other problems on my systems were fixed by this as well, but it would be nice if the actual problem would be fixed.

I tried installing lxpolkit but that did NOT fix the problem.

If I can help in any way, let me know please.

Offline

#6 2013-11-10 19:26:14

duebbert
Member
Registered: 2013-11-10
Posts: 1

Re: [SOLVED] Can't hibernate with xfce as normal user

Ran into this problem too and enabling the GNOME services on startup fixed it without downgrading anything:

Settings->Session and Startup->Advanced->[x] Launch GNOME services on startup

Offline

#7 2013-11-19 05:26:38

Tasqa
Member
Registered: 2012-04-27
Posts: 14

Re: [SOLVED] Can't hibernate with xfce as normal user

So I'm having the same issue here. I checked the option to start gnome services on startup but to no avail.
Is there a way to check whether or not those services are actually running? Because I have no idea which "services" it needs or provides.

Offline

#8 2013-11-19 14:25:18

bullno1
Member
Registered: 2012-10-20
Posts: 6

Re: [SOLVED] Can't hibernate with xfce as normal user

duebbert wrote:

Ran into this problem too and enabling the GNOME services on startup fixed it without downgrading anything:

Settings->Session and Startup->Advanced->[x] Launch GNOME services on startup

I tried that and still have the same problem

Offline

#9 2013-12-06 11:18:19

despairblue
Member
From: Germany
Registered: 2008-01-14
Posts: 19

Re: [SOLVED] Can't hibernate with xfce as normal user

duebbert wrote:

Ran into this problem too and enabling the GNOME services on startup fixed it without downgrading anything:

Settings->Session and Startup->Advanced->[x] Launch GNOME services on startup

What does this start in particular? I have the same problem but use i3 so I'd have to start the GNOME services by command line to see if it fixes the issue (to be honest I hope it won't, why would I need gnome services to use systemds power management?).

Last edited by despairblue (2013-12-06 11:18:36)

Offline

#10 2013-12-11 09:07:41

mezcal
Member
From: Czech Republic
Registered: 2006-01-31
Posts: 67
Website

Re: [SOLVED] Can't hibernate with xfce as normal user

I use xfce. Starting GNOME services did not help me.

Do you use swap partition or swapfile?

Offline

Board footer

Powered by FluxBB