Revision [3636]
Last edited on 2010-02-17 08:30:54 by TonyHawk (unregistered user)Additions:
READ [[http://www.research-service.com/ custom essays]]
Revision [2260]
Edited on 2009-04-02 01:50:39 by WikiAdminAdditions:
OK, first download the AMD driver, build the debian packages
aptitude gcc debhelper linux-header-2.6.26-1
sh ati-whatever.sh --buildpkg Debian/lenny
That gives you the packages. Install then in the chroot env.
Then go to /usr/src/fglrx/build_mod and invoke "make.sh". You will need the corresponding linux-header package and a bunch of other dependencies. Once that's done, go back up 1 level and run "make_install.sh". That should give you the fglrx.ko module. In your lts.conf, add MODULE_01 = fglrx so this module is loaded automatically.
Then you need a working xorg.conf. This is tricky. I got mine by plugging a usb drive to the thin client and install Linux on that...
aptitude gcc debhelper linux-header-2.6.26-1
sh ati-whatever.sh --buildpkg Debian/lenny
That gives you the packages. Install then in the chroot env.
Then go to /usr/src/fglrx/build_mod and invoke "make.sh". You will need the corresponding linux-header package and a bunch of other dependencies. Once that's done, go back up 1 level and run "make_install.sh". That should give you the fglrx.ko module. In your lts.conf, add MODULE_01 = fglrx so this module is loaded automatically.
Then you need a working xorg.conf. This is tricky. I got mine by plugging a usb drive to the thin client and install Linux on that...
Deletions:
ati-driver-installer...run --buildpkg Debian/etch
Revision [1887]
Edited on 2008-08-16 10:11:36 by WikiAdminAdditions:
Turn on Xinerama for better dual screen support
Section "ServerFlags"
Option "Xinerama" "true"
Section "ServerFlags"
Option "Xinerama" "true"
Revision [1864]
Edited on 2008-08-04 03:39:06 by WikiAdminAdditions:
~ [[LinuxLTSPUbuntu LTSP on Ubuntu]]
-----
-----
Revision [1679]
Edited on 2008-04-18 10:16:17 by WikiAdminAdditions:
Run **gdmsetup**, click the xdmcp button. then restart gdm. Make sure you have gdm configured to start automatically. I believe gdmsetup adds this to /etc/gdm/gdm.conf. Not 100% sure.
Deletions:
Revision [1678]
Edited on 2008-04-18 10:14:49 by WikiAdminAdditions:
Inside lts.conf, you can specify a full xorg.conf for each thin client. For ati, one can come up with a xorg.conf with **aticonfig**. Pay attention to keyboard model and layout. If you have a 105-key keyboard and you put in pc104, you will loose your keyboard once X starts.
For nvidia, I believe the essentials are
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Device"
Identifier "My Video Card"
Driver "nvidia"
Option "TwinView"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "50-85"
Option "MetaModes" "1280x1024,1280x1024"
Option "TwinViewOrientation" "LeftOf"
Option "NvAGP" "1"
BusID "PCI:0:11:0"
EndSection
==Enable xdmcp and gdm==
Run **gdmsetup**, the restart gdm. Make sure you have gdm configured to start automatically. I believe gdmsetup adds this to /etc/gdm/gdm.conf. Not 100% sure.
[xdmcp]
Enable=true
For nvidia, I believe the essentials are
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Device"
Identifier "My Video Card"
Driver "nvidia"
Option "TwinView"
Option "SecondMonitorHorizSync" "30-70"
Option "SecondMonitorVertRefresh" "50-85"
Option "MetaModes" "1280x1024,1280x1024"
Option "TwinViewOrientation" "LeftOf"
Option "NvAGP" "1"
BusID "PCI:0:11:0"
EndSection
==Enable xdmcp and gdm==
Run **gdmsetup**, the restart gdm. Make sure you have gdm configured to start automatically. I believe gdmsetup adds this to /etc/gdm/gdm.conf. Not 100% sure.
[xdmcp]
Enable=true
Deletions:
Revision [1677]
Edited on 2008-04-18 10:08:08 by WikiAdminAdditions:
==config ltsp==
==Build ati driver package==
==Build nvidia driver==
Run the installer with the options
--no-runlevel-check --no-x-check --keep -a --kernel-source-path=/usr/src/linux-source-2.6.x
If successful, you will find the binaries inside the temp directory created by the installer. Next, go into the temp directory and copy all those files to the corresponding directories in /opt/ltsp/i386 on LTSP server. The followings are the most critical ones, but I also copied all others created by the installer
==Build xorg.conf-xxx==
Inside lts.conf, you can specify a full xorg.conf for each thin client. For ati, one can come up with a xorg.conf with **aticonfig**
[Default]
SERVER = 192.168.18.13
XSERVER = fglrx
XF86CONFIG_FILE = /etc/xorg.conf-aticonfig
X_MOUSE_PROTOCOL = "PS/2"
XkbModel = "pc105"
XkbLayout = "us"
XkbSymbols = "us(pc105)"
XkbGeometry = "us(pc105)"
#X_COLOR_DEPTH = 24
USE_XFS = N
SCREEN_01 = shell
SCREEN_07 = startx
SYSLOG_HOST = 192.168.18.13
==Build ati driver package==
==Build nvidia driver==
Run the installer with the options
--no-runlevel-check --no-x-check --keep -a --kernel-source-path=/usr/src/linux-source-2.6.x
If successful, you will find the binaries inside the temp directory created by the installer. Next, go into the temp directory and copy all those files to the corresponding directories in /opt/ltsp/i386 on LTSP server. The followings are the most critical ones, but I also copied all others created by the installer
==Build xorg.conf-xxx==
Inside lts.conf, you can specify a full xorg.conf for each thin client. For ati, one can come up with a xorg.conf with **aticonfig**
[Default]
SERVER = 192.168.18.13
XSERVER = fglrx
XF86CONFIG_FILE = /etc/xorg.conf-aticonfig
X_MOUSE_PROTOCOL = "PS/2"
XkbModel = "pc105"
XkbLayout = "us"
XkbSymbols = "us(pc105)"
XkbGeometry = "us(pc105)"
#X_COLOR_DEPTH = 24
USE_XFS = N
SCREEN_01 = shell
SCREEN_07 = startx
SYSLOG_HOST = 192.168.18.13
Deletions:
# Build nvidia driver
Run the installer with the options "--no-runlevel-check --no-x-check --keep -a --kernel-source-path=/usr/src/linux-source-2.6.18". If successful, you will find the binaries inside the temp directory created by the installer. Next, go into the temp directory and copy all those files to the corresponding directories in /opt/ltsp/i386 on LTSP server. The followings are the most critical ones, but I also copied all others created by the installer
# config ltsp
Revision [1676]
Edited on 2008-04-18 10:03:53 by WikiAdminAdditions:
chroot /opt/ltsp/i386
# then fix up a xorg.conf-ati, driver name = fglrx
# Build nvidia driver
Download the nvidia driver. Go to a thin client's shell, run apt-get install linux-headers, linux-source, gcc, etc. This is necessary because the installer won't build the drivers unless there it's able to detect an nvidia card - which is absent on the LSTP server. So the installer needs to be ran on the thin client.
Run the installer with the options "--no-runlevel-check --no-x-check --keep -a --kernel-source-path=/usr/src/linux-source-2.6.18". If successful, you will find the binaries inside the temp directory created by the installer. Next, go into the temp directory and copy all those files to the corresponding directories in /opt/ltsp/i386 on LTSP server. The followings are the most critical ones, but I also copied all others created by the installer
TMP_DIR/usr/src/nv/nvidia.ko --> /opt/ltsp/i386/lib/modules/2.6.x/kernel/driver/video/
TMP_DIR/usr/X11R6/lib/modules/drivers/nvidia_drv.so --> /opt/ltsp/i386/usr/lib/xorg/modules/drivers/
# config ltsp
# then fix up a xorg.conf-ati, driver name = fglrx
# Build nvidia driver
Download the nvidia driver. Go to a thin client's shell, run apt-get install linux-headers, linux-source, gcc, etc. This is necessary because the installer won't build the drivers unless there it's able to detect an nvidia card - which is absent on the LSTP server. So the installer needs to be ran on the thin client.
Run the installer with the options "--no-runlevel-check --no-x-check --keep -a --kernel-source-path=/usr/src/linux-source-2.6.18". If successful, you will find the binaries inside the temp directory created by the installer. Next, go into the temp directory and copy all those files to the corresponding directories in /opt/ltsp/i386 on LTSP server. The followings are the most critical ones, but I also copied all others created by the installer
TMP_DIR/usr/src/nv/nvidia.ko --> /opt/ltsp/i386/lib/modules/2.6.x/kernel/driver/video/
TMP_DIR/usr/X11R6/lib/modules/drivers/nvidia_drv.so --> /opt/ltsp/i386/usr/lib/xorg/modules/drivers/
# config ltsp
Deletions:
Revision [1674]
Edited on 2008-04-17 16:38:13 by WikiAdminAdditions:
READ http://wiki.debian.org/LTSP/Howto
Revision [1672]
Edited on 2008-04-17 16:35:30 by WikiAdminAdditions:
add boot info to /etc/dhcp3/dhcpd.conf (ltspcfg generated a sample in /etc/ltsp/dhcp/)
Revision [1671]
Edited on 2008-04-17 16:32:13 by WikiAdminAdditions:
==config ltsp==
run ltspcfg
Change atftpd to serve /var/lib/tftpboot (in /etc/inetd.conf)
run ltspcfg
Change atftpd to serve /var/lib/tftpboot (in /etc/inetd.conf)
Revision [1668]
Edited on 2008-04-17 08:57:55 by WikiAdminAdditions:
dpkg -i fglrx-driver_8.476-1_i386.deb
dpkg -i fglrx-driver-dev_8.476-1_i386.deb
dpkg -i fglrx-kernel-src_8.476-1_i386.deb
dpkg -i fglrx-amdcccle_8.476-1_i386.deb
dpkg -i fglrx-driver-dev_8.476-1_i386.deb
dpkg -i fglrx-kernel-src_8.476-1_i386.deb
dpkg -i fglrx-amdcccle_8.476-1_i386.deb
Revision [1667]
Edited on 2008-04-17 08:55:53 by WikiAdminAdditions:
# Build ati driver package
aptitude install gcc debhelper
ati-driver-installer...run --buildpkg Debian/etch
aptitude install gcc debhelper
ati-driver-installer...run --buildpkg Debian/etch
Revision [1666]
Edited on 2008-04-17 08:23:51 by WikiAdminAdditions:
====LTSP5 on Debian====
aptitude install atftpd
aptitude install dhcp3-server
aptitude install ltsp-utils ltsp-server-standalone
# Build client
> ltsp-build-client
NOTE: adding default dist and components to security mirror:
http://security.debian.org/ etch/updates main
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional base dependencies: libgcrypt11 libgpg-error0 liblzo1 libopencdk8 tasksel
I: Checking component main on http://http.us.debian.org/debian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
info: LTSP client installation completed successfully
# build client for i386
> ltsp-build-client --arch i386
aptitude install atftpd
aptitude install dhcp3-server
aptitude install ltsp-utils ltsp-server-standalone
# Build client
> ltsp-build-client
NOTE: adding default dist and components to security mirror:
http://security.debian.org/ etch/updates main
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional base dependencies: libgcrypt11 libgpg-error0 liblzo1 libopencdk8 tasksel
I: Checking component main on http://http.us.debian.org/debian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
info: LTSP client installation completed successfully
# build client for i386
> ltsp-build-client --arch i386
Revision [1665]
Edited on 2008-04-16 23:14:09 by WikiAdminAdditions:
http://ltsp.mirrors.tds.net/pub/ltsp/docs/ltsp-4.1-en.html#AEN754
==lts.conf==
Lots of stuff to cover. Just make sure there is a lts.conf in $NFS_ROOT/etc/
If you need to modify the init script ran by your thin client, edit the init file inside $LBE_HOME/ltsp_kernel_kit/initramfs. There the skeleton of the thin client OS environment is stored.
==lts.conf==
Lots of stuff to cover. Just make sure there is a lts.conf in $NFS_ROOT/etc/
If you need to modify the init script ran by your thin client, edit the init file inside $LBE_HOME/ltsp_kernel_kit/initramfs. There the skeleton of the thin client OS environment is stored.
Revision [1658]
Edited on 2008-04-16 06:38:49 by WikiAdminAdditions:
If any of the source does not download, go to http://ltsp.mirrors.tds.net/pub/ltsp/tarballs and download it to the tarballs directory. Then re-run build_all --fetch. It tries to download and install a whole bunch of tools which already on the host machine. To me, it doesn't make sense to waste that much time but who knows...
Deletions:
Revision [1657]
Edited on 2008-04-16 06:19:18 by WikiAdminAdditions:
LTSP-5 is much simpler. Unfortunately, I'm stuck with a gentoo LTSP server, which runs LTSP4. Here are the stuff I came across when trying to load a GBe network driver.. I ended up having to upgrade to LTSP-4.2.
Deletions:
Revision [1656]
Edited on 2008-04-16 06:19:07 by WikiAdminAdditions:
====LTSP-4.2====
LTSP-5 is much simpler. Unfortunately, I''m stuck with a gentoo LTSP server, which runs LTSP4. Here are the stuff I came across when trying to load a GBe network driver.. I ended up having to upgrade to LTSP-4.2.
LTSP-5 is much simpler. Unfortunately, I''m stuck with a gentoo LTSP server, which runs LTSP4. Here are the stuff I came across when trying to load a GBe network driver.. I ended up having to upgrade to LTSP-4.2.
Deletions:
Revision [1655]
Edited on 2008-04-16 06:16:53 by WikiAdminAdditions:
1) Thin client downloads initramfs.gz and the kernel image from tftp, which contains a minimal OS environment. This file is extracted to /dev/ram0 on the thin client, and mounted as root. It will then execute the **init** script or the **linuxrc** script in older version.
==pxelinux.cfg==
Boot options can be specified in /tftpboot/2.6.20.9-ltsp-1/pxelinux.cfg/default. When the thin client boots, you will see that it tries to load the pxelinux.cfg with several names. If one is found, then it will use that file. If none is found, it will use the **default** file. It's the place to customize each LTSP client's config.
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-1
append rw root=/dev/ram0 initrd=initramfs-niclist.gz vga=791 NIC=tg3 panic=180 debug
==pxelinux.cfg==
Boot options can be specified in /tftpboot/2.6.20.9-ltsp-1/pxelinux.cfg/default. When the thin client boots, you will see that it tries to load the pxelinux.cfg with several names. If one is found, then it will use that file. If none is found, it will use the **default** file. It's the place to customize each LTSP client's config.
prompt 0
label linux
kernel bzImage-2.6.17.8-ltsp-1
append rw root=/dev/ram0 initrd=initramfs-niclist.gz vga=791 NIC=tg3 panic=180 debug