Here's a good place to start from:
Ubuntu LTSP QuickInstall HowTo
Sound (using pulseaudio) and mounting LocalDevices works properly, but there are some issues, I'll write down about here.
The first one being:
1) Iceweasel crashes when loading site with very large images:
I somehow suspect that it might run out of local (=thin client) video RAM - and generally: the local X server isn't using the graphic card correctly.###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 195 requests ago: file /tmp/buildd/iceweasel-12.0/toolkit/xre/nsX11ErrorHandler.cpp, line 190
According to "DRI Troubleshooting" on freedesktop.org, the following command is used to check if the "Direct Rendering Module" (DRM) is loaded in the kernel:
Code: Select all
dmesg | grep drm
Code: Select all
[drm:r100_cp_init] *ERROR* Failed to load firmware!
Although, according to "lscpi", our Radeon is a "RV100 / 7000(VE)", which should be supported by the free "radeon" xorg driver, it looks like it's trying to load the "R100" firmware - which is provided by proprietary binary-blobs (available in Debian's "non-free" repositories).(WW) RADEON(0): Direct rendering disabled
So, following the instructions from the "ATI Howto" at the Debian Wiki I've added the "non-free" repositories to "/etc/apt/sources.list" and installed "firmware-linux-nonfree".
This brought the expected firmware in "/lib/firmware/radeon". After rebooting the LTSP client, the "failed to load firmware"-error in dmesg was gone, the R100 firmware loaded properly - and checking Xorg.log, indicates that finally, direct rendering is enabled:
Code: Select all
cat /var/log/Xorg.7.log | grep Direct
Unfortunately, this neither improved the graphics performance: window-dragging still sluggish, and glxgears returns the same FPS (~16) as before(II) RADEON(0): Direct rendering enabled
Iceweasel continues to crash, but after some more reading, I'm now quite sure that it's related to Firefox/Iceweasel offloading pixmaps to X11, which exhausts all memory on the thin client and therefore causes the crash...
Some related links:
UbuntuLTSP Troubleshooting: Graphics problems
Thin clients freeze hard when out of RAM
Post by Jos. L on digipedia.org
MOZ_DISABLE_IMAGE_OPTIMIZE=1 environment variable (Firefox 3)