Invoking Windows Remote Desktop using the Linux command line interface

Source: Internet
Author: User
Tags windows remote desktop rdesktop

X-server principle: http://blog.chinaunix.net/uid-20672559-id-3431735.html

First, windows:192.168.0.106

1. Install xming, he is a x-server

2. Debug the CRT, forward all requests from the remote host 22 port to the native windows, tick forward X11 data. For example: 650) this.width=650; "Src=" Https://s4.51cto.com/wyfs02/M01/98/0D/wKiom1k2qguyZuwPAAE0IcgV5Yg001.png-wh_ 500x0-wm_3-wmp_4-s_1616939808.png "title=" 5.png "alt=" Wkiom1k2qguyzuwpaae0icgv5yg001.png-wh_50 "/>

Second, linux:192.168.0.108

1. The installation is omitted, all a~c below.

A. Install first

Yum Install-y xterm

B. Re-assembly

Yum Install-y Xauth

A and B need to be checked for display variables after completion:

[Email protected] ~]# echo $DISPLAY

localhost:10.0

There's no problem.

C. In the outfit, Rdesktop this is a x-client

Yum Install-y rdesktop

2. Open the Sshd_config

x11forwarding Yes

3. Restart sshd, log out, and then log back in.

4. Test, will pop up the Remote Desktop box, plus-F for full screen

Rdesktop-f-A 16-u administrator 192.168.0.106


This article is from the "Flying Small GUI" blog, make sure to keep this source http://9237101.blog.51cto.com/9227101/1932906

Invoking Windows Remote Desktop using the Linux command line interface

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.