Doesn't unlock when coming back from the greeter

Bug #1291088 reported by Sebastien Bacher
106
This bug affects 19 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Andrea Azzarone
unity (Ubuntu)
Fix Released
High
Andrea Azzarone

Bug Description

Using the new unity-lock-screen from the current candidate version:
- run unity on a system with multiple users
- click on another user in indicator-session

-> the greeter is displayed with that user selected, so you can type the password to log in

- select back your user and enter the password to unlock the session

-> what happens: the session is unlocked then locked again just after that
-> what should happen: the session should stay unlocked

Tags: lockscreen

Related branches

Changed in unity:
importance: Undecided → High
Changed in unity (Ubuntu):
importance: Undecided → High
tags: added: lockscreen
Changed in unity:
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
Revision history for this message
Andrea Azzarone (azzar1) wrote :

@seb128 can you reproduce this bug all time? Seems fine here.

Revision history for this message
Sebastien Bacher (seb128) wrote :

yes, but only by picked another user in the indicator-session from my session

Changed in unity:
milestone: none → 7.2.0
Revision history for this message
Evan Boldt (echowarp) wrote :

I was going to make a new report, but I am almost positive that this is the same issue but with a different trigger.

My computer is only a single user, but sometimes when I unlock the screen from being inactive, a new lock screen pops up seconds after unlocking.

Procedure:
Since I upgraded to the developer version I have had this issue several times. I leave the computer unattended overnight. The power settings are not configured to allow the computer to go to sleep. When I come back, I log into the lock screen and it unlocks. I can interact with the desktop for a few seconds before the screen turns black for a few second and a lock screen pops up again. Shorter durations of inactivity-triggered "locked" time do not seem to replicate this behavior.

I do not really know where to look to gather more information.

Revision history for this message
Anton Yakutovich (dr-akulavich) wrote :

I've got one user.
If I lock screen by Ctrl+Alt+L and then login back, everything is OK.
But if some time took after locking, then I shold login twice.

Revision history for this message
Tim Penhey (thumper) wrote :

I have two users on my laptop, in an attempt to have different sessions for different work.

Switching from one user to another takes me to the greeter to enter my password, but when the new session starts, it immediately takes me to the new lockscreen and requests the password again. This is very annoying.

Andrea Azzarone (azzar1)
Changed in unity:
assignee: nobody → Andrea Azzarone (andyrock)
Changed in unity (Ubuntu):
assignee: nobody → Andrea Azzarone (andyrock)
status: Triaged → In Progress
Changed in unity:
status: Triaged → In Progress
Revision history for this message
Giovanni Mellini (merlos) wrote :

Same for me on a single user system.
Sometimes I have to unlock two times the lockscreen

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

This bug was fixed in the package unity - 7.1.2+14.04.20140328.1-0ubuntu1

---------------
unity (7.1.2+14.04.20140328.1-0ubuntu1) trusty; urgency=low

  [ Robert Ancell ]
  * Call pam_acct_mgmt and pam_chauthtok when unlocking screen (LP:
    #1296443)

  [ Stephen M. Webb ]
  * restart unity-panel-service for only the current session when
    restarting unity from the command line (LP: #777594)

  [ Brandon Schaefer ]
  * When we see an escape in lockscreen prompt, clear the password. (LP:
    #1292647)

  [ Andrea Azzarone ]
  * Fixes the double lockscreen when switching users. (LP: #1291088)

  [ Marco Trevisan (Treviño) ]
  * Tooltip, QuicklistView: use the decoration shadow radius for
    computing padding (LP: #1291407)
  * 02_unity_setup_text_scale_factor: actually make it working, copy the
    gnome value to unity (LP: #1298492)
  * IconRenderer: scale textures when loading them based on the current
    launcher scaling Add SVG textures for tiles and markers (thanks to
    Matthieu James) to replace .pngs, also make them themable. (LP:
    #1297588)
 -- Ubuntu daily release <email address hidden> Fri, 28 Mar 2014 10:16:02 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the update didn't fix the issue, reopening

"That fix didn't work...

Doing:
- log as your user
- use the indicator-session to start a guest session
- close that session (which brings you back to unity-greeter)
- type your password

That sends you back to a lockeed session :/ (that's using today's trusty landing, the new code is running since e.g "esc" is clearing the password entry)"

Changed in unity (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Actually I cannot reproduce the issue using the above steps.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have a locally hacked gnome-screensaver version again? ;-) (you tried with a guest session right?) Could you try with the archive version?

Revision history for this message
Michał Sawicz (saviq) wrote :

I still get it to lock after unlocking after a suspend :/

Revision history for this message
Giovanni Mellini (merlos) wrote :

The fix don't work for me too, I have a single account system with default configuration

Revision history for this message
Andrea Azzarone (azzar1) wrote :

Seb, yeah pretty sure it's a normal gnome-screensaver. Maybe just with different settings?

Changed in unity:
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Changed in unity:
milestone: 7.2.0 → 7.2.1
Changed in unity (Ubuntu):
status: Triaged → In Progress
no longer affects: gnome-screensaver
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.2.0+14.04.20140410-0ubuntu1

---------------
unity (7.2.0+14.04.20140410-0ubuntu1) trusty; urgency=low

  [ CI bot ]
  * GnomeSessionManager: impelement gnome session dbus interface and a
    fader to blank the screen (LP: #1291088)
  * ScreenSaverDBusManager: start/stop gnome-screensaver if we don't/do
    handle the locking This allows to just use the fallback gnome-
    screensaver lockscreen if we need to use it. (LP: #1303712)
  * Session: Don't lock the screen if screen locking is disabled by
    org.gnome.desktop.lockdown disable-lock-screen. (LP: #1292154)

  [ Andrea Azzarone ]
  * LockScreen: add ability to show without fading in on some system
    calls Also, if locking is not enabled, calling Lock causes the
    screensaver to be initiated. Many cleanups and misc fixes. (LP:
    #1292575)

  [ Marco Trevisan (Treviño) ]
  * LockScreen: add ability to show without fading in on some system
    calls Also, if locking is not enabled, calling Lock causes the
    screensaver to be initiated. Many cleanups and misc fixes. (LP:
    #1292575)
 -- Ubuntu daily release <email address hidden> Thu, 10 Apr 2014 12:45:15 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity:
status: In Progress → Fix Committed
Revision history for this message
Michał Sawicz (saviq) wrote :

Looks fixed to me!

Stephen M. Webb (bregma)
Changed in unity:
status: Fix Committed → Fix Released
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.