3

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?

user164689
  • 33
  • 1
  • 3

2 Answers2

2

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.

Tuminoid
  • 3,952
0

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.

jackweirdy
  • 3,440
  • 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 05 '13 at 16:23