hibernate doesn't work from gdm itself

Bug #3642 reported by agro1986
54
Affects Status Importance Assigned to Milestone
Baltix
Invalid
Undecided
Unassigned
gdm (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

On the GDM, pressing F10 (which pops a menu on the textbox) and then choosing "Suspend" or "Hibernate" does nothing. I'm using a desktop system which supports S3 standby on windows xp (I was expecting "suspend" to bring the computer to s3.)

Changed in gdm:
assignee: nobody → gnome
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Hmm. Might be interesting to know what graphics card you have and whether using the suspend options presented in the logout box of GNOME make any difference.

Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

same here. Using suspend from the gnome menu works, but from GDM no go. This is on dapper.

Revision history for this message
Matthew East (mdke) wrote :

Confirming this: I see it too. Both suspend and hibernate from the gdm menu don't have the required effect. Suspend and hibernate works fine using the function keys on my laptop, the gnome-panel buttons and from gnome-power-manager. Instead, if I try from gdm, it just gives me "authentication failed", as if it has tried to login.

Changed in gdm:
status: Unconfirmed → Confirmed
Changed in gdm:
assignee: gnome → desktop-bugs
Revision history for this message
Sebastien Bacher (seb128) wrote :

Would be nice to look on that before dapper

Revision history for this message
Florian Boucault (fboucault) wrote :

Confirmed here too.

Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

This is a blocker bug to my mind. For an 'enterprise-ready' distro, any exposed features should just work (tm). If it can't be fixed, the options to suspend/hibernate should be removed from the GDM menu. Otherwhise the credibility of Ubuntu is immediately undermined when someone tries it.

Revision history for this message
Alexandre Otto Strube (surak) wrote :

Is this related to the fact there is no root account on ubuntu?

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 3642] Re: Suspend does nothing

No.

Revision history for this message
Paxdfgb (ne234234) wrote : Re: Suspend does nothing

I'm also having a similar bug, sleep just wakes up directly, the screen just goes out then it starts again, Hibernate works but getting out of it doesn't

Revision history for this message
Athurva Gore (agore187) wrote :

Could this be related to the 'gdm' user not having priviledges to suspend or hibernate, perhaps? I'm not sure...

In any case, can we temporarily remove suspend and hibernate from the GDM menu?

Revision history for this message
Hezekiah Carty (hez) wrote :

I can confirm this on my system as well - I have a fresh Dapper Beta+updates install, and while sleep/hibernate work wonderfully from within Gnome and/or using the /etc/acpi/* scripts, selecting either option from GDM does nothing.

Revision history for this message
zerwas (zerwas) wrote :

Same problem here. It already has worked in an early state of dapper. Now the sleep.sh comes to this point:
echo -n standby >/sys/power/state
bash: echo: write error: Die Ressource ist zur Zeit nicht verfügbar
(means that the ressource isn't available)

Revision history for this message
SonWon (jtmitche) wrote :

I have a Mitac 8355 and the hibernate and suspend both do not work. Laptop shuts down but starts up normally instead of going back to previous screens.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I can confirm this on Dapper Beta 2. I tried to (s)trace the gdmgreeter and it is for sure not trying to fork anything.

SonWon and Ferrat, you have some other problems, see for instance bug #42299.

description: updated
Revision history for this message
SonWon (jtmitche) wrote : Re: Suspend (or hibernate) does nothing

I checked bug #42299 and it doesn't appear to be the same because my swap file is not corrupted. At least it is still being mounted according to Disk Manager?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

SonWon, please file a new bug for your issue, where you include more information on your hardware.

This bug is not about problems with suspend and hibernation, solely that the choices in the menu in the GDM greeter do not work.

Revision history for this message
Andrew Jorgensen (ajorg) wrote :

For myself it appears that suspend works but hibernate gives the "authentication failed" message as Matthew East notes. I agree with Jos Dehaes that any exposed feature ought to work. I'm not sure I'd call it a blocker but I do think this is a major bug. The devs are welcome to disagree with me of course.

My use case is that I'd like to use hibernate so that it doesn't take so long to boot but if my wife is the next one to use the laptop after me she ought to be presented with a login screen like she's used to. I'd say that the "switch user" functionality would be fine but my laptop doesn't have enough ram to make that really practical.

In any case if it can't be fixed it should be disabled before dapper releases.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

There are two ways of doing suspend to ram (seemingly). One way (standby) is fairly common but doesn't save much power. The other way (ram) is not so common but saves more power. By default dapper defaults to ram.

See line 8 of /etc/default/acpi-support for further details.

Revision history for this message
SonWon (jtmitche) wrote :

Just an FYI, shutdown and suspend is still a problem on my laptop after upgrading the kernel and installing all of the newest updates as of today, 5:30 PM EST.

Revision history for this message
Sean Kennedy (sean-worker) wrote :

From gdm I get the "authentication failed" message as well, but I can hibernate from my log in.

Revision history for this message
Lee.Tambiah (flossgeek) wrote :

Im running dapper with full updates, on an IBM Thinkapd R50e.

FROM THE GDM:

Suspend:- Shutsdown into sleep mode correctly and appears to start up after pressing a key but the display remains blank.

Hybernate:- Requests Confirmation Dialogue box but clicking hibernate does nothing.

FROM GNOME DESKTOP

Suspend:- Does same as GDM above

Hybernate:- Goes to hybernate but then comes back on with user/password dialogue box and screensaver.

Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

Suspend from GDM is fixed for me now (tried 2 times - both perfect). Hibernate still gives "authentication failed" message, and does nothing.

Both work from the gnome menu and gnome-power.

Revision history for this message
David M. Carney (carney1979) wrote :

Using a Compaq Desktop 64 bit system, Model SR1750NX. This computer has onboard ATI graphics and 1 gig ram (shared with the video card). The fglrx driver from the Ubuntu repositories is being used.

This computer will suspend successfully from Windows XP.

When Hibernate is selected from the Logout box, or Suspend or Hibernate is selected from GDM, the screen goes dark, but the computer is locked up. I literally have to unplug the machine (no reset button) and plug it back in to regain control of it. I can also put the computer in Hibernation with the Hibernate button on the keyboard, but this results exactly as with GDM or the Logout box.

When I Hibernate with Windows XP, the screen goes dark and the green power light on the front of the case flashes.

With Ubuntu, it's like the computer starts to go into Hibernation, but then something stops it from going all the way into Hibernation.

System is fully updated as of 5/31/06.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

David:

I think your bug is subtely different to the one described here. If you wish to follow up on it I would suggest filing a seperate bug report. It is probably worth testing your machine with the fglrx drivers completely removed (perhaps by blacklisting the driver). This will let your rule out your binary driver as the cause of the problem.

Revision history for this message
Byeong-Taek Lee (btlee) wrote :

I confirm this bug.
Suspend works nothing, hibernate generates authentification error.
This bug happens on ppc as well as x86.

Revision history for this message
Oddvar Kvernevik (oddvar-kvernevik) wrote :

I have HP omnibook 500 laptop. Hibernate Ubuntu 6.06 does not function in most cases (but sometimes). Only bring up the logon screen

Revision history for this message
Vassilis Pandis (pandisv) wrote :

The hibernation part of the bug is still an issue with edgy, tested on a whitebox laptop. I'm not sure if the suspend issue I see is this or another problem. Thanks.

Revision history for this message
ChrisW (ubuntubugs-thewests) wrote :

I just upgraded to the new gdm package (v2.14.10) that appeared today in dapper-updates
and I can confirm the suspend functionality is now working for me from the gdm login screen.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the comment, marking as fixed then, the changelog points it:
" - Fix decoding of suspend message in the daemon so the suspend
       command works."

Changed in gdm:
status: Confirmed → Fix Released
Revision history for this message
Peter Meiser (meiser79) wrote :

I also can confirm that suspend is working with gdm 2.14.10.

But hibernate is still failing with "authentication failed".

Revision history for this message
SonWon (jtmitche) wrote :

FYI, I can confirm GDM 2.14.10 did NOT fix my suspend problems. See bug #46680.

Revision history for this message
Yleeyas (yleeyas) wrote :

Confirmed (sort of). Looks like gdm 2.14.10 fixed my suspend problem (see https://launchpad.net/distros/ubuntu/+source/gdm/+bug/50703)
I don't normally hibernate, but when I tried it (from the login options menu) I get the "authentication failed" message as mentioned above.

Yleeyas

Revision history for this message
Stephen Shirley (kormat) wrote :

I'm also using gdm 2.14.10-0ubuntu1, suspend works fine from gdm, but hibernate gives me the "authentication failed" error.

Revision history for this message
Sam (cpscsam) wrote :

When logged in hibernate works, starts up with a prompt w/ the ability to switch users.

Suspend from gdm appears to do very little, monitor shuts off, HD light flashes.

Hibernate gives an authentication failure.

--

As suggested, we can remove hibernate from gdm, but suspend seems to function.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

I am reopening the bug since I can also confirm the authentication error issue.

Revision history for this message
Vassilis Pandis (pandisv) wrote :

I'm on edgy.

Changed in gdm:
status: Fix Released → Confirmed
Revision history for this message
Mikko Saarinen (mikk0) wrote :

Same here, suspend works, but hibernate doesn't.

Revision history for this message
Andrew (notalk389) wrote :

Both on my machine do not work. Hibernate, I get "Authentication failed. Letters must be typed in the correct case" and I did not type anything in. In suspend I get a white screen then it just returns to the login screen.

Revision history for this message
Andrew (notalk389) wrote :

^ I'm on Edgy.

Revision history for this message
Sebastien Bacher (seb128) wrote :

not right priority, that never worked from gdm itself

Changed in gdm:
importance: High → Low
Revision history for this message
Andrew Jorgensen (ajorg) wrote :

I'm not sure I understand why the longevity of the bug should influence it's priority. I'd like to understand. Would you mind explaining? Bug #1 has been true since way before gdm even existed and it's marked "Critical." :)

Also, if you're saying that it's not going to get fixed then you should at least remove the option from gdm's menus. Advertising features that don't work makes software look bad.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Andrew, I think the policy is to use "high" only for regressions or major break of functionality. And nobody is saying it's not going to be fixed. But I generally agree with you, it should at least be "normal" and targeted for 6.10 IMO. I guess the developers are reluctant to remove the menu entry at this point in beta, because if it later/soon gets fixed in an update, putting back a menu entry will introduce a new GUI element and documentation will have to be changed and so on. Welcome to software buracrazy :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

The importance change is not because the bug is present for some time, it's because the feature didn't work before so that's not a regression.

I've updated the hibernation patch, could anybody having the issue give it a try? The updated patch can be downloaded from http://people.ubuntu.com/~seb128/11_powermanagement.patch (edgy) if you want to rebuild a package with it, or an edgy amd64 build http://people.ubuntu.com/~seb128/gdm_2.16.1-0ubuntu3_amd64.deb

Revision history for this message
Sebastien Bacher (seb128) wrote :

note that the package is supposed to fix the menu item, not make hibernate work on box where it didn't work before (if it doesn't work from the GNOME dialog it'll probably make not work from gdm)

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I tried the patch, and it works - I can now hibernate from the gdm login menu, whereas before it did not work.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

There is an edgy i386 build with the patch included here:
http://tormod.freeshell.org/linux/gdm/gdm_2.16.1-0ubuntu2_i386.deb

Revision history for this message
Sebastien Bacher (seb128) wrote :

Fixed with this upload:

 gdm (2.16.1-0ubuntu3) edgy; urgency=low
 .
   * debian/patches/11_powermanagement.patch:
     - updated to make hibernate work from the login screen too (Ubuntu: #3642)

Changed in gdm:
status: Confirmed → Fix Released
Revision history for this message
Id2ndR (id2ndr) wrote :

I can see same behaviour in gutsy, wheras the bug was fixed, according to previous post.

Look at bug #139302 and say if it's the same or not (in gutsy).

Revision history for this message
Tormod Volden (tormodvolden) wrote :

In Gutsy, I don't have the "Hibernate" option in the gdm menu any longer. And Suspend does nothing*. Both work fine once I am logged in. Both are enabled in /etc/default/acpi-support.

*) from syslog: gdm[6249]: WARNING: Request for configuration key daemon/SuspendCommand=, but not type STRING

Revision history for this message
Bartek Celary (karaphka) wrote :

No hibernate/sleep available in gdm, but once logged in they do exist and work OK.

I am on Jaunty.

This laptop PC was upgraded from previous releases.

The desktop PC I have was reinstalled with Jaunty and the hibernate/sleep buttons do show up (nevermind they do not work properly due to nvidia card - but that's not the problem here :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.