0

I have tried several ideas such as:

chown pi:pi .Xauthority choxn -R pi /home/pi

and I have deleted .Xauthority

But my pi keeps returning to the Shut-Down / Log-In screen no matter what I do.

I can get to terminal (ctrl-alt-F1) and do what ever I want, but the desktop won't finish loading.

Password is correct and working, just returns to the same screen.

4
  • Check free disk space and check the X log files – Dirk Oct 8 '19 at 20:02
  • What kind of Pi are you running and what operating system? – Fred Oct 8 '19 at 20:07
  • What have you done that this happen? – Ingo Oct 9 '19 at 9:01
  • Rc.local - tried to add a link to a python program, using graphics gui, to run on boot. Problem started after I removed the link. PI 3b Raspbian – smclaugh5 Oct 10 '19 at 23:22
0

I faced a similar problem about 10 days ago. And I had to reinstall the OS. Anything you change or delete related with boot can affect the OS badly. My suggestion is you should re install the OS

2
  • Rc.local - tried to add a link to a python program, using graphics gui, to run on boot. Problem started after I removed the link. PI 3b Raspbian – smclaugh5 Oct 9 '19 at 21:45
  • disk 16 gb about half full – smclaugh5 Oct 9 '19 at 21:46
0

There are numerous ways to solve this. Noted that you tried to chown .Xauthority with the -R switch and probably you tried it with a sudo, but again - try this version;

$ sudo chown pi:pi .Xauthority
$ sudo apt-get update & sudo apt-get upgrade
$ sudo reboot

In case that doesn't work, since you have access to the CLI space at [ALT]+[F1], you can always as a resort try to save necessary files by starting desktop with superuser with

$ sudo startx 

Also have a look at for any quirkiness

$ sudo nano /etc/rc.local

at the bottom just above "exit 0" and have a consideration with commenting out a potential line familiar from a recent install with a #

Reinstalling the OS as a solution is seldom necessary, anything can be fixed but in case there isn't any crucial work lost in the process it can be a good time saving option on some occasions.

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.