Ubuntu: cannot login via gui for ubuntu 16.04


I just turned on my computer today and just couldn't get past the lightdm login screen. The login screen is 640*480 instead of the usual 1920*1080, and after I entered the password and clicked "login", the machine would emit a failure sound after a short pause. The same happens to guest login. TTY login is fine. As I have a RNN project due Friday I would like to get it working ASAP.

I think it might be related to the graphics driver but I cannot narrow down on the issue. I installed CUDA 8.0 from Nvidia for Tensorflow-gpu which wasn't a fan of Noveau, so I had it Noveau uninstalled, and since then the Ubuntu loading screen prior to the login screen has been 640*480. The latest change I made prior to the error was probably sudo apt-get install golang


  • Acer G3-710 w/ Nvidia 1070
  • Ubuntu 16.04
  • Nvidia driver 375.66

systemctl status lightdm.service returns:

  • PAM adding faulty module: pam_kwallet5.so
  • PAM adding faulty module: pam_kwallet.so

Things attempted:

  1. rm .authority file(ownership is user)
  2. use gdm (somehow won't work, some error causes 'stopping user manager uid 121' and causes extremely flickery tty that prevents me from operating, had to go to recovery mode to switch back to lightdm)
  3. purging and reinstalling lightdm


Resolved by painstakingly downloading and reinstalling nvidia 375.66 driver

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »