0

I updated my ubuntu 14.04 after it was being unused for 4 months. The updating took enormously longer time than usual, and after that the computer was very slow. I rebooted the computer and now I cannot get past the login screen. When I login it immeaditely returns to the login screen.

I have checked the owner of .Xauthority, tried deleting it and tried installing gdm. Login still loops if I use gdm instead of lightdm. I have run sudo dpkg-reconfigure lightdm, sudo apt-get install -f and sudo apt-get update, but apt-get doesn't complain anything or give any errors.

What to do?

2 Answers2

0

You can reset your unity before trying to login Ctl + Alt + F1 login then try Ctl + Alt + F7 install unity-reset

Installing unity-reset in tty:

sudo add-apt-repository ppa:freyja-dev/unity-tweak-tool-daily
sudo apt-get update
sudo apt-get install unity-tweak-tool

sudo apt-get install unity-tweak-tool

To reset tweak tool

unity-tweak-tool --reset-unity

Then type:

$ unity-reset

You can aslo try to reinstall the unity if this does not work with. sudo apt-get install --reinstall ubuntu-desktop

Last option install new desktop from tty this option installs Gnome Desktop

sudo apt-get install gnome-shell ubuntu-gnome-desktop
DnrDevil
  • 1,478
0

I had the similar issue with Ubuntu desktop 15.10. My issue was related to nvidia graphics card driver. After installing the driver from ppa resolved my issue. I was also stuck with the login loop at the unity desktop at the time of start up. Could you please elaborate regarding your case? I know this answer may not be applicable in your case.

Ashu
  • 4,004