Hello there Stack Exchange,
I’m trying to use a Raspberry Pi to make a sort of Kiosk display unit out of a TV screen. I figured that this would be a simple enough process, write a startup script that actives LXDE, x11vnc and chromium to the page I want and it’s done. But unfortunately, I can’t seem to get my rc.local script to work exactly as I want it too and I’m not sure why. This is the code I have added to rc.local
su pi -c startx&
su pi -c x11vnc -display :0 -q -usepw -rfbport 5901
su pi -c chromium --kiosk --incognito "http://www.springwater.ca/"
When the machine is booting it will run the startx command but not the x11vnc or chromium commands. Have I missed something here? Or am I going about this the completely wrong way?
Thanks,
Michael
i use “nodm” (as package in Debian or from here: http://www.enricozini.org/sw/nodm/) on my Raspberry to login my user and start LXDE. Then autostart all needed applications as described here: http://wiki.lxde.org/en/Autostart.
Edit to answer the comment:
In Debian you can configure the user (and other things) in the file /etc/default/nodm.
I have set the parameter:
best wishes,
Matthias