Tested on:RPi3; Raspbian Stretch; Chromium60
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)

Autostart Chromium 60 in kiosk mode for Raspberry Pi remote controls

This is deprecated! For autostarting recent Chromium versions, follow the steps in Autostart Chromium Update.

HTML and friends give a way for building ambitious remote controls for devices based on a Raspberry Pi, see tutorial CherryPy. For improved
usability, i’t be great if the remote control/website could be loaded on boot. Chromium 60 has a kiosk mode and can be started automatically
with a desktop entry.

Choose the Chromium start-up page
Starte Chromium by entering

Open Settings, go to On start-up, choose Open a specific page, then Add a new page and enter http://www.knight-of-pi.org
as Site URL.

Chromium Settings

Chromium Settings

Create a desktop entry
Desktop entries are Linux configuration files for desktop applications. Create a desktop entry for Chromium by entering

and write

into the file. Importantly, the kiosk mode starts the site fullscreen and without navigation. Instead of www.knight-of-pi.org, any website can be chosen, but would need to be set in Chromium Settings as well. For a local CherryPy remote control, it would be localhost:8080.

Test the desktop entry

for testing the desktop entry manually. Rebooting the Raspberry Pi now shows the same website.

Deactivate session restart
Chromium shows a notice after a session crashed and the Raspberry Pi was rebooted. That’s unwanted for a remote control and needs to be deactivated.
Open .bashrc with

and add at the end of the file

CherryPy: elegant Python server for the Raspberry Pi: http://www.knight-of-pi.org/cherrypy-an-elegant-python-webserver-for-raspberry-pi-remote-controls/
Tutorial autostart Chromium update: http://www.knight-of-pi.org/update-autostart-chromium-for-full-screen-applications/

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


Time limit is exhausted. Please reload CAPTCHA.