mont266
Posts: 2
Joined: Tue Jun 30, 2015 1:02 am

Startx not loading anymore

Sat Jul 04, 2015 4:43 pm

I've been using my R-Pi on Debian for the past few months now. However for fast accessibility reasons I changed the inittab file to auto-log the pi user in on startup. That worked fine.

I then opened up the profiles file and added . /home/pi/startx.sh to the bottom of the file and saved and then rebooted. It still logs me in, but it then says "startx.sh not found" and then it tries to boot up but then says Waiting for X server to shut down
and then a new login:

Anyway I can fix this and take the script run line from the profiles file and boot it up as normal without reformatting my card?

Cheers,
-mont

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Startx not loading anymore

Sat Jul 04, 2015 9:05 pm

You can put the card in a Linux desktop and edit from there. If you have Windows computer then you could make a Linux Live boot CD or USB stick and temporarily boot Linux on the Windows PC.
Or
You could attach a card reader to the RPi and edit the file..... But of course you will need a 2nd working SD card in the RPi to boot from.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Return to “Raspberry Pi OS”