No login prompt when waking up the computer from suspend

Bug #1633751 reported by Hadrien
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lightdm (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ubuntu 16.10 x64.

  * I let my computer go to sleep.
  * Several hours later I wake it up.

Expected result: the lock screen is displayed, waiting for me to input my password.
Actual result: I am directly back to my desktop.

I verified that the option to ask for my password at wake up is correctly checked.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: lightdm 1.19.5-0ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
Uname: Linux 4.8.0-22-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Oct 15 18:34:14 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-10-14 (0 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Hadrien (psydk) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report!

I just let my computer suspend by running this command:

sudo pm-suspend

Wasn't prompted for password when wakening up the computer, which would confirm your observation.

However, I also tried:

sudo systemctl suspend

Then, when wakening up the computer, I was prompted for password as expected.

So this may be related to the upstart -> systemd transition.

Changed in lightdm (Ubuntu):
importance: Undecided → High
status: New → Confirmed
summary: - No login prompt when waking up the computer
+ No login prompt when waking up the computer from suspend
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hmm.. When suspending my computer through inactivity, I'm prompted for password. Same thing when suspending through the Suspend item in the System meny. So I can't reproduce the issue after all.

One question, @Hadrien, is if your computer successfully entered into suspend mode. Can you please check what happens if you run the command:

sudo systemctl suspend

Changed in lightdm (Ubuntu):
importance: High → Undecided
status: Confirmed → Incomplete
Revision history for this message
Hadrien (psydk) wrote :

'sudo systemctl suspend' works fine and I m prompted for my password on wake-up.

When I voluntarily ask the computer, it's ok too.

I tried to reproduce the same conditions than when the bug occurred: I was watching a flash video in my web browser, and flash does not disable screen power off nor sleep mode when a video is playing.

Unfortunately I did not reproduce the bug. If I encounter the bug again I will add more information here, hopefully I will find the conditions that led to the bug (I only saw it once but my Ubuntu 16.10 installation is fresh).

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for that info. If the issue isn't reproducible it's hard to deal with..

I let the status of this bug report remain "Incomplete". It means that it will be automatically closed in a couple of months if there is no further activity. Would you be able to reproduce the issue after that, please file a new bug.

Revision history for this message
Hadrien (psydk) wrote :

That's fine to me, Gunnar.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lightdm (Ubuntu) because there has been no activity for 60 days.]

Changed in lightdm (Ubuntu):
status: Incomplete → Expired
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.