I removed gdm and install lightdm, after that I am stuck at infinite loading.
Pressed Ctrl + Alt + F2, unable to use TTY... And I cannot enter recovery mode by press shift... What can I do for it?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
Using another computer, edit your cmdline.txt file and append the following:
This will skip the init process and drop you to a root shell. If
bash isn't installed on your distro, then try
Once you're done making changes, make sure you run
sync to flush the write cache, then power off the Pi and revert the changes to cmdline.txt.
There is no desktop rescue mode in Linux.
In a regular Debian or Ubuntu you instead have to start the rescue mode from the GRUB menu.
There are plenty of posts about how to use that mode so I won't go in detail here about that. More or less, you'll be able to reinstall a working package or tweak the settings of the existing package to possibly make it work. That mode includes a way to start a shell in a terminal, which you can use to tweak your settings directly in files and install/remove packages.