I have a pi-zero which I was most recently trying to install OpenSSL-1.0.2r on that wouldn't start up. I fixed the issue already by swapping out the SD card but I'm still not sure why the problem came up in the first place..
What would happen was I would boot up the pi to the login screen where it would ask for my username and password and then I would enter them in correctly. However, after a few seconds of a blank screen during which I assume the pi was attempting to load the desktop, the pi would just return to the same login screen and ask for my username and password again. Rebooting didn't work and ultimately I swapped out the SD card which did work
My question, basically, is if anyone else has run into this problem or knows why it happens? I'm very interested in avoiding this in the future. I hope my question is clear enough!