The previous time in the local installation of ubuntu16.04 desktop version, later need to remotely connect a WIN10 system jump connection, the following describes the use of Rdesktop command to remotely connect to the Windows machine operation record:
1) First install the Rdesktop tool
[Email protected]:~$ sudo apt-get install rdesktop
The default port is 3389
Note: The Terminal servies in the service of the remote Windows machine needs to be turned on. That is: My Computer-right-click-Properties-remote, tick allow remote users to link to this computer.
Parameter interpretation for the Rdesktop command:
-F Full Screen -a 16-bit color, optional, but the highest is 16-u xxxxxx login user, optional-p xxxxxx login password, optional-R Clipboard:primaryclipboard Important, Clipboard can interact with Remote Desktop-Z compression, optional-G 1024x768 resolution, optional, default is a low resolution-p buffer than the current local desktop, optional- R disk:wj=/home/magicgod mapping virtual disk, Optional, will be in the remote machine's Network Neighborhood virtual out a mapping disk, the function is very strong, even can be floppy disk or CD-R sound:off off sound, of course, can also map the remote sound to local.
2) The command to connect to the remote Windows machine, as follows is a script for two remote connections:
[email protected]:~$ which rdesktop/usr/bin/rdesktop[email protected]:~$ cat/home/kevin/shell/desktop_win.sh/ admin.sh #!/bin/bash/usr/bin/rdesktop-f 172.16.10.21-u admin-p ' [email protected] #123 '-G 1024x768-r clipboard:primary Clipboard-a 16-p-z[email protected]:~$ cat/home/kevin/shell/desktop_win.sh/ncadmin.sh #!/bin/bash/usr/bin/rdesktop -F 172.16.10.21-u ncadmin-p ' [email protected] '-G 1024x768-r clipboard:primaryclipboard-a 16-p-Z
To execute a script for remote connection:
Special attention: rdesktop exit full Screen mode: Use the combo key ctrl+alt+enter to switch.
In addition, Ubuntu can use its own Remmina for remote connection of SSH, VNC, RDP (Connecting to Windows machine), in addition to the Rdesktop command above for remote connection operation.
Remotely connect Windows machines using the Rdesktop command under Ubuntu16.04