Using the rdesktop command under Linux can be a perfect remote Windows host.
The experimental environment is as follows:
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);
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