Saturday, December 10, 2011

LightDM fails to start

Had a quite annoying experience with my new linux laptop yesterday, after a routine update, it failed to start into X. In brief, LightDM has to wait until the nvidia kernel module is loaded. Originally, the /etc/init/lightdm.conf file had a `sleep 2` command in it, before it attempted to run `exec lightdm`. The upgrade changed the file, removing the sleep line, so that when I rebooted, X would fail, saying that it couldn't load the nvidia driver.

The fix for now, hack though it is, is to add the `sleep 2` line before the `exec lightdm` line. Boot is slower, but at least it works.

This was on Ubuntu 11.10. There is a bug here:

Age 35: 3 Month Check-in #1

Objective The purpose of this retrospective is to evaluate the progress I've made on my goals (1-, 5- and 10-year) and to see whether...