On Wed, Nov 28, 2012 at 12:47:33AM +0100, Jelmer Vernooij wrote: > On Wed, 2012-11-28 at 00:26 +0100, Yves-Alexis Perez wrote: > > On mar., 2012-11-27 at 14:27 +0100, Jelmer Vernooij wrote: > > > Package: lightdm > > > Version: 1.4.0-1 > > > Severity: normal
> > > lightdm's /etc/init/lightdm.conf file tries to run lightdm from > > > /usr/bin/lightdm while it is in fact installed as /usr/sbin/lightdm. > > > The attached patch fixes the path. > > we removed the upstart init file for Wheezy because of #679409. I'm a > > bit unsure if it was the same problem or not, if the upstart file > > changed before 1.4 or something. > > I'm adding Steve and Roger on CC: in case they have an opinion on this, > > but I'd be happy to include the patch if it fixes upstart support in > > lightdm (although I can't test). > FWIW it works for me with the patch applied and the latest upstart in > sid. I'm at a loss to explain how this could be so. Is the file below, taken from the lightdm source, the correct one? Because it contains no 'start on' condition at all (nor a 'stop on'), which means the service would never be automatically started at boot. # lightdm - LightDM display manager # # The display manager service manages the X servers running on the # system, providing login and auto-login services description "LightDM Display Manager" author "Robert Ancell <robert.anc...@gmail.com>" emits login-session-start emits desktop-session-start exec /usr/bin/lightdm For the record, the upstart job in Ubuntu has this start condition: start on ((filesystem and runlevel [!06] and started dbus and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1 or stopped udev-fallback-graphics)) or runlevel PREVLEVEL=S) All of these events are now provided at boot on a Debian unstable system with the exception of 'started dbus'. AFAICS, lightdm can't add an upstart job back until dbus is upstartified in Debian. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature