User Tools

Site Tools


wiki:advanced:tce:rdp

Differences

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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
wiki:advanced:tce:rdp [2014/04/14 08:46]
sunweaver created
wiki:advanced:tce:rdp [2014/05/17 12:00]
sunweaver [X2Go TCE and MS Terminal Servers]
Line 1: Line 1:
 ===== X2Go TCE and MS Terminal Servers ===== ===== X2Go TCE and MS Terminal Servers =====
  
-X2Go Client can be used to connect to Microsoft Windows Terminal Servers. There are two modes available: X2Go-proxied RDP support and DirectRDP support+X2Go Client can be used to connect to Microsoft Windows Terminal Servers. There are two modes available: DirectRDP support and X2Go-proxied RDP support.
- +
-==== X2Go-proxied RDP Sessions ===== +
- +
-=== What is X2Go-proxying === +
- +
-With X2Go you can launch any application hosted on a Linux-based X2Go Server. These applications can run inside a full desktop session launched on a remote X2Go Server or these applications can run independently and seamlessly integrate into your local desktop session (e.g. see the [[wiki:advanced:published-applications|Published Applications]] documentation). +
- +
-An RDP session is a remote session on an MS Windows machine. With an RDP client application like the ''rdesktop'' command line utility, you can connect to MS Windows desktops and launch remote sessions on that Windows machine from a Linux-based desktop. +
- +
-An X2Go-proxied RDP session now is an RDP session that gets launched inside an X2Go session. +
- +
-=== How it works in detail === +
- +
-If X2Go Client is used for proxying an RDP session, the session start up goes like this: +
- +
-  * an X2Go Client machine connects to an X2Go Server +
-  * On this X2Go Server the ''rdesktop'' is installed +
-  * From this X2Go Server the MS Windows machine (Terminal Server or Workstation) can be reached (maybe on some internal network) +
-  * X2Go Client launches an X2Go Session and calls the ''rdesktop'' command inside this session (with a special set of parameters) +
-  * The ''rdesktop'' RDP client connects to the MS Windows machine, starts/resumes an RDP session there +
-  * The RDP client's Windows desktop window appears inside the X2Go Session +
-  * Whatever appears in the X2Go Session gets displayed on the X2Go Client machine +
-  * the X2Go Client can now work on an MS Windows machine  +
-   +
-=== Benefits of X2Go-proxied RDP Sessions === +
- +
-There are some benefits gained from this approach compared to direct RDP session setups. +
- +
-  * Traffic between server/client is always encrypted via SSH +
-  * On low bandwidth lines, an X2Go-proxied RDP Session might scale better than the native RDP protocol +
-  * The proxying X2Go Server can be used as a firewall pass-through gateway and you can connect to machines behind that firewall +
-  * All SSH-related extra authentication features (SSH pubkey/privkey, OTP authentication, GPG-SmartCard authentication, etc.) can be used for the connection to the proxying X2Go Server (i.e. double secure your network) +
- +
-=== Session Setup for X2Go-proxied RDP Sessions === +
- +
-{{:wiki:advanced:tce:x2go-proxied-rdp.png?600}} +
- +
-In X2Go Client's session profile manager, select the following parameters: +
- +
-  * profile name: a descriptive name for that session profile +
-  * hostname: the hostname of the RDP-proxying X2Go Server +
-  * username: username on the RDP-proxying X2Go Server +
-  * SSH authentication features: if appropriate, select a private SSH key, enable agent based authentication or use GSSAPI +
-  * Session Type: //Connect to Windows terminal server// +
-  * Session options: Server: IP address or hostname of the MS Windows machine. (The hostname most be resolvable on the X2Go Server machine!) +
-  * Advanced options...: ''-u <windows-username> -d <windows-domain-name>'' +
-  +
  
 ==== Direct/Native RDP Sessions ===== ==== Direct/Native RDP Sessions =====
Line 99: Line 52:
  
 {{:wiki:advanced:tce:x2go-directrdp-rdesktop-settings2.png?600|}} {{:wiki:advanced:tce:x2go-directrdp-rdesktop-settings2.png?600|}}
 +
 +==== X2Go-proxied RDP Sessions =====
 +
 +=== What is X2Go-proxying ===
 +
 +With X2Go you can launch any application hosted on a Linux-based X2Go Server. These applications can run inside a full desktop session launched on a remote X2Go Server or these applications can run independently and seamlessly integrate into your local desktop session (e.g. see the [[wiki:advanced:published-applications|Published Applications]] documentation).
 +
 +An RDP session is a remote session on an MS Windows machine. With an RDP client application like the ''rdesktop'' command line utility, you can connect to MS Windows desktops and launch remote sessions on that Windows machine from a Linux-based desktop.
 +
 +An X2Go-proxied RDP session now is an RDP session that gets launched inside an X2Go session.
 +
 +=== How it works in detail ===
 +
 +If X2Go Client is used for proxying an RDP session, the session start up goes like this:
 +
 +  * an X2Go Client machine connects to an X2Go Server
 +  * On this X2Go Server the ''rdesktop'' is installed
 +  * From this X2Go Server the MS Windows machine (Terminal Server or Workstation) can be reached (maybe on some internal network)
 +  * X2Go Client launches an X2Go Session and calls the ''rdesktop'' command inside this session (with a special set of parameters)
 +  * The ''rdesktop'' RDP client connects to the MS Windows machine, starts/resumes an RDP session there
 +  * The RDP client's Windows desktop window appears inside the X2Go Session
 +  * Whatever appears in the X2Go Session gets displayed on the X2Go Client machine
 +  * the X2Go Client can now work on an MS Windows machine 
 +  
 +=== Benefits of X2Go-proxied RDP Sessions ===
 +
 +There are some benefits gained from this approach compared to direct RDP session setups.
 +
 +  * Traffic between server/client is always encrypted via SSH
 +  * On low bandwidth lines, an X2Go-proxied RDP Session might scale better than the native RDP protocol
 +  * The proxying X2Go Server can be used as a firewall pass-through gateway and you can connect to machines behind that firewall
 +  * All SSH-related extra authentication features (SSH pubkey/privkey, OTP authentication, GPG-SmartCard authentication, etc.) can be used for the connection to the proxying X2Go Server (i.e. double secure your network)
 +
 +=== Session Setup for X2Go-proxied RDP Sessions ===
 +
 +{{:wiki:advanced:tce:x2go-proxied-rdp.png?600}}
 +
 +In X2Go Client's session profile manager, select the following parameters:
 +
 +  * profile name: a descriptive name for that session profile
 +  * hostname: the hostname of the RDP-proxying X2Go Server
 +  * username: username on the RDP-proxying X2Go Server
 +  * SSH authentication features: if appropriate, select a private SSH key, enable agent based authentication or use GSSAPI
 +  * Session Type: //Connect to Windows terminal server//
 +  * Session options: Server: IP address or hostname of the MS Windows machine. (The hostname most be resolvable on the X2Go Server machine!)
 +  * Advanced options...: ''-u <windows-username> -d <windows-domain-name>''
 +  
 +=== Username and Password for SSH / RDP ===
 +
 +If you want to save your users from having to enter username and password twice (SSH for X2Go Server, RDP for MS Windows machine), you can put these special parameters into the advanced RDP options:
 +
 +<code>
 +-u X2GO_USER -p X2GO_PASSWORD
 +</code>
 +
  
 ==== Credits ==== ==== Credits ====
wiki/advanced/tce/rdp.txt · Last modified: 2014/11/15 15:25 by stefanbaur