2

I'm on Ubuntu 20.04 and it was working fine but after a recent reboot before which I had run some updates I can no longer log in as it never gets to the GUI login screen.

If I do Alt ctrl F2, I can login there but if I run something like startx that errors out and xrandr can't find any displays.

So I'm guessing this is a kernel issue? Any help/guidance would be appreciated.

Apologies for typos I'm writing from a phone

evan54
  • 745

3 Answers3

1

Success!

I was able to boot normally, with fully working system. What I did was installing mainline tool (method #3 from here → https://linuxhint.com/update_ubuntu_kernel_20_04/):

sudo apt-add-repository -y ppa:cappelikan/ppa
sudo apt update
sudo apt install mainline

(I had to edit sources list and change from groovy to focal)

Then I installed 5.9.12 kernel using Mainline installer and after rebooting everything worked fine (I saw that even earlier because my external monitor started to work while booting).

Additionally I've removed wireguard package because there was warnings while building GRUB images and since I don't use WG anymore I just uninstalled it. But I believe actual fix was delivered in 5.9 kernel.

Wirone
  • 111
1

I thought I'd add because I tried all these possible answers and it didn't work.

I have an old Nvidia GPU (GeForce 9600 GT) and I had to reinstall the display manager, reinstall the desktop environment and then reinstall the graphics driver. It seems that an update made the normal driver fail (nvidia-340) and I needed a different driver.

sudo apt install xserver-xorg-video-nouveau
Greenonline
  • 2,182
backuey
  • 11
0

I played around with several kernels and mainland didn't work for me.

Mainland problem:

  • Kernels weren't signed

Installing kernels manually:

  • tried installing 5.4.0.52 and 5.4.0.53 by doing the equivalent below:

sudo apt install linux-image-5.4.0-53-generic linux-headers-5.4.0-53-generic

That didn't work either - the mouse and wifi also didn't work.

What ultimately worked for me was:

sudo apt install linux-generic-hwe-20.04-edge

evan54
  • 745