No GUI!? Screwing up with Unity/Gnome/MATE etc.? Can’t log in!?
Well, we have a solution for you!
# apt-get install lightdm-gtk-greeter
# apt-get install lightdm-kde-greeter
Now, go to:
# vim /etc/lightdm/lightdm.conf
& edit you lightdm.conf config file. It should look something like this:
[SeatDefaults]
allow-guest=false
greeter-session=lightdm-gtk-greeter
user-session=ubuntu
Also, it could be a problem of you GUI or Tiling manager as well. So, just to ensure that, reinstall you environment. For unity users, you could do something like this:
# apt-get install --reinstall ubuntu-desktop
# apt-get install unity
For i3/awesome/gnome/MATE users, you could rebuild the respective interface.
Another possibility of this would be the other lightdm conf file. To efface the troublesome configuration file, try this:
sudo vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[SeatDefaults]
user-session=ubuntu
A rare possibility can be your display driver. If you have tried any beta version of nvidia-driver or CUDA drivers, this may be the reason. Run
# apt-get install nvidia-current
to make sure that your graphics driver isn’t the issue.
P.S Do not forget to restart your system:
# shutdown -r now
Also check this:
https://github.com/chahatdeep/dotfiles/issues/1
Cheers!
*Arch users, use ‘pacman -S’ instead of ‘apt-get’.
Source: http://askubuntu.com/questions/542012/ubuntu-14-10-booting-problems-no-login-screen