Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the linux command line interface to invoke windows remote Desktop

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Principle of x-server: http://blog.chinaunix.net/uid-20672559-id-3431735.html

1. Windows:192.168.0.106

1. Install Xming, which is a X-server

two。 Debug CRT, forward all requests from remote host port 22 to the native windows, and check forward X11 data. For example:

II. Linux:192.168.0.108

1. The installation is omitted, all in AventiC below.

a. Install first

Yum install-y xterm

b. Reinstall

Yum install-y xauth

After An and B are finished, you need to check whether there are display variables:

[root@Herry ~] # echo $DISPLAY

Localhost:10.0

If there is, it will be fine.

c. Pretending, rdesktop, this is a x-client.

Yum install-y rdesktop

two。 Open the file in sshd_config

X11Forwarding yes

3. Restart sshd, log out, and log in again.

4. Test, will pop up the remote desktop box, add-f to the full screen

Rdesktop-f-a 16-u administrator 192.168.0.106

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report