# build client (copy of default amd64 image)
# backup amd64-nvidia
tar czf /opt/ltsp/amd64-nvidia.bkp.$(date -I).tar.gz /opt/ltsp/amd64-nvidia
cp /opt/ltsp/images/amd64-nvidia.img /opt/ltsp/images/amd64-nvidia.img.bkp.$(date -I)
# copy amd64 to amd64-nvidia
rm -r /opt/ltsp/amd64-nvidia/
cp -a /opt/ltsp/amd64/ /opt/ltsp/amd64-nvidia
# install nvidia driver
export LTSP_HANDLE_DAEMONS=false
ltsp-chroot -p -a amd64-nvidia
LANG=en_US.UTF-8
# apt-get update -y
# apt-get install -y linux-headers-generic
# apt-get install -y nvidia-173
# apt-get install -y nvidia-304
apt-get install -y nvidia-current-updates
exit
# update image
ltsp-update-image amd64-nvidia
### v2
# ION thin client
export LTSP_HANDLE_DAEMONS=false
chroot /opt/ltsp/i386/
mount -t proc proc /proc
# upgrade system
apt-get update
apt-get dist-upgrade -y
# view avaiable dirver
apt-cache search nvidia
# install nvidia driver
# sudo apt-get install -y nvidia-current-updates
# apt-get install -y nvidia-96 nvidia-96-updates nvidia-173 nvidia-173-updates nvidia-current nvidia-current-updates
# exit chroot
umount /proc
exit
ltsp-update-image --arch=i386
sudo ltsp-update-image -a i386-ion
sudo ltsp-update-kernels
### wget http://www.panticz.de/ion.xorg.conf -O /opt/ltsp/i386/etc/X11/ion.xorg.conf
# edit /var/lib/tftpboot/ltsp/i386/lts.conf
[ion]
XSERVER=nvidia
### X_CONF = /etc/X11/ion.xorg.conf
# nvidia
apt-get install -y nvidia-current
# ati
#apt-get install -y fglrx
#####
# nvidia dirver
chroot /opt/ltsp/i386/
apt-get install -y linux-image
#linux-image-2.6.32-19-generic-pae
apt-get install -y apt-get install -y linux-headers-generic
#linux-headers-2.6.32-19-generic-pae
apt-get install -y nvidia-current
cp /tmp/xorg.conf /opt/ltsp/i386/etc/X11/ion.xorg.conf
cp /opt/ltsp/i386.org/etc/X11/ion.xorg.conf /opt/ltsp/i386/etc/X11/