I tried this tutorial on the latest debian wheezy (2015-01-31) http://www.lukebrowning.com/hardware/raspberry-pi/touch-screen-chromium-kiosk-on-the-raspberry-pi/ but its not working anymore... (If I made the same thing on an older debian wheezy (2014-06). Its working fine. What I should modify?
-
have you looked at these raspberrypi.stackexchange.com/search?q=kiosk also what specifically isn't working– Steve RobillardFeb 11, 2015 at 21:55
-
1Yes, first I red theese questions but too old question and didnt solved my problem. I think something changed with in the new debian wheezy, but iam not sure– szuniverseFeb 11, 2015 at 21:59
1 Answer
It appears there is now a different autostart file to use located in /etc/xdg/lxsession/LXDE-pi/autostart
To get Chromium to autostart follow these instructions
Type
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart"
Add the following line:
/usr/bin/chromium --kiosk --ignore-certificate-errors --disable-restore-session-state "http://www.domain.com"
Press Ctrl+x
- Press y
- Press Enter
Worked for me!
-
2On Raspbian Jessie add this line
@/usr/bin/chromium --kiosk --ignore-certificate-errors --disable-restore-session-state "http://www.domain.com"
to/home/pi/.config/lxsession/LXDE-pi/autostart
instead– czeraszJul 31, 2016 at 0:52 -
7As I understand it, Chromium is now Chromium Browser so you need
@/usr/bin/chromium-browser --kiosk --disable-restore-session-state www.domain.com
in the/home/pi/.config/lxsession/LXDE-pi/autostart
. I also had to remove the quotes and http to get it to work.– PeteNov 7, 2016 at 16:16 -
1The
--ignore-certificate-errors
also produced warnings when Chromium opened up. Otherwise, works like a charm. Aug 3, 2017 at 12:47 -
1Thank you so much for the
--disable-restore-session-state
flag. Was looking for that for ages! Sep 9, 2021 at 6:38