when suspending during unlock attempt, screen is not locked on unsuspend

Bug #597071 reported by Eric Druid
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xscreensaver (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: gnome-screensaver

When computer is suspended during unlock attempt, after hitting enter but before actually being unlocked, the system is not locked on wake up.

My system suspends when my battery level is critical. So when I woke my computer it suspended again after a few seconds later, I had however had time enough to enter my password and hit enter before it suspended. Next time I woke my computer the screen was unlocked.

The expected behavior would be to not unlock the screen if a suspend/hibernate was performed during the unlock procedure.

Apport seems erroneously to have detected that my window manager is gnome while it is actually xfce4 (xubuntu setup), also my locked screen says XScreenSaver 5.10, not gnome-screensaver. I am unsure if this is a bug in apport or if things are just strangely labeled.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-screensaver 2.30.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Tue Jun 22 02:39:52 2010
GnomeSessionIdleInhibited: Unknown
GnomeSessionInhibitors: Failed to acquire
InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
SourcePackage: gnome-screensaver
Symptom: security
Title: Screen locking issue
WindowManager: gnome-wm

Revision history for this message
Eric Druid (eric-druid+ubuntu) wrote :
visibility: private → public
affects: gnome-screensaver (Ubuntu) → xscreensaver (Ubuntu)
security vulnerability: yes → no
Revision history for this message
Tormod Volden (tormodvolden) wrote :

For the apport issue, how did you run apport?

Revision history for this message
Eric Druid (eric-druid+ubuntu) wrote :

I ran apport on the command line:
% apport-bug
and then answered questions:
* Security related problem
* Other screen locking issue

I just recreated thees steps just now with the same result.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks. Would you be so kind as to file a bug on apport also please :)

I think the xscreensaver should have locked it again a second time when suspending. But I see there is a potential glitch if it is in the process of unlocking when the computer suspends. If you are able to reproduce, can you please check if xscreensaver is still running afterwards?

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

When you installed xscreensaver, did you remove gnome-screensaver? It is possible to have both screensavers installed at the same time.

Changed in xscreensaver (Ubuntu):
status: New → Incomplete
Revision history for this message
Eric Druid (eric-druid+ubuntu) wrote :

Tormod: Reproducing this bug is a bit tricky since it involves that xfce4-power-manager suspends the system due to low battery at precisely the right time.

Charlie: I did not remove gnome-screensaver from my system when I installed xscreensaver. I doubt that the fact that gnome-screensaver is installed in the system is relevant to this bug, it is more relevant to my bugreport on apport*.

* https://bugs.launchpad.net/bugs/602050

Revision history for this message
Eric Druid (eric-druid+ubuntu) wrote :

I have now reproduced this bug in a new install of xubuntu.

Kenyon Ralph (kralph)
Changed in xscreensaver (Ubuntu):
status: Incomplete → New
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here.

Thanks for confirming this is still an issue with a new installation.

Thanks for taking the time to make Ubuntu better!

Changed in xscreensaver (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Ian Nicholson (imnichol) wrote :
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

@ Ian Nicholson:
It seems highly unlikely that a bug in xscreensaver is related to a bug in Unity2d, which did not exist until Ubuntu 11.10. The original bug report for this was filed using Xubuntu 10.04. Since Xubuntu does not use Unity at all, these are most likely unrelated bugs.

---
Ubuntu Bug Squad volunteer http://wiki.ubuntu.com/BugSquad

Revision history for this message
Jarno Suni (jarnos) wrote :

Xubuntu 10.04 is no longer supported. Can you reproduce the bug in newer supported Xubuntu? Which? You could install newer screensaver from PPA
https://launchpad.net/~hda-me/+archive/ubuntu/xscreensaver

Xfce calls xflock4 before suspending, if set to lock in preferences. You may want to disable the setting and call 'sh -c 'xflock4 && xfce4-session-logout -s' instead. Does it make difference?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.