← Back to team overview

desktop-packages team mailing list archive

[Bug 868363] [NEW] Can't switch user from a locked screen (no gdmflexiserver binary in $PATH)

 

Public bug reported:

It is not possible to switch user from the gnome-screensaver lock dialog
when using lightdm. Although lightdm provides its own gdmflexiserver
implementation, it's not in the default $PATH, so gnome-screensaver
doesn't find it and hides the option to switch user.

Apparently, this was meant to be worked around by adding
/usr/lib/lightdm to the default $PATH:

<seb128> mterry, hey
--> mdeslaur (~mdeslaur@ubuntu/member/mdeslaur) has joined #ubuntu-desktop
<seb128> mterry, do you have time for a lightdm bug today? ;-)
<mterry> seb128, sure
<seb128> mterry, the gdmflexiserver path hack still doesn't work...
 mterry, that breaks user switching on the lock screen
<mterry> seb128, guh
 seb128, bug number?
<seb128> I knew you were going to love that :p
 mterry, it was IRC reported but I can file a bug if you want
 let me check if there is one
<-- thisfred has quit (Quit: Ex-Chat)
<mterry> seb128, so to reproduce, I lock my screen and try to switch users?
<seb128> mterry, well basically you uninstall gdm or move its gdmflexiserver away, (restart gnome-screensaver?), then try to lock your screen
 mterry, you should get no "switch user" button
<-- mhr3 has quit (Quit: Ex-Chat)
<seb128> mterry, the code is basically looking if gdmflexiserver is in the path, but it's not
--> mhr3 (~miso-work@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) has joined #ubuntu-desktop
<mterry> seb128, this is without lightdm?
<seb128> mterry, no, that's with lightdm
* mterry wonders why gdmflexiserver isn't in the path
<-- glatzor_ has quit (Ping timeout: 240 seconds)
--> thisfred (~thisfred@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) has joined #ubuntu-desktop
<seb128> mterry, because lightdm install it in /usr/lib/lightdm and your path hack seems to not work (my guess)
 mterry, remember you added code to add /usr/lib/lightdm to the PATH
 which is somewhat hackish ;-)
<mterry> seb128, I remember.  But it was working...
<seb128> well doing a "strings /proc/$(pidof gnome-session)/environ | grep PATH" shows it's not in the path
 mterry, yeah, I blame it on robert_ancell he probably broke it :p

** Affects: lightdm (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: lightdm (Ubuntu Oneiric)
     Importance: High
         Status: Triaged

** Also affects: lightdm (Ubuntu Oneiric)
   Importance: Undecided
       Status: New

** Changed in: lightdm (Ubuntu Oneiric)
   Importance: Undecided => High

** Changed in: lightdm (Ubuntu Oneiric)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/868363

Title:
  Can't switch user from a locked screen (no gdmflexiserver binary in
  $PATH)

Status in “lightdm” package in Ubuntu:
  Triaged
Status in “lightdm” source package in Oneiric:
  Triaged

Bug description:
  It is not possible to switch user from the gnome-screensaver lock
  dialog when using lightdm. Although lightdm provides its own
  gdmflexiserver implementation, it's not in the default $PATH, so
  gnome-screensaver doesn't find it and hides the option to switch user.

  Apparently, this was meant to be worked around by adding
  /usr/lib/lightdm to the default $PATH:

  <seb128> mterry, hey
  --> mdeslaur (~mdeslaur@ubuntu/member/mdeslaur) has joined #ubuntu-desktop
  <seb128> mterry, do you have time for a lightdm bug today? ;-)
  <mterry> seb128, sure
  <seb128> mterry, the gdmflexiserver path hack still doesn't work...
   mterry, that breaks user switching on the lock screen
  <mterry> seb128, guh
   seb128, bug number?
  <seb128> I knew you were going to love that :p
   mterry, it was IRC reported but I can file a bug if you want
   let me check if there is one
  <-- thisfred has quit (Quit: Ex-Chat)
  <mterry> seb128, so to reproduce, I lock my screen and try to switch users?
  <seb128> mterry, well basically you uninstall gdm or move its gdmflexiserver away, (restart gnome-screensaver?), then try to lock your screen
   mterry, you should get no "switch user" button
  <-- mhr3 has quit (Quit: Ex-Chat)
  <seb128> mterry, the code is basically looking if gdmflexiserver is in the path, but it's not
  --> mhr3 (~miso-work@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) has joined #ubuntu-desktop
  <mterry> seb128, this is without lightdm?
  <seb128> mterry, no, that's with lightdm
  * mterry wonders why gdmflexiserver isn't in the path
  <-- glatzor_ has quit (Ping timeout: 240 seconds)
  --> thisfred (~thisfred@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) has joined #ubuntu-desktop
  <seb128> mterry, because lightdm install it in /usr/lib/lightdm and your path hack seems to not work (my guess)
   mterry, remember you added code to add /usr/lib/lightdm to the PATH
   which is somewhat hackish ;-)
  <mterry> seb128, I remember.  But it was working...
  <seb128> well doing a "strings /proc/$(pidof gnome-session)/environ | grep PATH" shows it's not in the path
   mterry, yeah, I blame it on robert_ancell he probably broke it :p

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/868363/+subscriptions


Follow ups

References