Is there a universal (window manager independent) way to suspend ubuntu.

Asked by PorkCharSui

I've been trying to find a way to suspend our workstations. My findings so far are not good at all. Every window manager tries to fix power management themselves and all of them are doing a really bad job at it!

We offer a variety of window managers for our users and in none of them the suspend function works properly. A few of the things I've encountered so far:
- Trouble with NFS network mounts (looks resolved by enabling network manager(no new errors of yet)) (all wm's)
- Trouble witch black screens after suspend (workaround script available... switch tty before and after) (kde4, xfce4, gnome...)
- XFCE-power manager not running (xfce4--power-manager --no-daemon) (xfce4)
- Race condition with 'sssd' and pm-suspend. Machines comes out of suspend before 'sssd' is ready. Then you get your password prompt but 'sssd' is not ready so you get an authentication error and have to type your password again... and again...and again.... etc. until 'sssd' finnaly decides it's ready. (this setting might help or it might not, it hasn't really proved to work 4 me. krb5_store_password_if_offline = true) (all wm's)
- NVIDIA cards (just in general... if you have an NVIDIA card you can be sure there will be phunky stuff happening sometime somewhere) (all wm's)
- NVIDIA- and/or Nouveau-drivers (both work... sometimes... depending on: > your endless list here <) (all wm's)
- light-locker (purge if you want to live) (all wm's)
- Suspend in XFCE4 just does what it wants! Sometimes it suspends, sometimes it just makes a black screen, sometimes it only locks, often it doesn't lock. (xfce4)
- Xscreensaver. Claims to do power management, but doesn't. (all wm's)
- Networking! None of the wm's have networking properly enabled before coming out of suspend and anything I've tried to enable it before showing me a password prompt have failed so far. (all wm's)

So I hope you can appreciate my frustration with linux power management in general, because quite frankly... it sux d0nk3yb@||$! This post is a desperate attempt at finding (or maybe inspiring someone to create) a universal way of suspending Ubuntu (or even better linux machines in general).

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.