[Bug 1318681] Re: lightdm not started when running the ubuntu-touch x86 emulator

James Hunt 1318681 at bugs.launchpad.net
Mon May 12 14:42:10 UTC 2014


Just setting up an environment as you outline now...

If you 'sudo initctl emit runlevel RUNLEVEL=2 PREVLEVEL=1', does it block?
Would be interesting to know what else has changed recently that starts on any of the events lightdm cares about.
Also, you could try:

$ wget http://people.canonical.com/~jhunt/upstart/scripts/get_state.sh
$ sudo bash ./get_state.sh | json_pp > /tmp/upstart.json

And attaching that log file which specifies upstarts internal state.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1318681

Title:
  lightdm not started when running the ubuntu-touch x86 emulator

Status in “ubuntu-touch-session” package in Ubuntu:
  New
Status in “upstart” package in Ubuntu:
  New

Bug description:
  How to reproduce:
  sudo ubuntu-emulator create --channel=ubuntu-touch/utopic-proposed --use-raw-disk --arch=i386 --revision=22 test_x86 
  ubuntu-emulator run test_x86 --memory=720

  From time to time upstart doesn't start lightdm, leaving the emulator
  window with just a black screen.

  Here is the lightdm.override file:
  root at ubuntu-phablet:~# cat /etc/init/lightdm.override 
  limit nice 40 40
  oom score -10

  # lightdm job normally waits for plymouth-ready, but since we disable plymouth,
  # we remove that condition from lightdm's start stanza
  start on ((filesystem
             and runlevel [!06]
             and started dbus
             and android)
            or runlevel PREVLEVEL=S)

  And the full boot log with --debug: http://paste.ubuntu.com/7452481/

  You can see from the logs that all required events were sent to
  upstart, but for some reason the job wasn't started. Other jobs
  depending on the same set of events (just not all together) all
  started just fine .

  Can't reproduce this bug after removing the 'runlevel [!06]' line.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-touch-session/+bug/1318681/+subscriptions



More information about the foundations-bugs mailing list