lightdm does not emit well-known upstart events

Bug #715094 reported by James Hunt on 2011-02-08
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Light Display Manager
lightdm (Ubuntu)

Bug Description

As an analog to bug #706842 and bug #715093, lightdm needs to emit two "well-known" upstart events as gdm does:

1) login-session-start
2) desktop-session-start

Event (1) should be emitted just prior to the display manager starting whilst event (2) should be emitted when a user logs in (manually or auto-login).

Additionally, the upstart config file /etc/init/lightdm.conf should list these two events as being emitted by lightdm.

For the list of "well-known" events that will be included in natty as a new manual page, see:



Related branches

Changed in lightdm:
status: New → Triaged
importance: Undecided → Medium
Changed in lightdm (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Robert Ancell (robert-ancell) wrote :

James, can you clarify the purpose of these signals? desktop-session-start seems quite straightforward (i.e. just as a user is logging in) but I'm not sure what the point of login-session-start is? Does it mean "the display manager has started", or "the display manager is ready" or "the login screen is now ready for user input".

Also, should these signals have any context? You can have multiple seats/sessions running at once.

Changed in lightdm:
status: Triaged → Incomplete
Changed in lightdm (Ubuntu Oneiric):
status: Triaged → Incomplete
Robert Ancell (robert-ancell) wrote :

Branch merged in as is, please open a new bug if the behaviour is wrong when released in 0.9.5.

Changed in lightdm (Ubuntu Oneiric):
status: Incomplete → Fix Committed
Changed in lightdm:
status: Incomplete → Fix Committed
Changed in lightdm:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

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

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

  [ Steve Langasek ]
  * Update upstart job to use current start condition lifted from gdm,
    and to check runlevels instead of /proc/cmdline so it's possible to
    start lightdm after switching out of recovery mode. LP: #803513.

  [ Didier Roche ]
  * debian/patches/01_transition_gnome_ubuntu_desktop.patch:
    natty-oneiric session name upgrade:
    - transition from unity-2d -> ubuntu-2d
    - transition from gnome-2d -> gnome-fallback

  [ Robert Ancell ]
  * New upstream release:
    - Use accounts service in the daemon if it is available
    - Correctly load seat type in multi seat configuration
    - Add display-setup, session-setup and session-cleanup scripting hooks
    - Fix cancel button in GTK greeter (LP: #819240)
    - Fix line through GTK greeter menu items
    - Exit daemon if a seat fails which has exit-on-failure set to true
    - Add HasGuestAccount property to seat D-Bus interface (LP: #835084)
    - Fix XDMCP authorization
    - Update man file
    - Emit upstart events (LP: #715094)
    - lightdm-set-defaults enables tweaking the default session and chosen
      greeter for lightdm. This is useful for derivatives waiting to not ship
      the whole configuration file of lightdm
    - Fix crash in GTK+ greeter when a user is added
    - Move xsessions-directory and xgreeters-directory from [SeatDefaults] to
      [LightDM]. This is a configuration break, but making it on the assumption
      that these settings are not likely to have been overridden.
    - Fix fallback from org.freedesktop.Accounts to passwd format
    - Fix duplicate user entries being shown when using passwd file
    - Add AddSeat D-Bus method for adding dynamic seats
    - Added a dm-tool program that allows user switching and adding seats
    - Allow remote X servers, e.g. launched using dm-tool add-nested-seat
    - Fix bug where sessions were started when the greeter quit and the user
      hadn't been authorized.
    - Fix bug where sessions used the seat bus name
    - Don't allow autologin-username to be set to empty
    - Fix bug where PAM session was not opened before writing to home directory
    - Fix crash when failing to write X authority
 -- Robert Ancell <email address hidden> Wed, 07 Sep 2011 16:09:53 +1000

Changed in lightdm (Ubuntu Oneiric):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers