Remote Windows host via Rdesktop under Linux

Source: Internet
Author: User
Tags rdesktop

Using the rdesktop command under Linux can be a perfect remote Windows host.

The experimental environment is as follows:

    • OS Version: Elementaryos-0.4.1-stable.20170814-x64

    • Native Environment: Physical machine

The General Linux Distribution Software Center, will have Remmina remote tools, such as the domestic Deepin OS, it is also very convenient to use. For resolution, remote Win7 and Win10 are not much different from local operations, but the interface resolution of the remote Windows Server family is going to die. The difference and ease of use, we can experience, the following is the installation and use of rdesktop.

1) Installation:

sudo apt-get install-y rdesktop

2) Remote Win7:

Rdesktop-u superlong-d contoso-p asas.1234 super01.contoso.cn-g 1920x1080-d

Common options:

-u: Specify user;

-D: Specify the domain;

-P: Specify password (no password is specified at remote time);

-G: Specify the resolution;

-D: the title bar is not displayed after remote;

-F: Remote rear full screen display Desktop (Ctrl+alt+enter exit full screen mode);

-R Disk:<sharename>=/home/superlong: To map the /home/superlong directory on the native (Linux) to the Win7, it is more convenient to transfer files;

-R clipboard:PRIMARYCLIPBOARD:Linux and Windows systems can be copied and pasted with each other (actually do not add this option can also copy and paste);

    • Error exclusion

1) Execute rdesktop remote times wrong:

ERROR:CredSSP:Initialize failed, do you have correct Kerberos TGT initialized?

Failed to CONNECT,CREDSSP required by server.

Resolution: Tick the following options

650) this.width=650; "Src=" Https://s4.51cto.com/oss/201710/25/b1dec7a70e1a8d2696d4e8567eb7f334.jpg-wh_500x0-wm_3 -wmp_4-s_3663942472.jpg "title=" tim20171025153150.jpg "alt=" B1dec7a70e1a8d2696d4e8567eb7f334.jpg-wh_ "/>

If the above option is gray, it can be modified by this Group Policy as follows:

Computer Configuration--Administrative Templates-- Windows component--Remote Desktop services--Remote Desktop Session Host--Security

650) this.width=650; "Src=" Https://s3.51cto.com/oss/201710/25/4a8214b26db97d018d0237a4a164077c.png-wh_500x0-wm_3 -wmp_4-s_3215044997.png "title=" unnamed picture. png "alt=" 4a8214b26db97d018d0237a4a164077c.png-wh_ "/>

2) When remote, mutual copy and paste invalidation

Open the Windows Host's task manager, and after the process Rdpclip.exe killed, re-run to resolve.

This article is from the "Dragon Fruit" blog, please be sure to keep this source http://firelong.blog.51cto.com/4043170/1976019

Remote Windows host via Rdesktop under Linux

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.