Raspoison

on Monday, June 8, 2015
This is an old blog entry but hopefully still relevant to some. Setting up a web kiosk system using raspberrypi+raspbian+ratpoison.This instruction assumes that you already installed raspbian on your SD card
sudo apt-get update  
sudo apt-get ratpoison  
sudo apt-get chromium  
sudo apt-get x11vnc  
sudo apt-get install x11-xserver-utils  

Start user pi at startup
 pi@raspberrypi:~$ grep pi /etc/inittab   
 1:2345:respawn:/bin/login -f pi tty1 /dev/tty1 2>&1  
 pi@raspberrypi:~$ cat /home/pi/.bash_profile   
 if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then  
 startx  
 fi  
Set ratpoison's config file
 pi@raspberrypi:~$ cat /home/pi/.xinitrc  
 exec ratpoison  
 pi@raspberrypi:~$ cat /home/pi/.ratpoisonrc  
 banish  
 exec xset s off  
 exec xset -dpms  
 exec unclutter -root  
 exec x11vnc -loop  
 exec /usr/bin/chromium --kiosk http://www.penoycentral.net  
Remotely connec thru vnc
 vncviewer raspberrypi.local  

You can try to test my Puppet module from github

0 comments:

Post a Comment