Linux - Xbmcbuntu NEVER auto login xbmc or desktop!

Don't know what happened but xbmcbuntu was auto logging in fine until recently. It now ALWAYS boots to a log on screen. I have tried the logging into the desktop and logging out to login to xbmc which works fine, but it never remembers my last login state. When I shut down from xbmc it exits to a blue screen then shuts down via a command line/terminal with some text on screen. It used to just show the xbmc logo with the alternating smaller dots below to indicate shutting down, but now its always as mentioned above.

Anyone have any suggestions/help/ideas? Auto login was great and good for the Wife user ability. Was hoping I could get this back again with a fresh install'

It seems I must have copied the text entry in my last post wrong, as following the directions above, when I opened the file again, it actually already showed the "autologin-user-timeout=0" line, set to as suggested. Apologies for the incorrect text listed above. I was actually copying the text from an SSH client on a tablet computer and obviously something happened with between the copy and paste into this thread.

If it's any additional help, not too long ago I had to update/reinstall my NVIDIA drivers as I was having issues playing Mp4 video files. The new upgrade work and the reinstall fixed the issues I was having but not long after, this problem occurred. "lightdm" is the graphical user interface if I'm correct? I am sure during installation I was asked to choose between lightdm and gdm. If I selected gdm would this cause any issues?

Some more info, when I reboot from within XBMC, it closes to a terminal screen where it mentions "Checking for running unattended upgrades". Sometimes it successfully restarts or shuts down, but other times it freezes on this screen and I have to power off by the power button on the physical box.

By choosing GDM as the display manager, you basically rendered the LightDM config files useless. You could have gone in and changed the GDM config files to autologin, but you should really stickwith LightDM as it's replaced GDM.