Wednesday, September 07, 2016

FreeRDP Increase TCP Timeout

After upgrading to Windows 10, FreeRDP took longer to connect after password input and often disconnected itself before displaying the screen.

To resolve this problem, increase TCP timeout value.
1) Open /FreeRDP/libfreerdp/core/tcp.c
2) Search TCP_USER_TIMEOUT
3) Change optval to higher value.  E.g. 20000
4) Build and install again.  No need to uninstall or reconfigure.