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