Skip to content
Unix Server Solutions
  • Server
  • Apple
  • Database
  • Ubuntu
  • Linux

Ubuntu – Unable to Login after a new install

loginnvidiasystem-installationxserver

Just installed a new install along with Windows 10.

Setup root (/), swap and /home partitions; and then setup display name, computer name, username and password.

Can't login after restarting machine. Doesn't throw an error on password. It looks like it is about to start X and then gets back to the login screen. Tried restarting machine few times – no luck.

From other Q&A, it looked like a password error – but in my case no error is shown. Is the problem with starting X server?

Config – AMD Ryzen 1900 + NVidia 2070 + 32GB RAM + 1 TB SSD

Thanks.

Best Answer

Can you try login from the console? At login screen press ctrl + alt + F3 and enter your login credentials. If that does work, you can try starting the X-Session manually by typing startx. If you are able to start the X-Session manually, you can try to reinstall gdm(3) by deleting it sudo apt-get purge gdm and reinstaling it sudo apt-get install gdm. You can further try to reinsall the ubuntu desktop like described in here. Be aware that reinstalling the ubuntu-desktop results in installing all packages of the default installation. For minimal installation use ubuntu-desktop-minimal.

If you can't login at all, it might be a password problem as you stated.

I hope those steps can help you, at least they helped me, when I broke my login screen the first few times :D