Remote machineEdit

  • xdm, xauth installed
  • /etc/ssh/ssh_config with ForwardX11Trusted yes or ForwardX11 yes, depending on how much you care about security.

Local machineEdit

run ssh -X user@remoteip


Lets assume that you have xterm installed on the server machine. Test your connection following those steps

  1. Connect to the server machine: ssh -X You can add the -v parameter after the -X if you want to debug your connection.
  2. Once you are logged in, type xterm and press ENTER.
  3. Depending on the speed of your connection, you may have to wait a minute until the xterm window appears on your desktop. If the speed is too slow (XDMCP is a bandwidth hog), you might try to use compression


  • In the remote machine, edit /etc/ssh/ssh_config and set Compression yes. You can specify the Compression level with Compression N, where N is a number from 1 (fast compression) to 9 (slow compression, best). The default is 6, which should be good enough.
Community content is available under CC-BY-SA unless otherwise noted.