Initial setup:
- Use Win32DiskImager to burn the 2017-09-07-raspbian-stretch.img file to a micro SD card (it will restart itself after the initial boot and partition resizing)
- Open the terminal window and type: sudo raspi-config
- Use the configuration tool to
- Assign a new password for the user "pi" (default originally set to "raspberry")
- Set Localisation Options (set all three to your area)
- Enable SSH using Interfacing Options
- Enable VNC using Interfacing Options
- Restart the Pi
Connect Remotely
Determine the ip address to us with VNC Viewer and PuTTY in a terminal window on the RPi type:ifconfigNow use the reported IP Address in either PuTTY or VNC Viewer to ensure you have a remote connection. VNC will require the username "pi" along with the password you set during Initial Setup
Set Chromium to auto launch in kiosk mode and disable the screen saver / screen blanking
- Launch a terminal window (on the RPi, or using PuTTY).
- Edit the startup file to auto launch on boot by typing sudo nano /home/pi/.config/lxsession/LXDE-pi/autostartto launch the nano text editor against the auto start file.
- Add the following lines to the file:
@xset s off
@xset -dpms
@xset noblank
@chromium-browser --disable-infobars --kiosk http://www.PageToDisplay.com
-
To disable the crash buble when you power cycle the RPi without closing the chromium session correctly, edit the file etc/rc.local
sudo nano /etc/rc.localAdd the following line above "exit 0" [This is one line of code with a single space before the file path]sed -i 's/"exit_type":"Crashed"/"exit_type":"none"/' /home/pi/.config/chromium/Default/Preferences
Hide Cursor Visibility
- Install unclutter in a terminal window type:sudo apt install unclutter
Disable touch capability for the RPi official 7-inch screen
- Edit the /boot/config.txt filesudo nano /boot/config.txtAdd the following two lines to the bottom of the file# Disable the touch screen
disable_touchscreen=1
No comments:
Post a Comment