No "switch user" button when screen locked

Bug #950583 reported by JohnJensen on 2012-03-09
This bug affects 6 people
Affects Status Importance Assigned to Milestone
GNOME Screensaver
gnome-screensaver (Ubuntu)
Canonical Desktop Team

Bug Description

[Guessing this is a problem with lightdm]

What I expected to happen:
When a user screen is locked, I expect to be able to switch to another user by getting to the main greeter screen or by seeing the "Switch User Account" drop down menu somewhere.

What actually happens:
Using 12.04 beta Desktop. When an Administrator or Standard User locks his screen, either via inactivity or by Ctrl-Alt-L, there is no ability to switch to another user. When activated, the greeter just shows the Password entry box and "Unlock" button. No "Switch User" button is shown (or Shutdown, etc).

$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

$ apt-cache policy lightdm
  Installed: 1.1.6-0ubuntu1
  Candidate: 1.1.6-0ubuntu1

JohnJensen (john-analysis) wrote :

Copy of lightdm.log

JohnJensen (john-analysis) wrote :

lightdm updated just now but problem is still there. Version now is

$ apt-cache policy lightdm
  Installed: 1.1.7-0ubuntu1
  Candidate: 1.1.7-0ubuntu1

Launchpad Janitor (janitor) wrote :

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

Changed in lightdm (Ubuntu):
status: New → Confirmed
Changed in lightdm (Ubuntu):
importance: Undecided → High
tags: added: regression-release
Fabián Rodríguez (magicfab) wrote :

Changed to high, this effectively makes Ubuntu unusable in a family / friends+guests / small office environment where user switching is frequent.

Marc Deslauriers (mdeslaur) wrote :

I'm not sure I understand what the issue is gnome-screensaver not showing the "Switch user" button?

JohnJensen (john-analysis) wrote :

That is correct. There is no "switch user" button.

Marc Deslauriers (mdeslaur) wrote :

That is odd...I'm running up-to-date Precise, and I definitely have the switch user button. Have you disabled the display of the guest account in the lightdm configuration?

bluenova (bluenova) wrote :

I'm using a fresh daily build (as of 09/02/12) no settings have been changed and guest account in enabled and I have one admin and one standard user account but no 'Switch User' on lock screen.

Fabián Rodríguez (magicfab) wrote :

No, fresh daily vanilla install, in a virtual machine (Virtual Box). I also have the same problem on a test laptop, using Intel drivers.

As a workaround, I triend Lubuntu - the same functionality is broken there too although for different reasons:
Bug #952305

Marc Deslauriers (mdeslaur) wrote :

OK, it seems gnome-screensaver is actually searching for the gdmflexiserver instead of using the correct API to switch users. Reassigning this bug to gnome-screensaver, and marking 952305 as a dupe since it's the same cause.

affects: lightdm (Ubuntu) → gnome-screensaver (Ubuntu)
Changed in gnome-screensaver (Ubuntu):
milestone: none → ubuntu-12.04-beta-2
tags: added: rls-p-tracking
Changed in gnome-screensaver (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Marc Deslauriers (mdeslaur) wrote :

In my case, the gdmflexiserver binary is there, so the "Switch user" button does show up, but it fails miserably when it gets clicked on.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-screensaver - 3.2.2-0ubuntu2

gnome-screensaver (3.2.2-0ubuntu2) precise; urgency=low

  * debian/patches/27_lightdm_switch_user.patch: When used under lightdm,
    use dbus to switch to greeter instead of calling gdmflexiserver.
    (LP: #950583)
 -- Marc Deslauriers <email address hidden> Mon, 12 Mar 2012 14:38:07 -0400

Changed in gnome-screensaver (Ubuntu):
status: Confirmed → Fix Released
Changed in gnome-screensaver:
importance: Unknown → Medium
status: Unknown → New
JohnJensen (john-analysis) wrote :

I confirm that this works for me now. Thanks!

bluenova (bluenova) wrote :

I 2nd latest updates have fixed this issue.

Changed in gnome-screensaver:
status: New → Expired
To post a comment you must log in.
This report contains Public information  Edit
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.