Bug#503085: gdm: suspend from login screen does not work

Tim Richardson tim at tim-richardson.net
Wed Oct 22 12:51:20 UTC 2008


On Wed, 2008-10-22 at 14:25 +0200, Josselin Mouette wrote:
> Le mercredi 22 octobre 2008 à 23:13 +1100, Tim Richardson a écrit :
> > Package: gdm
> > Version: 2.20.7-3
> > Severity: normal
> > 
> > After logging out, I have an Options button which includes suspend as
> > an option. Choosing suspend gives me a dialog asking me to confirm my
> > choice.
> > However, the computer does nothing.
> 
> > ii  uswsusp                       0.8-1.1    tools to use userspace software su
> 
> What happens if you run s2ram as root, by hand?
> 
> Thanks,
s2ram doesn't work. s2ram --force also doesn't work. It's not a
permission problem. The error is "machine not found".

However, the laptop happily suspends either with the hotkey, or when
invoked from gnome (ie by power settings, or from system->shutdown and
then choosing suspend).

I have the same situation on a sid desktop. It suspends great via gnome,
but once again, not via s2ram (it never suspended when I was using
Ubuntu 8.04, so I am delighted about this).

I have tried hard but I've never understood how gnome does suspend.
If I could work that out, could I configure gdm to call an alternate
script?

When I look at /usr/share/pm-utils/defaults
I see that everything is commented out; the comments in file indicate
that this means the kernel is managing suspend. 








More information about the pkg-gnome-maintainers mailing list