After installing new Nvidia driver Ubuntu occurs this problem
Solving this by changing default display manager
1. reboot
2. Ctrl+Alt+F2/F1 into commad line
3.cat /etc/X11/default-display-manager
output should be one of the following:
/usr/sbin/lightdm
/usr/sbin/gdm
/usr/sbin/sddm
(option 3). systemctl status display-manager.service
4.change to another manager
sudo dpkg-reconfifgure gdm3
or
sudo dpkg-reconfifgure lightdm
or
sudo dpkg-reconfifgure gdm
Problem solved.