Ubuntu side:
sudo apt-get install Rdesktop
Windows side:
You need to allow this Windows remote access.
My Windows is Windows server2012, basic operations: Computer---Properties---remote settings---remote,
TICK: Allow remote connection to this computer. Remove the default tick: Allow only run using Network Level Authentication ..., (if you do not cancel this, the "ERROR:RECV: Connection is set to end multiplicity" will appear at run time).
Start from Ubuntu and only need one command:
Rdesktop-f-A 16 192.168.1.112
It's OK.
Usage: rdesktop[options] server[:p ORT]
The command parameters commonly used are:
- u user name
- p password
-N Client host name (displays the connection client name in Windows Task Manager)
-G Desktop Size (w * h)[can also be x (lowercase x)]
-F Full Screen mode , switch from full screen mode to press ctrl+alt+enter
- A connection color depth (up to 16 bits), General 16 will show True Color (window7 support 32-bit)
-0 Number 0 means connect on Windows console, equivalent mstsc/console command
Example:
1, in full-screen mode with True color, the client named Connection, user name pan connection 192.168.0.100 console
$rdesktop-F-a 16-n connection-u pan-0 192.168.0.100
2, 800*600 (w*H) window size, True color, user name pan, open the remote port 16453 192.168.0.101 console
$rdesktop-G 800*600-a 16-u pan-0 192.168.0.101:16453
Ubuntu Remote Desktop Connection Windows system