Remotely connect Windows machines using the Rdesktop command under Ubuntu16.04

Source: Internet
Author: User
Tags rdesktop

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.