Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 12.04 LTS, I don't think I installed anything extraordinary lately, (just uninstalled lxc-docker), but after last automatic update I am left with console. I can do

service lightdm start

and everything works fine. I checked upstart jobs, and lightdm is not there until I start it manually. I have followed and added verbose mode, but no information about lightdm. I also reconfigured lightdm, no change. I checked /var/logs but did not find anything useful in syslog, dmesg.. My question is, how to debug the problem?

share|improve this question
Your answer might be here: [lightdm-not-starting-on-boot][1]. At least that is what worked for me. [1]: – ali Jan 17 '14 at 18:58

It is a long-standing bug in Ubuntu:

Most common workaround is to add


in /etc/init/lightdm.conf to ensure it stays up even it fails to start at the first try.

share|improve this answer

Try running sudo update-rc.d lightdm defaults in a terminal; this will ensure that the service is configured to run at startup. It's possible that if you've uninstalled something it has inadvertently disabled this functionality.

share|improve this answer
That didn't help. One more observation: executing shutdown 0 fails on Could not get the system bus .. failed to connect to socket .. no such file After that if I press Control-D few more services start up: virtualbox, winbind,cpufreq. This looks like somewhere in middle upstart decides to fail, givin no information why – user164689 Jun 5 '13 at 16:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.