

If it still does not work, move to step 4. If not, install it again by sudo apt-get install xorg Step 3: Check whether your Xorg, Xauth, and Openbox packages exist sudo apt list xorg Sudo apt-get install raspberrypi-ui-mods -y Or something like “error (exit)” Try to fix it by sudo apt install accountsservice -y Step 2: Check the status of Lightdm sudo systemctl status lightdmĮrror getting user list from : GDBus.Error.ServiceUnknown: The name was not provided by any. Follow step 2 if you can remote access your Raspberry pi. If the “Ctrl + Alt + F1” command does not work, try to access your Raspberry pi through SSH / TeamViewer / AnyDesk. If this server is no longer running, remove /tmp/.X0-lock Try to fix it by sudo touch ~/.Xauthority If yes, you may type “startx” to enter the GUI. Try to enter “Ctrl + Alt + F1” and see if a CLI interface appears. Step 1: Connect your Raspberry pi to a monitor. You may need to install them back manually. There is a high chance that your GUI dependency was removed accidentally during the upgrade. The GUI interface does not work on my Raspberry pi 4. Situation 1: Only a blinking line/cursor after reboot.
#Cant connect to pi unless l boot and run startx on pi how to
You can look at my earlier article about how to create a cloned backup with a new SD card via DiskGenius. Even if none of the following steps works, you can fall back to the previous state of Raspbian with your cloned Raspberry pi copy.


Make sure you have a cloned backup of your Raspbian OS, as some commands in this guide are irreversible. If you are reading this article, this implies you are facing big trouble when upgrading Raspberry pi OS from buster to bullseye.
