9

After an otherwise uneventful upgrade from 14.10 to 15.04 I cannot login. When I provide my password the screen flickers briefly and I am back at the login screen.

I have checked permissions on .Xauthority and they are set correctly.

I have also tried creating a new user, but the same problem persists.

Before reverting to the login screen I momentarily see an alert box "System program problem detected." I do not know if this is relevant to the issue.

My /var/log/lightdm/x-0.log contains this as the last line:

error setting MTRR (base = 0....) Invalid argument (22)
mac
  • 250

2 Answers2

9

I fixed this problem by removing the nvidia drivers

sudo apt-get remove --purge nvidia-*
sudo apt-get install ubuntu-desktop
-1

You can try this first, here is a link. Ubuntu gets stuck in a login loop

If worse comes to worse you can remake the live USB. I would recommend Unetbootin as it really easily helps you to make it. The links for Unetbootin is here http://unetbootin.sourceforge.net/. And the one for Ubuntu is here .http://www.ubuntu.com/download/desktop.

When you go back with the new USB, you can reinstall cleanly for sure that way.

Hope this helps. Good Luck!

Apad121
  • 443
  • 2
  • 7
  • 19
  • I recommend against Unetbootin. I used it to create a USB key for a Debian installation and the installation failed in weird ways although I tried several times in different ways. Not using Unetbootin immediately fixed the problem. – domsson Oct 25 '15 at 14:48
  • @domdom ---- You reccomend against Unetbootin because you tried it to create a USB key for a Debians installation and failed in weird ways. However, we are talking about Ubuntu here...I have used plenty of different programs for creating live USBs for Ubuntu and the on that I found both most efficient and easy to use... Unetbootin. I personally enjoy it as all the user is required to do is select the version of Linux they want from a drop-down menu and the rest is just left to time. This makes it very easy for users as they can leave their pc and return back later with it all finished :) – Apad121 Oct 26 '15 at 16:13