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,488
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
  • 3,966
  • What information you need? How can I get the info? My graphics card is ATI Radeon HD 5770 – threemartians Jan 17 '16 at 16:33
  • Go to virtual console(Ctrl+Alt+F1) - you can still login to ubuntu(using your credentials) and then follow this page https://help.ubuntu.com/community/RadeonDriver. When you are installing graphics driver you need to stop lightdm(in case unity) and then go to XWindows(Ctrl+Alt+F7) again – Ashu Jan 17 '16 at 16:36
  • Oh god, now I am in deep. After following the instructions about purging the propietary driver and rebooting, my computer does not boot at all. It gets stuck "Waiting for cryptswap" and skipping and manual recovery buttons do not work. – threemartians Jan 17 '16 at 18:35