Sunday, August 6, 2023

Ubuntu 22.04 boots to a black screen

`Ctrl+Alt+F2` -> login

1.  `cd /etc/gdm3`
     `sudo nano custom.config` -> Uncomment this line: `WaylandEnable=false`
     `reboot` or `sudo systemctl reboot`

2.  Try `sudo apt-get autoremove` or `lspci -nn | grep -E 'VGA|Display'`
     `sudo ubuntu-drivers autoinstall`

3. `sudo apt install --reinstall gdm3 ubuntu-desktop gnome-shell`