Related: RDP over SSH port forwarding
Advanced FreeRDP options greatly improve RDP Windows Remote Desktop connections over weak internet connections.
A typical shell script I use on my Linux laptop to connect securely to Windows PCs via SSH port forwarding is:
#!/bin/sh ssh -f -L 4389:localhost:3389 remoteusername@remoteIP sleep 1; xfreerdp /cert-ignore /v:localhost:4389 \ /bpp:8 /network:modem /compression -themes -wallpaper \ /clipboard /audio-mode:1 \ /auto-reconnect -glyph-cache
- enable bidirectional clipboard
- uses 256 colors-low the quality, but really makes a speed improvement. Might not display videos (e.g. VLC)–try
- uses 655356 colors-still save bandwidth over default 24-bit color with negligible visible difference for most basic uses.
- reduce bandwidth via compression (trade CPU usages for network bandwidth)
- great speedup by not needlessly sending background graphics repeatedly
- disable RDP waiting for screen updates to reach you before it accepts input. These allow clicking ahead before the screen updates. Be careful of clicking unwanted options while using the PC.
- disable glyph caching, with Windows 7 remote this causes garbled characters and radio boxes.
- disable FreeRDP audio redirection (do not play sound from remote PC)
- automatically reconnect on failure (also works over SSH tunnel)
For remotely operated Digital amateur radio modes, it’s important to keep the audio generation/reception on the remote PC.