use rdesktop to connect to windows desktop
currently reading rdesktop source code to see RDP protocol. It is excellent stable in linux to control windows remotely.
1 | $ rdesktop -g 80% -x l ip-address & |
-g 80% means the window of rdesktop will not pop up with full screen but with 80% of full screen.