Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-06-09 08:37:31

networm
Member
Registered: 2016-06-09
Posts: 7

Problem with hibernate

I have a problem with hibernate on notebook Thinkpad R61i with Xfce4 (laptop-mode-tools, pm-utils): when i run pm-hibernate or use hardware buttons everything works good, but when I press Menu -> Exit -> Hibernate (Suspend to disk, I don't know actual menu name, my system language is not English) just after wake up system going to hibernate again. So I have to power up twice. What could be a problem?

Offline

#2 2016-06-09 12:02:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: Problem with hibernate

Hello and welcome.

Which distro and which version of Xfce are you running? Is the "Menu" an Xfce plugin or application?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2016-06-09 13:41:33

networm
Member
Registered: 2016-06-09
Posts: 7

Re: Problem with hibernate

Hi, thank you for answer. Distro is Gentoo x64, menu is xfce4-panel application menu. I'm sorry, menu item is actually 'Log Out' (as in the screenshot below).
APGh3.png

Last edited by networm (2016-06-09 13:43:57)

Offline

#4 2016-06-09 14:11:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: Problem with hibernate

Does gentoo ship with and/or are you using systemd?

Does the command:

xfce4-session-logout -s

...also result in a double-suspend?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2016-06-09 14:30:37

networm
Member
Registered: 2016-06-09
Posts: 7

Re: Problem with hibernate

ToZ wrote:

Does gentoo ship with and/or are you using systemd?

No, gentoo uses OpenRC by default (so do I).

ToZ wrote:

Does the command:

xfce4-session-logout -s

...also result in a double-suspend?

No,

xfce4-session-logout -s

works fine, but

xfce4-session-logout--hibernate

do.

Last edited by networm (2016-06-09 14:31:17)

Offline

#6 2016-06-10 00:06:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: Problem with hibernate

So, does running "xfce4-session-logout -s" work fine? No double suspend?

And what exactly happens when you try with --hibernate?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2016-06-10 06:58:02

networm
Member
Registered: 2016-06-09
Posts: 7

Re: Problem with hibernate

Sorry for my english sad.
"xfce4-session-logout -s":  work fine.
"xfce4-session-logout --hibernate": double suspend (same as LogOut -> Hibernate).

Offline

#8 2016-06-10 16:10:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: Problem with hibernate

What happens if you run:

pm-hibernate

...this would rule out Xfce altogether.

Also double-check your laptop-mode-tools configuration and/or disable it completely to rule it out.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2016-06-11 08:23:43

networm
Member
Registered: 2016-06-09
Posts: 7

Re: Problem with hibernate

pm-hibernate works fine.
I removed laptop-mode-tools, but nothing has changed.
I also reinstalled xfce4-power-manager and xfce4-panel, but nothing has changed too.

Offline

#10 2016-06-11 13:40:23

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: Problem with hibernate

Given that "pm-hibernate" works fine and the built-in "xfce4-session-logout --hibernate" does not, you may have found a bug. Unfortunately, I can't test hibernate on my system and am unable to confirm this for you.

Have been able to get independent confirmation from another gentoo Xfce user (maybe via the gentoo forums) that this problem exists with other users? If so, it might then be best to create a bug report against xfce4-session to see what the developer says.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2016-06-11 14:08:01

networm
Member
Registered: 2016-06-09
Posts: 7

Re: Problem with hibernate

Thank you for help. Today I will install gentoo + xfce4 on my home pc and check it there.

Offline

#12 2016-06-12 11:20:09

networm
Member
Registered: 2016-06-09
Posts: 7

Re: Problem with hibernate

On fresh desktop install everything works perfectly. That means problem is in laptop configuration, but how to know what causes such behaviour?

Offline

#13 2016-06-12 12:10:24

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,006

Re: Problem with hibernate

Since this is not an issue with Xfce, perhaps posting your issue and setup information at the gentoo forums will get you more gentoo-specific assistance in locating the issue.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB