RPi X11 autostart

From Flav's Wiki
Revision as of 16:52, 15 January 2015 by Flav (Talk | contribs) (the statup script)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This pages is based on http://www.antony-neu.com/2013/03/12/autostarting-a-browser-on-the-raspberry-pi/

We are using raspbian

Automatic start

With raspi-config check that the Pi is starting in desktop mode logged with pi user

diable screen server

Also to disable screen server add a package:

sudo apt-get install x11-xserver-utils

and edit /etc/sdg/lxsession/LXDE/autostart as follows: (commen xcreensaver and add the xset commands):

#@xscreensaver -no-splash
@xset s off
@xset -dpms
@xset s noblank

starting a program

edit /etc/sdg/lxsession/LXDE/autostart and add:

@sh /home/pi/start.sh

the statup script

File: /home/pi/start.sh



This will start epihany browser

test with cromium

sudo apt-get install chromium

File: /home/pi/start.sh


chromium -kiosk http://myniceurl.com/