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/Xsession.d/90consolekit, it checks the environment variable XDG_SESSION_COOKIE is already set and will not create a proper CK session.
Try to `unset XDG_SESSION_COOKIE` before `startx` to see if suspend/hibernate works. ** Changed in: linux (Ubuntu) Status: New => Invalid -- [karmic] ubuntu fails to suspend/hibernate if the session is started from the terminal (startx) https://bugs.launchpad.net/bugs/415211 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs