Always look in logs for trouble:
- $cat ~/.xsession-errors
- $cat /var/log/Xorg.0.log
Try manually start lightdm from command-line Ctrl + Alt + F1, log in and
$ sudo lightdm
- If entering a password into display manager like gdm or lightdm and desktop is not loaded, but you get redirected back to login screen, delete fileĀ .Xauthority in your home folder and try again.
$ sudo rm ~/.Xauthority
- Sometimes re-installing NVIDIA graphics card driver works, or upgrading to recent version.
- If you get stuck on boot screen in text mode, edit /etc/X11/default-display-manager and change it’s content lightdm to /usr/sbin/lightdm.