Score:1

Black screen at normal boot; login loop at terminal boot - after upgrading 20.04 to 22.04:

ga flag

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).

Score:0
ga flag

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
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.