The day before yesterday I opened too many tabs in the browser, and hung my RPI. I turned it on again with the power turned on. But he was involved not as usual. Instead of having to download the desktop, it has issued the authorization form. Form does not work. If you enter an incorrect login: password you receive an error message if you enter a valid username: password, nothing happens, the screen flashes and the time appears through the same form again requires a login and password. Screen with login form SSH works well. When loading, press ctrl + shift + f6, log into the command line and write sudo startx, then the desktop is loaded, but not the desktop, on behalf of pi, and the desktop on behalf of the root. I tried to write sudo chown -R pi:pi /home/pi, but it did not help. How do I fix this error? How to return the usual boot without reinstallation raspbian?

  • Don't type sudo – Milliways Nov 16 '16 at 22:53
  • @Milliways i try to chown -R pi:pi /home/pi. Without sudo. I reboot and nothing happens. If you mean startx without sudo, it's return error: waiting for X server to shut down (II) Server terminated successfully (0). Closing log file. – Vlad Chekunov Nov 17 '16 at 7:36
  • I was referring to your sudo startx which is never going to work. If you have broken something go back to your latest backup - if you don't have one start again. – Milliways Nov 17 '16 at 8:45
  • @Milliways when i type startx without sudo, i get this error: my.mixtape.moe/qffrso.jpg – Vlad Chekunov Nov 17 '16 at 10:43

I fixed. The problem was corrupted bash files in /home/pi. I commented out some lines in them and I was able to boot desktop by pi user. Thank you all for your attention.

| improve this answer | |

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.