Xmanager Tutorial

Connecting to a remote host using Secure XDMCP

Last modified: Sunday, November 16, 2014 9:19 PM

When your PC is inside of private network or firewall and you are to connect to UNIX/Linux machine located outside of your network, you need to set up port forwarding or open port in firewall or NAT server of the network.

With Secure XDMCP, you do not need any of these additional steps in order to establish XDMCP connection to UNIX/Linux machines.
The only requirement is that SSH service should be running on UNIX/Linux machines. Also, on some of Linux, if gdm is in use as XDMCP daemon, connection may be restricted. Then, you need to switch XDMCP daemon to kdm or xdm.

Note: Before you continue, please make sure the SSH server on the remote host has X11Forwarding enabled.

Setup the configuration file in the following table.

SSH server Config file Setup
OpenSSH /etc/ssh/sshd_config X11Forwarding yes
SSH.COM /etc/ssh2/sshd2_config AllowX11Forwarding yes

After setting the value, restart SSH daemon.

Step 1. Creating a Secure XDCMP session

  1. Start Xbrowser.
  2. Right click on a session icon and select Save as SSH connection.
* If the destination remote host and SSH server are not in the same machine, do the followings:

  1. Right click on the Secure XDMCP session and select Properties.
    RESULT: Session Properties dialog box opens.


  2. Click the Setup button, next to the Method field.
    RESULT: Secure XDMCP Setup dialog box opens up. 

  3. Select the "The SSH Server host is different from the XDMCP server" option.
    RESULT: The Host field becomes enabled.
  4. Enter the IP address/domain of SSH Server.
  5. In the User Authentication fields, enter the user information.
  6. Click OK to save the changes.
    Note: If SSH server and XDM are in different servers, GatewayPorts must be set to yes in the SSH server.

Step 2. Connecting with a Secure XDMCP session:

  1. Open Xbrowser.
  2. Double click on the Secure XDMCP session.
  3. Enter the user name in the SSH User Name dialog box. 

  4. Select an authentication method and enter the appropriate information.
    Note: See here to learn more about Public Key authentication 

  5. Remote login screen appears on Xmanager.

[ See Also ]
  • Connecting and executing remote X application with Xstart
  • XDMCP connection through SSH tunneling