I was logged into my raspberry pi and downloading some python packages. At one point the raspberry pi froze and I could not do anything to safely shutdown etc, so I pulled the power cord.
Now I cannot log into the raspberry pi through the GUI. I can login using the command line but the command
startx does not work.
p.s: I've tried most of the solutions already presented (
sudo chown -R pi.pi *)