Hello
I have configured Pi to start one script, then a window manager (I can't remember what manager is it) and then chromium browser.
I want to get to the console, but at view ctrl+alt+F1 I have a console that has script run, on F2 I have the browser view, and on other Fs, I get only black screen with a "_". Is there any way to break a script to get into console or is it any way to start raspberry in some kind of "safe" mode with only a console running?
-
- Posts: 258
- Joined: Sat Oct 24, 2015 1:50 pm
Re: Console in Raspbian
If you started the script on the command line, the script should stop if you hold down the Ctrl key and press C. If you stat it again and add a space and '&' at the end, you script will run in the background. It does depend on what that script is doing for how useful that might be
Re: Console in Raspbian
As I wrote in the first line, the script is not being written by me in the command line. My RPi boots and it automatically starts a script. I am starting a script in /etc/rc.local. This script is starting xinitrc:
I am actually surprised, because I was doing it half year ago and I can't find a place where my localhost website on apache server is starting - there is nothing inside /boot folder.
Code: Select all
if [ -f /boot/xinitrc ]; then
ln -fs /boot/xinitrc /home/user/.xinitrc;
su - user -c 'startx' &
fi
python /home/user/User/sensor5.py
exec 2>>/tmp/rc.errors
exit 0