This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 
                    wiki:advanced:tce:install [2013/03/14 22:30] sunweaver created  | 
                
                    wiki:advanced:tce:install [2023/12/19 23:57] (current) gratuxri  | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installation of the X2Go TCE based on Debian  | + | ====== Installation of the classic, NFS-filesystem-based  | 
| In the following article we will explain how to set up an X2Go Thin Client environment. In the following we will use three technical terms that we want to define/ | In the following article we will explain how to set up an X2Go Thin Client environment. In the following we will use three technical terms that we want to define/ | ||
| Line 8: | Line 8: | ||
| < | < | ||
| + | |||
| + | < | ||
| ===== Network setup ===== | ===== Network setup ===== | ||
| Line 24: | Line 26: | ||
|   * X2Go Thin Client hardware (can be everything from e.g. Pentium III, AMD Athlon upwards), main requirement is that the thin client hardware box contains a network card that is PXE/ |   * X2Go Thin Client hardware (can be everything from e.g. Pentium III, AMD Athlon upwards), main requirement is that the thin client hardware box contains a network card that is PXE/ | ||
| - | ===== X2Go TCE / Debian  | + | ===== X2Go TCE / Debian  | 
| - | < | + | < | 
| - | In the following description we will describe a simple X2Go TCE installation, | + | In the following description we will describe a simple X2Go TCE installation, | 
| - | The resulting X2Go Thin Client chroot will be a Debian GNU/Linux (squeeze) system by default. | + | The resulting X2Go Thin Client chroot will be a Debian GNU/Linux (bullseye) system by default. | 
| :!: **Before you continue!** | :!: **Before you continue!** | ||
| - | > Please make sure that you have added the X2Go repository to your package management system (on X2Go server and on X2Go PXE server). The required steps are described [[wiki:x2go-repository-debian|here (Debian)]] and [[:wiki:x2go-repository-ubuntu|here (Ubuntu)]]. | + | > Please make sure that you have added the X2Go repository to your package management system (on X2Go server and on X2Go PXE server). The required steps are described [[wiki:repositories: | 
| ==== Installing X2Go server ==== | ==== Installing X2Go server ==== | ||
| - | The X2Go Server installation is described in detail on [[:wiki:components: | + | The X2Go Server installation is described in detail on [[:wiki:advanced:x2goserver-in-detail|this wiki page]]. Please follow instructions there first, then proceed below. | 
| Line 56: | Line 58: | ||
| </ | </ | ||
| - | === Basic installation of the X2go PXE server === | + | === Basic installation of the X2Go PXE server === | 
| Now a bit more in detail... | Now a bit more in detail... | ||
| - |    - Install a minimal Debian GNU/ | + |    - Install a minimal Debian GNU/Linux or Ubuntu GNU/Linux Server  | 
| - |    - Then add the X2go repository to your freshly installed  | + |    - Then add the X2Go repository to your freshly installed  | 
| - |    - The only X2go related package needed on the X2go PXE server is the '' | + |    - The only X2Go related package needed on the X2Go PXE server is the '' | 
| $ sudo aptitude install x2gothinclientmanagement | $ sudo aptitude install x2gothinclientmanagement | ||
| - | </ | + | </ | 
| - | === Building the X2go Thin Client system (the so-called chroot environment) === | + | === Building the X2Go Thin Client system (the so-called chroot environment) === | 
|   - After installation of the '' |   - After installation of the '' | ||
| $ sudo editor / | $ sudo editor / | ||
| - | </ | + | </ | 
| - |   - When done, start the creation of a fresh X2go Thin Client chroot environment:< | + |   - When done, start the creation of a fresh X2Go Thin Client chroot environment:< | 
| $ sudo x2gothinclient_create | $ sudo x2gothinclient_create | ||
| </ | </ | ||
| - |   - Now you will be able to observe a medium long installation process on your system. This installation process takes place in a chroot jail environment, | + |   - Now you will be able to observe a medium long installation process on your system. This installation process takes place in a chroot jail environment, | 
|   - During installation you will be asked to configure your thin client' |   - During installation you will be asked to configure your thin client' | ||
| - |   - After the X2go TCE installation of your X2go Thin Client (default location: ''/ | + |   - After the X2Go TCE installation of your X2Go Thin Client (default location: ''/ | 
|   - Next, you may take a look at the config files in the folder ''/ |   - Next, you may take a look at the config files in the folder ''/ | ||
| - |     - '' | + |     - '' | 
| - |     - '' | + |     - '' | 
| - |     - '' | + |     - '' | 
| $ scp ~/ | $ scp ~/ | ||
| </ | </ | ||
| - |   - When done with all your customizations execute the '' | + |   - When done with all your customizations execute the '' | 
| $ sudo x2gothinclient_update | $ sudo x2gothinclient_update | ||
| </ | </ | ||
| - | With this last step your X2go Thin Client' | + | With this last step your X2Go Thin Client' | 
| - | === Boot environment for your X2go Thin Client system (PXE, TFTP) === | + | === Provide firmware for certain hardware devices === | 
| + | |||
| + | Debian does not ship so-called non-free firmware in its main package archive area. However, several network cards (and other TCE relevant devices) require the installation of a firmware package from Debian non-free. | ||
| + | |||
| + | Run the command '' | ||
| + | < | ||
| + | deb http:// | ||
| + | </ | ||
| + | |||
| + | Then run (in your X2Go TCE chroot):< | ||
| + | $ apt-get update | ||
| + | $ apt-get install firmware-linux-nonfree firmware-bnx2 firmware-bnx2x firmware-myricom firmware-netxen  | ||
| + | </ | ||
| + | |||
| + | If this command fails, please check if packages have been removed from your Debian version or if they are not yet available for your version. Also scan for other firmware packages:< | ||
| + | $ apt-cache search firmware | ||
| + | </ | ||
| + | |||
| + | Also, there is a fine tool that you can run on normal Linux systems that helps with the package installation for several special hardware devices: [[http:// | ||
| + | |||
| + | |||
| + | === Boot environment for your X2Go Thin Client system (PXE, TFTP) === | ||
| With the '' | With the '' | ||
| Line 97: | Line 120: | ||
| </ | </ | ||
| - | If there already is a PXE boot environment installed at the configured location, the script will abort with a warning. If you want to combine  | + | If there already is a PXE boot environment installed at the configured location, the script will abort with a warning. If you want to combine  | 
| + | |||
| + | Note: At the end of the '' | ||
| - | Note: At the end of the '' | + | === Testing X2Go TCE === | 
| - | === Testing X2go TCE === | + | You should now be able to start your office PCs as X2Go Thin Clients. To do this, configure the computer' | 
| - | You should now be able to start your office PCs as X2go Thin Clients. To do this, configure  | + | It is also possible  | 
| - | === Purging  | + | === Purging  | 
| - | To get rid of all files related to X2go TCE, please run this script: | + | To get rid of all files related to X2Go TCE, please run this script: | 
| < | < | ||
| Line 113: | Line 138: | ||
| </ | </ | ||
| - | ===== Tweaking your X2go TCE ===== | + | ===== Tweaking your X2Go TCE ===== | 
| ==== Configuration of DHCPD ==== | ==== Configuration of DHCPD ==== | ||
| Line 162: | Line 187: | ||
| ==== Configuration of x2goclient (display manager mode) ==== | ==== Configuration of x2goclient (display manager mode) ==== | ||
| - | === x2goclient  | + | === X2Go Client  | 
| Please feel free to customize the command line options used by the '' | Please feel free to customize the command line options used by the '' | ||
| Line 175: | Line 200: | ||
| x2goclient --pgp-card \ | x2goclient --pgp-card \ | ||
|             |             | ||
| - |             | + |             | 
|             |             | ||
|             |             | ||
| Line 181: | Line 206: | ||
|             |             | ||
|             |             | ||
| - |             | + |             | 
| - |             | + |             | 
|             |             | ||
|             |             | ||
| - | --add-to-known-hosts \ | + |             | 
| - | --read-exports-from=/ramdrive/export \ | + | |
|             |             | ||
| </ | </ | ||
| - | After modifying the '' | + | After modifying the '' | 
| < | < | ||
| Line 196: | Line 220: | ||
| </ | </ | ||
| - | === x2goclient in non-LDAP mode === | + | === X2Go Client in broker mode === | 
| + | |||
| + | Please feel free to customize the command line options used by the '' | ||
| + | |||
| + | < | ||
| + | $ editor / | ||
| + | </ | ||
| + | |||
| + | The below example uses LDAP-mode for '' | ||
| + | |||
| + | < | ||
| + | x2goclient --pgp-card \ | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + |             | ||
| + | </ | ||
| + | |||
| + | After modifying the '' | ||
| + | |||
| + | < | ||
| + | $ x2gothinclient_update | ||
| + | </ | ||
| + | |||
| + | |||
| + | === X2Go Client in sessions file mode === | ||
| - | The Debian GNU/ | + | The Debian GNU/ | 
| There are two extra commandline arguments that you should be aware in the below configuration.  | There are two extra commandline arguments that you should be aware in the below configuration.  | ||
|   * '' |   * '' | ||
| - |   * '' | + |   * '' | 
| < | < | ||
| Line 209: | Line 268: | ||
|             |             | ||
|             |             | ||
| - |             | + |             | 
|             |             | ||
|             |             | ||
| Line 215: | Line 274: | ||
|             |             | ||
|             |             | ||
| - |             | + |             | 
| - |             | + |             | 
|             |             | ||
|             |             | ||
| - | --add-to-known-hosts \ | + |             | 
| - | --read-exports-from=/ramdrive/export \ | + | |
|             |             | ||
| </ | </ | ||
| - | After modifying the '' | + | After modifying the '' | 
| < | < | ||