should handle the default session not being available

Bug #819177 reported by Yves-Alexis Perez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
Low
Unassigned
lightdm (Debian)
Fix Released
Unknown
lightdm (Ubuntu)
Fix Released
Low
Unassigned
Oneiric
Fix Released
Low
Unassigned

Bug Description

Hey,

there is no code right now for handling non-existing session. In Debian we set user-session=xfce by default, but some people might use it without Xfce installed. In that case, LightDM shows a blank item in the session menu. If the user logs in, it still tries to start the session, fails and goes back to the greeter.

It's related to https://bugs.launchpad.net/lightdm/+bug/818864 but not exactly the same thing.

summary: - failure when the user-session doesn't exists
+ failure when the user-session doesn't exist
Changed in lightdm (Debian):
status: Unknown → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Robert suggested that those issues should rather be resolved by adding a "failsafe" mode to lightdm which would allow you to fix your configuration

Changed in lightdm (Ubuntu):
importance: Undecided → Low
Changed in lightdm:
status: New → Confirmed
Changed in lightdm (Ubuntu):
status: New → Triaged
summary: - failure when the user-session doesn't exist
+ should handle the default session not being available
Revision history for this message
Yves-Alexis Perez (corsac) wrote :

Yeah, that's one solution.

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Fixed in LightDM 0.9.8 - if the default session or the session configured for the user does not exist then the GTK greeter just selects the first available session.

Changed in lightdm (Ubuntu Oneiric):
status: Triaged → Fix Committed
Changed in lightdm:
status: Confirmed → Invalid
status: Invalid → Fix Committed
importance: Undecided → Low
Changed in lightdm:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.0.0-0ubuntu1

---------------
lightdm (1.0.0-0ubuntu1) oneiric; urgency=low

  [ Steve Langasek ]
  * don't start on graphics-device-added; reintroducing this reverted the fix
    for bug #615549 from maverick without explanation.
  * clean up the completely illegible start rule for debian/lightdm.upstart,
    killing off the unnecessary parentheses
  * debian/lightdm.upstart: when lightdm is shut down by a runlevel call,
    emit an upstart event that can be caught by plymouth so it can
    distinguish between the DM shutting down for a runlevel change vs. other
    causes. LP: #854329.

  [ Robert Ancell ]
  * New upstream release.
    [ 0.9.8 ]
    - GetSeatForCookie and GetSessionForCookie are now deprecated. They
      remain for now but use the XDG_SEAT_PATH and XDG_SESSION_PATH
      environment variables instead.
    - Change log filenames to be unique across different display types.
    - Fix up script hooks, add regression tests for them
    - Complete removal of X code from the core of LightDM, so it can better
      support various display types
    - Add ability to set the language of a user from the greeter (LP: #803858)
    - Set LANG variable based on the user language
    - Add language selector into GTK greeter (disabled by default)
    - Allow TCP/IP connections if xserver-allow-tcp is true
    - Allow lightdm --version to be run as non-root
    - Automatically respond to PAM messages without prompts (LP: #783598)
    - Create 'AddLocalXSeat' D-Bus method, and require root to use 'AddSeat'
    - Fix multi-seat configuration picking the same display number (LP: #851362)
    - Use correct D-Bus and power interface in liblightdm-qt (LP: #852803)
    - Run pam_setcred inside the session process so pam_group works
      (LP: #851347)
    - Make sure one session is always selected in the GTK greeter (LP: #819177)
    [ 1.0.0 ]
    - Explicitly grab keyboard focus in GTK greeter
    - Fix removed power and a11y menu items in GTK greeter
    - Put system binary directory into path when running in test mode
      (LP: #860003)
    - Call pam_getenvlist after pam_setcred

  [ Lionel Le Folgoc ]
  * Make the gtk greeter easily themable by derivatives: (LP: #845549)
    - rename lightdm-gtk-greeter.conf to lightdm-gtk-greeter-ubuntu.conf,
      and handle the move in maintainer scripts.
    - manage /etc/lightdm/lightdm-gtk-greeter.conf with update-alternatives,
      by default it uses /etc/lightdm/lightdm-gtk-greeter-ubuntu.conf with a
      very low priority.
  * debian/control: lightdm-gtk-greeter provides lightdm-gtk-greeter-config.
 -- Robert Ancell <email address hidden> Wed, 28 Sep 2011 16:00:20 +1000

Changed in lightdm (Ubuntu Oneiric):
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.