This happened to several users of NVidia or AMD binary drivers (Bug #1705369). You need to re-install the drivers:

Switch to a different terminal (TTY) by pressing CTRL + ALT + F2 and login with your user. Remove the binary driver by running sudo apt-get purge ^nvidia . AMD users can run amdgpu-pro-uninstall to remove the AMD graphics stack. If /etc/X11/xorg.conf exists, rename (e.g. sudo mv /etc/X11/xorg.conf{,.bak} ). Disable Wayland completely: edit /etc/gdm3/custom.conf and uncomment the following line # WaylandEnable=false Reboot Ubuntu with sudo shutdown -r now and you should see the login screen.

You can now install your binary drivers again, either manually (see How do I install the Nvidia drivers) or with the Software Properties GUI. AMD users should refer to the official installation guide for instructions.

After rebooting everything should work as expected.