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

Update: Autostart Chromium for full screen applications

HTML interfaces are neat for controlling a Raspberry Pi, but require loading a website in a browser like Chromium in full screen after
boot (kiosk mode). Since the last update, the description in the tutorial Chromium Autostart work no more. Instead, here’s an easy way for
enabling kiosk mode via rc.local.

Autostart Chromium with rc.local
Open the file with

and add before the line

the following

Now, Chromium starts automatically in kiosk mode after booting and opens a website, here localhost for a remote control.

Tutorial CherryPy for HTML interfaces: http://www.knight-of-pi.org/cherrypy-an-elegant-python-webserver-for-raspberry-pi-remote-controls/
Chromium Autostart (deprecated): http://www.knight-of-pi.org/autostart-chromium-60-in-kiosk-mode-for-raspberry-pi-remote-controls/

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.


  1. I have tried this and it doesn’t open the page I want, it always open the welcome to Chrome page and
    Also its shows a No–sandbox is not secure
    It doesn’t keep the settings I set in Chromium.
    Any Ideas

    • Hey Paul,

      if you’re only building a RPi device for displaying a website with no other web interaction, you can ignore the safety warning.
      In the command above, i open localhost to display a HTML remote control. If you want to show some website instead, you need to replace http://localhost:8080 with the website of your choice.

  2. Been playing with a lot of scripts to get something simple as this running..
    This just works like a charm, thanks a bunch :)

  3. ehmmmm,
    Works good, but when I enable Chromium autostart, it starts but I loose connection to X11VNC. I cannot connect to it. Any clues? Its something with xinit but at the moment I dont know what.

  4. Hi,

    Do you have any tips on disabling the screensaver when running this through rc.local?



Time limit is exhausted. Please reload CAPTCHA.