Remote Desktop in Linux via SSH tunnelPosted: August 5, 2013
So, the remote machine runs xrdp Remote Desktop Protocol server. You want to connect to it from your local Linux computer with a Remote Desktop client.
Run locally ssh with the following arguments:
ssh -L 33389:localhost:3389 -l <username> <remote_computer_ip>
This will connect to your local port 33389 the remote port 3389
Then open another terminal window and type:
This will run rdesktop and let it transparently connect to the remote machine port 3389 as if it were your local port 33389.