1. in a new terminal window run:
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite
2. in Scratchbox run:
export DISPLAY=:2
af-sb-init.sh start
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite
export DISPLAY=:2
af-sb-init.sh start
sudo sh -c "echo 0 > /proc/sys/vm/vdso_enabled"
sudo sh -c "echo 4096 > /proc/sys/vm/mmap_min_add"
sudo sh -c "echo 4096 > /proc/sys/vm/mmap_min_addr"