Wednesday, November 21, 2012


Setting up a web kiosk system using raspberrypi+raspbian+ratpoison

This instruction assumes that you already installed raspbian on your SD card

Installing required packages
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


Set ratpoison's config file

pi@raspberrypi:~$ cat /home/pi/.xinitrc
exec ratpoison

pi@raspberrypi:~$ cat /home/pi/.ratpoisonrc
exec xset s off
exec xset -dpms
exec unclutter -root
exec x11vnc -loop
exec /usr/bin/chromium --kiosk

Remotely connec thru vnc
vncviewer raspberrypi.local

Friday, November 2, 2012

Enable DNS queries in BIND

# rndc querylog 

Query logs should be logged on /var/log/messages

To turn off

# rndc querylog


Thursday, November 1, 2012

bash: scp: command not found

scp file.rar root@
root@'s password:
bash: scp: command not found
lost connection


i forgot that i have done a minimal server install on the receiving end. installing openssh-clients solve the problem