Mar 232012

I recently built a HTPC box with Ubuntu 11.04, and then after updating to 11.10, I couldn’t get it to auto login into an XBMC session anymore with LightDM.
However, I found this command which may come in useful for anyone trying to do the same thing.

sudo /usr/lib/lightdm/lightdm-set-defaults --session xbmc