Does not fail gracefully when lightdm isn't running

Bug #1336065 reported by Daniel Gnoutcheff
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
light-locker (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

To reproduce:
1) install gdm and use it as the display manager
2) install light-locker and xfce (another DE that uses light-locker would
   probably work as well). Observe that the light-locker package does not
   declare lightdm as a dependency, nor does it conflict with gdm.
3) login with xfce
4) lock the screen (e.g. with a suspend/resume cycle or with the command
   'sudo loginctl lock-session $XDG_SESSION_ID')

Expected: one of the following should happen:
  - APT should prohibit me from installing light-locker (i.e. light-locker
    and gdm should be declared as conflicting packages)
-or-
  - light-locker should refuse to run when gdm is the display manager
-or-
  - light-locker should support gdm (i.e. it should get gdm to spawn a login
    screen and display it)

Result:
- light-locker is installable and runnable even when gdm is the display
  manager.
- The screen goes black and displays the message "This session is locked:
  You'll be redirected to the unlock dialog automatically in a few seconds".
  However, the promised redirection never happens, leaving the user with no
  discoverable way to unlock their session.
- If there happens to be a gdm login screen running on another VT, then I
  can unlock the session by manually switching to gdm's VT and trying to
  login as the user to whom the locked session belongs.
- However, it's often the case that no such login screen is running. The
  only way I know how to unlock the session without the login screen is to
  get to a command line somewhere and run
  'sudo loginctl unlock-session [locked session ID]'.
- While the system does start the gdm login screen after the last user
  logs out or when someone uses the "switch user" function in (at least)
  Gnome or Xfce, it does not appear that light-locker ever manages to start
  it when locking a session.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: light-locker 1.4.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Jun 30 13:00:29 2014
SourcePackage: light-locker
UpgradeStatus: Upgraded to trusty on 2014-04-15 (76 days ago)

Revision history for this message
Daniel Gnoutcheff (gnoutchd) wrote :
Revision history for this message
Simon Steinbeiß (ochosi) wrote :

I think for starters this should be fixed on the packaging side by making sure that light-locker depends on lightdm.

Martin Spacek (mspacek)
summary: - Does not fail gracefully when lighdm isn't running
+ Does not fail gracefully when lightdm isn't running
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in light-locker (Ubuntu):
status: New → Confirmed
Revision history for this message
kay (kay-diam) wrote :

I have the same problem. When the fix is expected?

Revision history for this message
BENOIT Julien (jbenoit-jb) wrote :

I got the same problem. Is it fixed ? If not, when will it be ?

Thanks.

Revision history for this message
Gannet (ken20001) wrote :

I got the same too. How to unlock it? o_O

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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