I removed gdm and install lightdm, after that I am stuck at infinite loading.

enter image description here

Pressed Ctrl + Alt + F2, unable to use TTY... And I cannot enter recovery mode by press shift... What can I do for it?


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.

However, the Raspberry Pi installations don't use GRUB by default. So the other option is to boot on an install disk (i.e. a USB thumb drive) and use the rescue menu option from there.

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.

  • Does this apply to the Raspberry Pi (which AFAIK) doesn't use Grub to boot and instead boots from an SD card by default? – Steve Robillard Mar 27 at 1:35
  • Ah, indeed. Although it can be installed, it's not by default. – Alexis Wilke Mar 27 at 16:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.