lightdm not started when running the ubuntu-touch x86 emulator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-touch-session (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
How to reproduce:
sudo ubuntu-emulator create --channel=
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@ubuntu-
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://
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.
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.