[SecurityRoadmap] sometimes resume from suspend doesn't ask for password, instead goes to straight to the desktop instead.

Bug #498694 reported by Cuco3
276
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-screensaver (Ubuntu)
Invalid
Undecided
Ubuntu Desktop Bugs

Bug Description

This happens twice or three times in a month. After resuming from suspend, Ubuntu goes straight to the desktop without asking for a password. It happens randomly. This bug was reported immediately after this happened so maybe you can determine what's the problem from these logs.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/yelp
NonfreeKernelModules: nvidia
Package: yelp 2.25.1-0ubuntu5
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: yelp
Uname: Linux 2.6.28-17-generic i686

Revision history for this message
Cuco3 (wadecounty) wrote :
Cuco3 (wadecounty)
visibility: private → public
affects: ubuntu → gnome-screensaver (Ubuntu)
Changed in gnome-screensaver (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in gnome-screensaver (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
status: Confirmed → Incomplete
Revision history for this message
Cuco3 (wadecounty) wrote :

I can't get it to reproduce, it truly is random. It'll occur about every 10-20th resume-from-suspend.

Revision history for this message
Cuco3 (wadecounty) wrote :

Do you think I should just try re-installing Gnome-Screensaver? I think it's worth a shot.

Revision history for this message
Cuco3 (wadecounty) wrote :

Anyone? Is un-installing Gnome-Screensaver safe or it like uninstalling Network Manager?

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

It's not worth re-installing it.

When you return from suspend and the screen isn't locked, is the gnome-screensaver process still running?
Does this happen if you set your screensaver to "blank screen"?

Revision history for this message
Cuco3 (wadecounty) wrote :

I'll try out your suggestions Marc. It hasn't happen recently. I'm wondering if it had something to do with GnomeDo's "Files and Folders" plug-in, which was sometimes causing suspend to fail. I fixed that problem and it hasn't happened since, but we'll see. I'll report back if there's any updates. Thanks.

Revision history for this message
Cuco3 (wadecounty) wrote :

OK nevermind, it happened again. Gnome-Screensaver was running after the computer was awoken from suspend. Next, I'll try setting my screen saver to "blank". Will report back if it happens again.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Has this happened again with the screensaver set to "blank"?

Revision history for this message
Cuco3 (wadecounty) wrote :

Yeah, it still didn't work.

I went ahead and did a fresh install (long story) and so far, so good. I'll report back.

Revision history for this message
Cuco3 (wadecounty) wrote :

Ok, I'm back, and it just happened again. Just thought I'd let you guys know. I don't have a screen saver on, just using the Power Management function for the monitor (6 minutes) and suspend (16 minutes).

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

How are you initiating suspend of the machine?

Revision history for this message
Cuco3 (wadecounty) wrote :

most of the time, when it has occurred, it was through the idle timer for power management. Other times, it was a "Sleep" button on my Microsoft Internet Keyboard.

Revision history for this message
Jeenu V (jeenuv) wrote :

I've faced this on and off. I don't know what triggers this behavior, but once it started I think it stays until the system is rebooted (not sure if rebooting solves this though). One more thing I've noticed happening with this is that, the "Lock screen" from menu doesn't work - I've to use Ctrl-Alt-L instead.

Also, when Ubuntu behaves normally, the Suspend sequence that I used see was the screen going blank first, followed by HDD activity and then going to sleep. Now, when I've this problem, I can see that my screen stays active, and volume tray icon has "x" overlay (muted), and then the screen goes blank followed by sleep. Later when I resume, it just directly goes to my desktop without asking for password! (`ps` says gnome-screensaver running)

Revision history for this message
Cuco3 (wadecounty) wrote :

I was able to solve my problem by upgrading to 9.10 Karmic Koala. It fixed a lot more problems I was experiencing and I highly recommend you upgrade, Jeenu V.

Revision history for this message
Jeenu V (jeenuv) wrote :

I'm already on Karmic I'm afraid (upgraded from Jaunty).

Revision history for this message
modulistic (modulistic) wrote :

I'd like to add that I have had this issue with gnome on karmic UNR 32bit and I am having it with karmic kubuntu 64bit. So perhaps this has nothing to do with gnome-screensaver but something at a lower level? As previous posters, I've been unable to figure out a pattern, this happens "sometimes". I am pretty concerned with this issue.

Revision history for this message
Jeenu V (jeenuv) wrote :

I too wanted to add that this behavior has become the default for me. I couldn't get my laptop to ask for password when it wakes up any more!

Revision history for this message
pauliebp (paulie-bpregistracija) wrote :

I am experiencing this issue on restart.

Revision history for this message
pauliebp (paulie-bpregistracija) wrote :

However I have to add that for me it is only a restart, switch on issue, it always asks for a password when returning from sleep.

Revision history for this message
pauliebp (paulie-bpregistracija) wrote :

It seems I have solved my case. As I am new to Ubuntu I do not know if this is the case in previous generations but under System -> Administration there is a Login screen setup utility where I had to remove login automatically selection. Silly, this sort of thing I believe should be under one menu along with the rest of security features.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Since the original reporter doesn't have this issue anymore, I am closing this bug.

If anyone else is having similar issues, please try Ubuntu 10.04 and file a new bug if there's still an issue.

Thanks.

Changed in gnome-screensaver (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Bert Regelink (bert-regelink) wrote :

I'm running Ubuntu Maverick Meerkat (10.10) installed on a USB pendrive. I experience this problem consistently, that is, I cannot get Ubuntu to prompt for entering a password after resuming a locked screen in any way.

By default the installation comes with a default user account 'ubuntu' without a password. I've created another user account with a password via the System -> Administration -> Users and Groups dialog, to make sure this behaviour is not a result of the (default) user account having no password configured. I've selected the "Lock screen when screensaver is active" checkbox in the Screensaver Preferences. I've tested waiting for the screensaver to become active (after 1 minute), and I've tested by manually locking the screen (Ctrl+Alt+L). None of the efforts resulted in the prompting of a password.

I've followed this tutorial to create the USB pendrive:
http://www.pendrivelinux.com/usb-ubuntu-710-gutsy-gibbon-install/

But used the ubuntu-10.10-desktop-i386.iso instead of 7.10. In step 17, some files/directories (disctree, ubuntu.ico, casper/initrd.gz --> casper/initrd.lz) in the 'cp' command-line had to be omitted or altered. After step 20 I had to modify the syslinux.cfg contained in U710fix.zip (renamed every instance of initrd.gz to initrd.lz).

I hope someone can follow the same tutorial in order to get the same environment, and verify the behaviour described.

summary: - sometimes resume from suspend doesn't ask for password, instead goes to
- straight to the desktop instead.
+ [SecurityRoadmap] sometimes resume from suspend doesn't ask for
+ password, instead goes to straight to the desktop instead.
Revision history for this message
Nathan Wittstock (milkandtang) wrote :

wanted to add to this thread; this has happened to me three or four times in 12.04 LTS 64-bit, running on a Lenovo T61. Each time it's happened after closing the laptop (which suspends it automatically), and then opening the lid 20–30 minutes later (which automatically resumes). This last time, I closed the lid, waited for the suspend light to come on steady, unplugged the power, and then resumed it about 25 minutes later.

This is a Lenovo T61 with an NVIDIA discreet graphics card (Quadro 140M), and I'm running the proprietary nvidia driver, version 295.40. All packages are up to date, as is all firmware on the notebook.

Please let me know what I can provide you that'll help track this down.

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

Other bug subscribers

Remote bug watches

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