1

After upgrading Ubuntu 20.04 LTS to 22.04 LTS, my workstation (which has a Nvidia RTX 3080 12gb installed) ceased being able to boot. Regular boot attempts results in the well known black screen with blinking and non-responsive cursor.

However, in my case, if I drop to terminal mode, e.g. with Ctrl+Alt+F1, login attempts with any user name/password registered in the system leads to a terminal login loop (not desktop login loop) - that is, after correct user name and password are inserted, it just goes back to the login terminal prompt.

The only exception is if I log with user "root" and the root password at the terminal login prompt - that works and leads to a regular terminal session (same works at recovery mode).

What have I tried:

  • the usual nomodeset and no splash parameters for logging in (see);
  • the usual sudo apt-get update + sudo apt-get upgrade + sudo apt-get dist-upgrade (see);
  • reinstalling Nvidia most recent drivers via root terminal (see);
  • turning off Wayland (see);
  • turning on and reconfiguring lightdm (sudo dpkg-reconfigure lightdm) (see);
  • tried gdm3 instead of lightdm (see);
  • checking .Xauthority (see);
  • checking if my disk is full (see);
  • reinstalling the desktop environment (see);
  • reinstalling the kernel (see);

My question: what else can be done to try to solve this problem? My impression is that the key is to, first, understand what it causing the login-loop at terminal mode - but I have found very scarce mentions online to login-loop issues at terminal mode (desktop login-loop issues are somewhat common).

Louis15
  • 111

1 Answers1

0

After an insanely time consuming journey, I found out that the login loop at terminal was being caused by some permission issues - which I never altered myself. Anyway, the solution was to reestablish the following:

chmod 755 /
chmod 755 /bin
chmod 755 /lib
chmod 755 /lib64

With that, I was able to login via terminal with any user, at tty.

Then, the black screen with flashing cursor was treated with an install of the very recent Kernel 5.15.58:

sudo apt-get install linux-image-5.15.0-58-generic

And a purge + reinstall of the most recent Nvidia drivers:

sudo apt-get remove --purge nvidia-*
sudo ubuntu-drivers devices
sudo ubuntu-drivers autoinstall
Louis15
  • 111