Skip to content

Instantly share code, notes, and snippets.

@jiphex
Created July 25, 2014 09:16
Show Gist options
  • Save jiphex/5eb319a4647b268e72d2 to your computer and use it in GitHub Desktop.
Save jiphex/5eb319a4647b268e72d2 to your computer and use it in GitHub Desktop.
LTSP Trusty.md

Creating a functional LTSP environment

with Ubuntu Trusty and Nvidia ION based thin clients

  1. Install Trusty server

  2. Do updates

  3. Install the desktop crap (Gnome and stuff, including probably xubuntu-desktop and gnome-fallback)

  4. Install ltsp-server-standalone from the Ubuntu Archive

  5. Configure networking, you need to have a second NIC with a static 192.168.8.0/24 address on it, and a DHCP server running there (the config comes with the aforementioned standalone package)

  6. Run sudo ltsp-build-client

  7. mount -t proc none /opt/ltsp/amd64/proc

  8. Chroot into the built environment chroot /opt/ltsp/amd64/

  9. Install the nvidia drivers (nvidia-current-updates from apt)

  10. Exit the chroot, umount /opt/ltsp/amd64/proc

  11. Configure /opt/ltsp/amd64/etc/X11/xorg.conf with at least the following:

    Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection

    Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection

  12. Rebuild the LTSP image: ltsp-update-image

  13. Rebuild the LTSP kernels: ltsp-update-kernels

  14. Configure /var/lib/tftpboot/ltsp/amd64/lts.conf as follows:

    [Default] XSERVER = nvidia LDM_DIRECTX = True LDM_SESSION = gnome-fallback.desktop SYSLOG_HOST = 192.168.0.1 LDM_SYSLOG = True CONFIGURE_X = True X_CONF = /etc/X11/xorg.conf

  15. As yet, I've not figured out if it's possible to make 3d-compositing work, so you're stuck with 2d desktop enviornments such as:

    • Xubuntu-desktop
    • Gnome Fallback (Metacity)
    • Awesome
    • Fluxbox
    • LXDE
    • Ratpoison
    • [others]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment