[karmic] ubuntu fails to suspend/hibernate if the session is started from the terminal (startx)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| consolekit (Ubuntu) |
Undecided
|
Unassigned | ||
| linux (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Ubuntu Karmic, with all upgrades.
When I login to the text terminal (Ctrl-Alt-F1) and start the GNOME session by "startx", then any attempt to hibernate/suspend result only with a locked screen. After unlocking the following error message shows up:
Menedżer zasilania: Sleep problem
Your computer failed to suspend.
Check the help file for common problems
[ translation: power manager: Sleep problem... ]
The problem does not show up if I login to GNOME from the kdm login directly.
description: | updated |
Katsudon (katsudon) wrote : | #2 |
Magically, after several restarts, the problem disappeared, at least for a moment. I am closing this bug, if the problem returns, it will be reopened.
Changed in null: | |
status: | New → Fix Released |
Changed in ubuntu: | |
status: | New → Invalid |
description: | updated |
summary: |
- [karmic] computer failed to suspend after todays upgrades + [karmic] ubuntu fails to suspend/hibernate if the session is started + from the terminal (startx) |
Changed in ubuntu: | |
status: | Invalid → New |
Changed in ubuntu: | |
status: | New → Invalid |
affects: | ubuntu → linux (Ubuntu) |
Katsudon (katsudon) wrote : | #3 |
@arky: why this bug was set to "Invalid"?
Changed in linux (Ubuntu): | |
status: | Invalid → New |
Abhinav Modi (abhinavmodi) wrote : | #4 |
This issue is still seen with the Karmic Beta release, on Lenovo T61. Please let me know if any logs/info are required.
Abhinav Modi (abhinavmodi) wrote : | #5 |
In addition to the above - my session is not started using startx, but normal graphical/gdm login.
Łukasz Czerwiński (milimetr88) wrote : | #6 |
I experience a very similar problem on Fujitsu Siemens laptop. I use only graphical login and know nothing about startx...
I also can't neither close system nor restart it! Choosing one of this options from menu results in just logout! The same when I login from gdm using root account (Ubuntu 9.10 Karmic).
Łukasz Czerwiński (milimetr88) wrote : | #7 |
Using:
/usr/lib/
and
/usr/lib/
works without any problems! (of course after su command on user account)
Keng-Yu Lin (lexical) wrote : | #8 |
This is not a kernel issue.
When login from the console, libpam-ck-connector will create XDG_SESSION_COOKIE. While you run `startx`, In /etc/X11/
Try to `unset XDG_SESSION_COOKIE` before `startx` to see if suspend/hibernate works.
Changed in linux (Ubuntu): | |
status: | New → Invalid |
no longer affects: | null |
This isn't a problem in Launchpad, so I've added an Ubuntu bug task for it.