I believe this also works
sudo restart lightdm