Build GeeXboX from repository

#!/bin/bash

# install required packages
sudo apt-get install -y mercurial build-essential libncurses5-dev flex bison gawk \
gettext libreadline5 libreadline5-dev libunistring0 texinfo

# get source code
hg clone http://hg.openbricks.org/openbricks

# change into source code directory
cd openbricks/

# configure
make menuconfig

# compile
make

exit

# OLD

#
# PARAMETERS
#
GEEXBOX_PATH=~/gxdev

#
# FUNCTIONS
#
add_patch() {
echo "-- add_path ---"

# echo "http://www.uclibc.org/downloads/snapshots/uClibc-20070829.tar.bz2" > $GEEXBOX_PATH/geexbox/packa

instalNXClient.sh

#!/bin/bash

sudo su

cat << EOF > /etc/apt/sources.list.d/freenx-team.list
deb http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
EOF

apt-get install nxclient

# old #
wget http://64.34.161.181/download/3.2.0/Linux/nxclient_3.2.0-9_i386.deb -P /tmp
dpkg -i /tmp/nxclient_*.deb
rm /tmp/nxclient_*.deb
chmod 755 /usr/lib/cups/backend/ipp

# LINK
# http://www.nomachine.com/download-client-linux.php

Create XEN Windows XP Domain

#### lvm ####
lvcreate --name xp-disk --size 8G vg1
dd if=/dev/zero of=/dev/vg1/xp-disk

# installation
cat < /etc/xen/xp-inst
kernel='/usr/lib/xen-4.1/boot/hvmloader'
builder='hvm'
memory='2048'
name='xp-inst'
device_model='/usr/lib/xen-default/bin/qemu-dm'
boot='d'
disk=['phy:/dev/vg1/xp-disk,ioemu:hda,w', 'file:/mnt/winxp.iso,hdc:cdrom,r']
vnc=1
vncviewer=1
vncpasswd="xp"
vif=['type=ioemu, bridge=eth0, mac=00:00:00:55:00:00']
usbdevice='tablet'
vnclisten='0.0.0.0'
EOF

# start VM
xm create xp-inst

# connect to VM from client
vinagre YOUR_XEN_Dom0_IP

# xp
c