Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the linux command line interface to invoke windows remote Desktop

Shulou Source: shulou.com Published: 2022-06-02 09:04:32 10月22日 Update

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

Tags: Logins desktops hosts principles variables data ports this is problem A.Dome C. native inspection testing commands interface Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Huawei Redmi Docker Microsoft