I had same problem and I fixed it with:
sudo apt-get purge lightdm sudo apt-get install ubuntu-desktop
I had same problem and I fixed it with:
sudo apt-get purge lightdm
sudo apt-get install ubuntu-desktop