← Back to team overview

desktop-packages team mailing list archive

[Bug 803513] Re: lightdm uses old upstart job config file

 

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

-- 
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/803513

Title:
  lightdm uses old upstart job config file

Status in “lightdm” package in Ubuntu:
  Fix Committed
Status in “lightdm” source package in Oneiric:
  Fix Committed

Bug description:
  File /etc/init/lightdm.conf is based upon a very old gdm.conf and thus
  needs to be updated since the "start on" and "emits" stanzas are not
  correct.

  The key changes required -- taken from latest gdm.conf -- are:

  
  start on ((filesystem
              and (runlevel [!06]
              and (started dbus
              and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
              or  (graphics-device-added PRIMARY_DEVICE_FOR_DISPLAY=1
              or   stopped udevtrigger)))))
              or  runlevel PREVLEVEL=S)

  stop on runlevel [016]

  emits login-session-start
  emits desktop-session-start

  It should be possible to simplify the rather scary "start on" once we
  introduce the abstract events. Also note that if lightm has config
  files similar to other DMs, ideally it will emit the two events above.
  See bug 715093 and upstart-events(7).

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