Re: rpi4 login problem

Mar 29, 2023 1 Replies

startx shouldn't have screwed anything up unless you were running as root AFAIK, but you could try messing with the .X* files in your home directory, something like 'mkdir Xfiles && mv .X* Xfiles/' and then try logging in. If that does nothing you can revert the previous command by running 'mv Xfiles/* . && rmdir Xfiles'.



You could also try simply running 'raspi-config' over SSH and seeing if you can fix it that way.


Some pemissions/ownerships most likely got switched around, thus causing X to crash and kick you back to the login screen.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required