Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 592826 - xfce-base/xfce4-session needs new version / patch to fix Suspend/Hibernate
Summary: xfce-base/xfce4-session needs new version / patch to fix Suspend/Hibernate
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-03 22:02 UTC by haarp
Modified: 2016-09-15 05:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2016-09-03 22:02:57 UTC
xfce4-power-manager-1.4.4 has been removed from the Portage tree, so everyone should have -1.5.0+. This forces everyone to switch from upower-pm-utils to upower. As a consequence, Suspend/Hibernate through xfce4-session breaks (test with xfce4-session-logout --suspend)

To fix this, a newer version of xfce4-session is necessary, one that at least includes this and related commits: https://git.xfce.org/xfce/xfce4-session/commit/?id=6c22291566f055d7da3f72708a20bb13e49c0028

At the same time, the upower useflag can be dropped.


Also see https://forums.gentoo.org/viewtopic-p-7961748.html
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-09-04 07:36:34 UTC
Could you elaborate a bit on what this patch does? It seems to remove stuff, so it's weird for a fix. Does this code prevent suspend/hibernate from working?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-09-04 07:49:26 UTC
Looks like I'm going to wait for a release then ;-D.
Comment 4 haarp 2016-09-04 07:51:36 UTC
I would agree, if it wasn't for the fact that right now the Suspend/Hibernate buttons on the logout dialog are broken for everyone :(
Comment 5 Jason Zaman gentoo-dev 2016-09-05 09:53:23 UTC
what versions of xfce4-power-manager, consolekit, pm-utils, upower, upower-pmutils, xfce4-session do you have installed?

Suspend worked for me last I checked with the latest versions, will double check in a bit.
Comment 6 haarp 2016-09-05 09:58:26 UTC
(In reply to Jason Zaman from comment #5)
> what versions of xfce4-power-manager, consolekit, pm-utils, upower,
> upower-pmutils, xfce4-session do you have installed?
> 
> Suspend worked for me last I checked with the latest versions, will double
> check in a bit.

sys-power/pm-utils-1.4.1-r6
sys-power/upower-0.99.4
sys-auth/consolekit-1.1.0
xfce-base/xfce4-power-manager-1.6.0
xfce-base/xfce4-session-9999 (from xfce-dev, this one works)
sys-power/upower-pm-utils not installed

xfce4-power-manager-1.4.4 used to work with upower-pm-utils, xfce4-power-manager-1.5.0 requires plain upower, which broke xfce4-session for me.

Remember to log out and back in when testing a new version of xfce4-session.
Comment 7 Jason Zaman gentoo-dev 2016-09-15 05:41:44 UTC
(In reply to haarp from comment #6)
> sys-power/pm-utils-1.4.1-r6
> sys-power/upower-0.99.4
> sys-auth/consolekit-1.1.0
I have consolekit-9999

> xfce-base/xfce4-power-manager-1.6.0
> xfce-base/xfce4-session-9999 (from xfce-dev, this one works)
I have xfce-base/xfce4-session-4.12.1-r1

> sys-power/upower-pm-utils not installed

The other packages are all the same as yours and suspend works fine for me. I don't have hibernate at all so cant test that but should be the same as suspend.

Looking through those commits you linked they are mostly about updating to a new dbus library but the calls themselves are about the same. one of the later ones drops upower completely too so I don't see how that would help. suspending is supposed to go through consolekit2 which calls the right things so xfce4-session isn't that important.

What does ck-list-sessions show for you when logged in to xfce?