Flaky GUI
Once or twice a year, Raspberry Pi OS Desktop refuses to go past the login screen. No issues via SSH or TTY. Raspberry Pi switched to labwc in 2024, and while I like where they are going, it’s not battle-tested, and I am impatient — to have my Desktop stable, and it’s annoying that I have to nuke the entire desktop, and reinstall it. Before running the whole list below, try the last command first.
# Let Debian fix any broken installs
sudo apt -o Dpkg::Options::="--force-overwrite" --fix-broken install
# Remove Raspberry Pi UI mods
sudo apt purge -y raspberrypi-ui-mods lightdm
sudo apt autoremove -y
# Reinstall
sudo apt update -y && sudo apt full-upgrade -y
sudo apt install -y rpd-wayland-all rpd-x-all lightdm
sudo vi /etc/lightdm/lightdm.conf
# Nuke LX Panel
rm -rf ~/.config/wf-panel-pi/ ~/.config/lxpanel/
# Restarts LightDM
sudo systemctl restart lightdm
sudo reboot
# If you still get a blank screen, run this on TTY
labwc-pi