- xdm, xauth installed
- /etc/ssh/ssh_config with ForwardX11Trusted yes or ForwardX11 yes, depending on how much you care about security.
run ssh -X user@remoteip
Lets assume that you have xterm installed on the server machine. Test your connection following those steps
- Connect to the server machine: ssh -X user@your_remote_machine.net. You can add the -v parameter after the -X if you want to debug your connection.
- Once you are logged in, type xterm and press ENTER.
- 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.