Caught in loop when trying to login after upgrade from 14.10 to 15.04

22,565

I fixed this problem by removing the nvidia drivers

sudo apt-get remove --purge nvidia-*
sudo apt-get install ubuntu-desktop
Share:
22,565

Related videos on Youtube

mac
Author by

mac

Hobby programmer using mostly Clojure, Python and Common Lisp.

Updated on September 18, 2022

Comments

  • mac
    mac over 1 year

    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)
    
    • TheWanderer
      TheWanderer about 9 years
      Get into a TTY and reinstall lightdm.
    • mac
      mac about 9 years
      Thanks, but that doesn't change anything, the problem persists.
    • TheWanderer
      TheWanderer about 9 years
      I'm glad you understood that. OK, try installing gdm. It might work better.
    • mac
      mac about 9 years
      Tried that in the mean time. That is even worse, with gdm I don't even get to a login screen, just black and some flicker every few seconds.
    • TheWanderer
      TheWanderer about 9 years
      See what happens when you login as guest.
    • TheWanderer
      TheWanderer about 9 years
      Also try sudo dpkg-reconfigure xserver-xorg, sudo dpkg-reconfigure lightdm, sudo dpkg --configure lightdm and sudo dpkg --configure xserver-xorg.
    • mac
      mac about 9 years
      Tried that, same problem.
    • mac
      mac about 9 years
      I do not think this is a duplicate. I have tried the accepted answer and it does not resolve the issue.
    • mac
      mac about 9 years
      Tried the dpkg commands, no difference. Both dpkg --configure report that the packages are installed and configured.
  • mac
    mac about 9 years
    Tried that one too, with no luck.
  • dascandy
    dascandy about 9 years
    +1 from me, works. Reboot to ensure that the entire system knows the nvidia drivers are gone though.
  • domsson
    domsson over 8 years
    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.
  • Apad121
    Apad121 over 8 years
    @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 :)