X11 Forwarding

Remote machine

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

Local machine
run ssh -X user@remoteip

Testing
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 user@your_remote_machine.net. You can add the -v</tt> parameter after the -X</tt> if you want to debug your connection.
 * 2) Once you are logged in, type xterm</tt> and press ENTER.
 * 3) Depending on the speed of your connection, you may have to wait a minute until the xterm</tt> window appears on your desktop. If the speed is too slow (XDMCP is a bandwidth hog), you might try to use compression

Compression

 * In the remote machine, edit /etc/ssh/ssh_config</tt> and set Compression yes</tt>. You can specify the Compression level with Compression N</tt>, where N is a number from 1 (fast compression) to 9 (slow compression, best). The default is 6, which should be good enough.