You are not logged in.
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
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
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
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.
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
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
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
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
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
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
I use xfce. Starting GNOME services did not help me.
Do you use swap partition or swapfile?
Offline