Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 http://upstart.ubuntu.com/wiki/Debugging 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]: askubuntu.com/questions/74551/lightdm-not-starting-on-boot –  ali Jan 17 at 18:58
add comment

2 Answers

It is a long-standing bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/969489

Most common workaround is to add

respawn

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

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.