If any problems then install unity-greeter also sudo apt-get install lightdm unity-greeter then sudo dpkg-reconfigure lightdm #go to previous post for rest.
If any problems then install unity-greeter also
sudo apt-get install lightdm unity-greeter
then
sudo dpkg-reconfigure lightdm
#go to previous post for rest.