Skip to main content
InSource Solutions

TN - 1013 Auto-start the Chromium-Browser in full screen mode to show a specific URL on the Raspberry Pi

Description

 

This article from InSource shows how to Auto-Start the Chromium browser in full screen mode when using a Raspberry Pi as a Web Client for Aveva Edge's IOT View.

  • Author: Rufus Handsome
  • Published: 08/11/2020
  • Applies to: Raspberry Pi 3, 3B, 4  (Aveva Edge 2017 v8.1 SP5 and Aveva Edge 2020)

Details

on the Raspberry Pi, to Auto-start the Chromium-Browser in full screen mode to show a specific URL, please do the following.
 
1.) open a terminal session on the Raspberry Pi or ssh into the Raspberry Pi using something like "Putty" for Windows. 
Note - SSH must be enabled on the Pi using raspi-config
 
2.) in the terminal at the command prompt issue the following command without the quotes:
"sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart"
 
3.) Add the following line of code to the bottom of the text in the file, without the quotes:
"@chromium-browser --disable-restore-session-state --kiosk --app=www.whatever.com or http://webpage-ip-address"
 
4.) When complete, press "Ctrl x" to exit, and "Y" at the question to save file.
 
5.) When back at the command prompt, enter "sudo reboot", without the quotes.
 
That should do it.
 
Video of the process is below: