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,932
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,520
  • 5
  • 27
  • 42