Comment 51 for bug 76632

Revision history for this message
Jamie Lokier (jamie-shareable) wrote : Re: screen does not unlock after locking

I'm afraid it is not properly fixed in 2.17.7-0ubuntu2.

When the X session is started from GDM, it probably works. (I've seen it lockup, but I suspect that was before I picked up 2.17.7-0ubuntu2).

However, when the X session is started using 'startx' (which starts the X server then runs 'dbus-launch gnome-session'), the screensaver still locks up as described. I guess it's looking for the GDM socket, and still locks up when it can't find it?

If so the more sensible fix is not to hang if the socket can't be found. :-)

I use 'startx' on my laptop sometimes, because the external monitor requires a different X server command line than the laptop's panel. But anyway, 'startx' should work, and everything else Gnome-ish seems to be fine with it.

(Unfortunately, I can't even switch to a console VT and 'killall gnome-screensaver' to unlock when it hangs, because switching back to the X server fails to restore the graphic display. So I have to kill the X server and lose the session. But that's a different bug).