Every time I boot my PC Ubuntu keeps dropping me to TTY 1 where I have to log in and then do sudo lightdm startjust to log in again, which is very annoyingI have already tried removing and re-adding it to update-rc.dupdate-rc.d lightdm defaultsbut it just does not work.Anyone got an idea which logfiles to check or what to do get it working again?I use Mint 12 with Gnome3.
Lightdm won't start automatically on boot
gnome3;lightdm
This is how I fixed this problem:first you need to stop lightdm if it's runningsudo service lightdm stopthen you need to x server to create a fresh xorg.conf, I did this by renaming my old onesudo mv /etc/X11/xorg.conf /etc/X11/xorg.oldthen I deleted my current drivers sudo aptitude remove --purge nvidia-currentIMPORTANT if you had or have drivers from the Nvidia site then you need to uninstall them as well. That means you will have to download them again if you dont have the .run file anymore and then do [nvidia-installer] --uninstall where nvidia-installer is the installer you just downloaded.then you properly install the current driverssudo aptitude install nvidia-currentthe next step would be to typestartxand hope for Gnome2 (or the default window manager of your distribution) to come up which worked for me.The reason for this error seemed to be some kind of conflict with X11 and the Nvidia drivers. While on boot time I got the error that the Nvidia Kernel module could not be loaded, I still was able to start lightdm once I was in TTY1.The cause for this might have been that I previously had the 290 version of the Nvidia drivers installed and then downgraded to nvidia-current (280) via aptitude which might caused some leftovers to remain and conflict with the older drivers (290 vs 280).Note that you will have to reconfigure your desktop environment after applying these steps.If you don't get a graphics accelerated UI (ie Gnome3, Unity 3D) run sudo nvidia-xconfig