I recently use Raspberry PIs for everything and and many projects. When I have any kind of interface showing to users I use webinterfaces shown in Chrome Browser. So I need to run it in a Kiosk mode. This it how it worked for me:
First of all, bring your installation on the latest level:
sudo apt-get update
sudo apt-get upgrade
Install chromium browser
sudo apt-get install chromium-browser
The next step is to create an autostart file to run Chrome on startup in Kiosk mode. Create a new file:
sudo nano ~/.config/autostart/autoChromium.desktop
Add the following lines. Replace http://www.website.com with any other website you want to load on startup, or locally existing file.
[Desktop Entry]
Type=Application
Exec=/usr/bin/chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --kiosk http://www.website.com
Hidden=false
X-GNOME-Autostart-enabled=true
Name[en_US]=AutoChromium
Name=AutoChromium
Comment=Start Chromium when GNOME starts
Then reboot. Chromium should automatically launch in kiosk mode after the desktop has loaded.
By default a screensaver will start after a while, what you probably don’t want to have in a kiosk mode.
Stop text terminals from blanking and change the following to lines in the file:
sudo nano /etc/kbd/config
BLANK_TIME=0
POWERDOWN_TIME=0
Than disabling the blank screen forever. If you want to disable the blank screen at every startup, just update the /etc/lightdm/lightdm.conf file and add in the [SeatDefaults] section the following command:
/etc/lightdm/lightdm.conf
[SeatDefaults]
xserver-command=X -s 0 -dpms
Reboot the Raspberry. Hope this helps you.
cheers.
Sebastian