1. We need chromium-browser as well as unclutter (to hide the cursor) and lightdm and its dependencies as a display manager:
sudo apt-get install chromium-browser unclutter lightdm
2. Enable GUI Boot and Auto Login:
sudo raspi-config
– Select Option 3 (Boot Options)
– Select B1 (Desktop / CLI)
– Select B4 (Desktop / Autologin)
– Exit
3. Automatically start Chromium:
sudo nano /home/pi/.Xsession
4. Type the following and Ctrl+X and Y and Enter and reboot:
xset s off
xset -dpms
xset s noblank
sed -i ‘s/”exited_cleanly”: false/”exited_cleanly”: true/’ ~/.config/chromium-browser Default/Preferences
chromium-browser –noerrdialogs –kiosk https://google.com –incognito –disable-translate –window-size=1920,1080 –window-position=0,0
5. Disable “Can’t update Chromium” message:
chromium-browser –check-for-update-interval=1 –simulate-critical-update
Credits
https://blockdev.io/raspberry-pi-2-and-3-chromium-in-kiosk-mode/