User Tools

Site Tools


wiki:components:tce

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:components:tce [2011/06/18 00:17]
sunweaver
wiki:components:tce [2013/03/14 22:29]
sunweaver removed
Line 1: Line 1:
-====== Installation of the X2go TCE based on Debian ======+====== Installation of the X2Go TCE based on Debian ======
  
-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/explain before we start:+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/explain before we start:
  
-  * X2go Server: a GNU/Linux application server that users can connect to with the ''x2goclient'' software. X2go servers can be situated in the LAN (local area network) or WAN (wide area network, i.e. the internet). +  * X2Go Server: a GNU/Linux application server that users can connect to with the ''x2goclient'' software. X2Go servers can be situated in the LAN (local area network) or WAN (wide area network, i.e. the internet). 
-  * X2go Thin Client: a user workstation in your office that boots from the network with minimal software. Only purpose is to start the ''x2goclient'' software and provide access to one (or more) X2go Server(s). +  * X2Go Thin Client: a user workstation in your office that boots from the network with minimal software. Only purpose is to start the ''x2goclient'' software and provide access to one (or more) X2Go Server(s). 
-  * X2go PXE Server: the server that serves chroot images to X2go Thin Clients via PXE, TFTP and NFS to thin client boxes. The X2go PXE Server has to be situated in your LAN. X2go PXE Server and X2go Server can be one machine, in production setups we recommend to separate these two functionalities onto two separate (virtual) servers.+  * X2Go PXE Server: the server that serves chroot images to X2Go Thin Clients via PXE, TFTP and NFS to thin client boxes. The X2Go PXE Server has to be situated in your LAN. X2Go PXE Server and X2Go Server can be one machine, in production setups we recommend to separate these two functionalities onto two separate (virtual) servers.
  
-<note>The X2go TCE has been developed on/for Debian GNU/Linux. -- You can surely use any GNU/Linux distribution as X2go Server (providing that the ''x2goserver'' package is available for the server's distro). The boot environment for the X2go PXE Server has been developed on Debian GNU/Linux and also been tested on Ubuntu GNU/Linux. The X2go Thin Client chroot can be configured to use Ubuntu GNU/Linux, but it is __highly recommended__ to leave the defaults and use Debian GNU/Linux for creating the X2go TCE chroot.</note>+<note>The X2Go TCE has been developed on/for Debian GNU/Linux. -- You can surely use any GNU/Linux distribution as X2Go Server (providing that the ''x2goserver'' package is available for the server's distro). The boot environment for the X2Go PXE Server has been developed on Debian GNU/Linux and also been tested on Ubuntu GNU/Linux. The X2Go Thin Client chroot can be configured to use Ubuntu GNU/Linux, but it is __highly recommended__ to leave the defaults and use Debian GNU/Linux for creating the X2Go TCE chroot.</note>
  
 ===== Network setup ===== ===== Network setup =====
  
-X2go TCE requires a local area network (LAN) that is at least switched at 100MB/s. The X2go Thin Client chroot distribution is not designed to work over the internet or on low bandwidth connections, but the X2go Thin Client can possibly give access to X2go servers outside of your LAN infrastructure that is: X2go Thin Clients can be used to work on X2go servers on the WAN (e.g. on the internet, in a public cloud, etc.).+X2Go TCE requires a local area network (LAN) that is at least switched at 100MB/s. The X2Go Thin Client chroot distribution is not designed to work over the internet or on low bandwidth connections, but the X2Go Thin Client can possibly give access to X2Go servers outside of your LAN infrastructure that is: X2Go Thin Clients can be used to work on X2Go servers on the WAN (e.g. on the internet, in a public cloud, etc.).
  
-You can combine X2go Server and X2go PXE Server functionality on one system. However, for production setups we highly recommend that you dedicate a separate server as the PXE boot server for the X2go TCE. If you have the chance of splitting these two functionalities up into two, this is a recommended way of setting up your X2go Thin Client Environment.+You can combine X2Go Server and X2Go PXE Server functionality on one system. However, for production setups we highly recommend that you dedicate a separate server as the PXE boot server for the X2Go TCE. If you have the chance of splitting these two functionalities up into two, this is a recommended way of setting up your X2Go Thin Client Environment.
  
-<note important>Please refrain from installing the PXE boot environment for X2go Thin Clients on your in-house production server, especially for testing X2go TCE make it a separate system. Maybe you want to use virtualization (KVM, Xen, etc.) for setting up a test X2go infrastructure with X2go Thin Clients on your LAN.+<note important>Please refrain from installing the PXE boot environment for X2Go Thin Clients on your in-house production server, especially for testing X2Go TCE make it a separate system. Maybe you want to use virtualization (KVM, Xen, etc.) for setting up a test X2Go infrastructure with X2Go Thin Clients on your LAN.
 </note> </note>
  
-A normal/recommended setup for testing/deploying X2go TCE then is:+A normal/recommended setup for testing/deploying X2Go TCE then is:
  
-  * X2go server (Debian, Ubuntu, etc.) +  * X2Go server (Debian, Ubuntu, etc.) 
-  * optional: a separate X2go PXE server (Debian or Ubuntu) +  * optional: a separate X2Go PXE server (Debian or Ubuntu) 
-  * 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/Etherboot capable+  * 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/Etherboot capable
  
-===== X2go TCE / Debian squeeze =====+===== X2Go TCE / Debian squeeze =====
  
-<note>The current X2go TCE is based and has been tested on Debian GNU/Linux (squeeze). Since June 2011 we have working packages available in our Debian repository on ''packages.x2go.org''.</note>+<note>The current X2Go TCE is based and has been tested on Debian GNU/Linux (squeeze). Since June 2011 we have working packages available in our Debian repository on ''packages.X2Go.org''.</note>
  
-In the following description we will describe a simple X2go TCE installation, using two separate hosts as X2go Server and X2go PXE Server. The explanation presumes that you either install on Debian GNU/Linux (squeeze) or Ubuntu GNU/Linux (lucid, maverick). If you (for testing purposes) use the same machine as X2go Server and X2go PXE Server, please perform described steps for either of the machines on the same system. +In the following description we will describe a simple X2Go TCE installation, using two separate hosts as X2Go Server and X2Go PXE Server. The explanation presumes that you either install on Debian GNU/Linux (squeeze) or Ubuntu GNU/Linux (lucid, maverick). If you (for testing purposes) use the same machine as X2Go Server and X2Go PXE Server, please perform described steps for either of the machines on the same system. 
  
-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 (squeeze) 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 here: [[adding the X2go repository (Debian)]]  or alternatively: [[adding the X2go repository (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:x2go-repository-debian|here (Debian)]] and [[:wiki:x2go-repository-ubuntu|here (Ubuntu)]].
  
-==== Installing X2go server ====+==== Installing X2Go server ====
  
-The X2go Server installation is described in detail on [[installing_x2goserver_debian_ubuntu|this wiki page]]. Please follow instructions there first, then proceed below.+The X2Go Server installation is described in detail on [[:wiki:components:x2goserver|this wiki page]]. Please follow instructions there first, then proceed below.
  
-Basically you have to install the ''x2goserver'' package and your preferred desktop environments (e.g. GNOME, KDE4): 
  
-<code> +==== Installing X2Go PXE server ====
-$ sudo aptitude install x2goserver gnome-desktop-environment plasma-desktop +
-</code> +
- +
-==== Installing X2go PXE server ====+
  
 === Summary === === Summary ===
  
-In a nutshell you have to run the following commands from a terminal on the X2go PXE Server (or X2go Server if combining both systems in one):+In a nutshellyou have to run the following commands from a terminal on the X2Go PXE Server (or X2Go Server if combining both systems in one):
  
 <code> <code>
 $ sudo aptitude install x2gothinclientmanagement $ sudo aptitude install x2gothinclientmanagement
-# take a look at the X2go TCE config and modify to your needs+# take a look at the X2Go TCE config and modify to your needs
 $ sudo editor /etc/x2go/x2gothinclient_settings $ sudo editor /etc/x2go/x2gothinclient_settings
 $ sudo x2gothinclient_create $ sudo x2gothinclient_create
Line 66: Line 61:
  
    - Install a minimal Debian GNU/Linux (squeeze) or Ubuntu GNU/Linux Server (lucid, maverick) system from CD/DVD.    - Install a minimal Debian GNU/Linux (squeeze) or Ubuntu GNU/Linux Server (lucid, maverick) system from CD/DVD.
-   - Then add the X2go repository to your freshly installed X2go PXE server: [[adding the X2go repository (Debian)]][[adding the X2go repository (Ubuntu)]]. On Debian GNU/Linux make sure that you install the ''x2go-keyring'' package first.+   - Then add the X2go repository to your freshly installed X2go PXE server: [[:wiki:x2go-repository-debian|Debian]] [[:wiki:x2go-repository-ubuntu|Ubuntu]]. On Debian GNU/Linux make sure that you install the ''x2go-keyring'' package first.
    - The only X2go related package needed on the X2go PXE server is the ''x2gothinclientmanagement'' package.<code>    - The only X2go related package needed on the X2go PXE server is the ''x2gothinclientmanagement'' package.<code>
 $ sudo aptitude install x2gothinclientmanagement $ sudo aptitude install x2gothinclientmanagement
Line 183: Line 178:
            --no-menu \            --no-menu \
            --maximize \            --maximize \
 +           --thinclient \
 +           --haltbt \
            --link=lan \            --link=lan \
            --kbd-layout=de \            --kbd-layout=de \
Line 206: Line 203:
  
   * ''--no-session-edit'' will deny any manipulation of the session by the user.   * ''--no-session-edit'' will deny any manipulation of the session by the user.
-  * ''--session="X2Go.EXAMPLEneeds to be identical to the name inside the X2go session file.+  * ''--session="X2Go.EXAMPLE'' needs to be identical to the name inside the X2go session file.
  
 <file> <file>
Line 215: Line 212:
            --no-menu \            --no-menu \
            --maximize \            --maximize \
 +           --thinclient \
 +           --haltbt \
            --link=lan \            --link=lan \
            --kbd-layout=de \            --kbd-layout=de \