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

ARTEC ULTIMA 2000 (MEDION MD/LT 9385/9375)

Device ID
Bus 003 Device 004: ID 05d8:4002 Ultima Electronics Corp. Artec Ultima 2000 (GT6801 based)/Lifetec LT9385 Scanner

Download firmware
wget http://download2.medion.com/downloads/treiber/sca9385win9xp.exe -P /tmp
unzip /tmp/sca9385win9xp.exe -d /tmp/
sudo mkdir -p /usr/share/sane/gt68xx/
sudo cp /tmp/DRIVER/SETUPEXT/GT/WINX/gt680xfw.usb /usr/share/sane/gt68xx/

Configure sane
sudo sed -i '61s|#override "artec-ultima-2000"|override "artec-ultima-2000"|g' /etc/sane.d/gt68xx.conf