Monday, December 28, 2020

Cannot login to Raspberry (looping)


Insert the microSD card to some linux PC and clean some files. Lack of free drive space might cause this

 sudo apt-get update

sudo apt-get upgrade
sudo apt-get dist-upgrade
reboot

sudo apt-get purge xinit


sudo apt-get purge lxde-core lxterminal lxappearance


sudo apt-get purge lightdm
reboot 

sudo apt-get install xinit

Enter the following command to install LXDE. This is the big bit. The download is 71 megabytes and it uses 242 megabytes on disk.

sudo apt-get install lxde-core lxterminal lxappearance

You now have time to use the boiled water to make and drink that coffee.

Enter the following command to install the LightDM login manager. The download is 25 megabytes and it uses 35.1 megabytes on disk.

sudo apt-get install lightdm

https://petermoulding.com/raspberry_pi/raspbian_lite_-_install_and_configure_with_lxde
https://www.tomshardware.com/how-to/fix-cannot-currently-show-desktop-error-raspberry-pi#:~:text=Boot%20to%20Desktop%20Mode&text=Select%20Boot%20Options%2D%3EDesktop%20%2F,Finish%20to%20exit%20the%20software.

No comments:

Post a Comment