Start "Chromium" automatically on booting the Pi3 with Raspbian JESSIE

derMatt picture derMatt · Nov 8, 2016 · Viewed 31k times · Source

I have a problem.

My goal is that the browser will automatically start up in fullscreenmode and don't go to screensaver mode when I reboot the Pi.

The Pi OS: Raspbian Jessie Version: September 2016 Kernel Version: 4.4

I already tried with:

Adding:

@/usr/bin/chromium --kiosk --ignore-certificate-errors --disable-restore-session-state "http://www.domain.com"

to the end of ~/.config/lxsession/LXDE-pi/autostart

and

sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

@chromium –kiosk http://www.domain.com

@xset s noblank

@xset s off

@xset –dpms

But nothing worked. And everything I found doesn't work :(

Can someone help me pls.

Answer

derMatt picture derMatt · Nov 8, 2016

Okay I fixed it like this now:

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

@xset s noblank

@xset s off

@xset –dpms

@chromium-browser --incognito --kiosk http://www.domain.com

and it works. The funnyest thing is: I tried this allready but then it didn't work. xD