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.
沒有留言:
張貼留言