RedHat 6 uses xrdp to log in to Windows Remote Desktop

  
                

There is a remote desktop system under Windows system that can interconnect computers. Because there is no remote desktop in the Linux system, in general, RedHat 6 can't access Windows Remote Desktop, but with a Linux xrdp application, RedHat 6 can also log in to Windows Remote Desktop.

Implementation:

The first step: Download the source package, and install some dependent software download xrdp source package

wget http: //downloads. Sourceforge.net/project/xrdp/xrdp/0.6.0/xrdp-v0.6.0.tar.gz

Make sure the system already has dependent packages gcc, pam-devel, openssl-devel, libtool, directly Yum can be installed online. (Conditional)

Step 2: Install the xrdp decompression installation package:

tar -xzvf xrdp-v0.6.0.tar.gz

Enter the installation The package directory is compiled and installed: cd xrdp-v0.6.0

. /bootstrap

. /configure

make

make install (root run)

Note: If the installation is incorrect, install the appropriate dependencies based on the error message.

Step 3: Configure xrdp

Modify the configuration file /etc/xrdp/xrdp.ini, modify the port value in the parameter [globals] to 6666. The port port can be used casually. Settings.

Starting xrdp#/etc/xrdp/xrdp.sh start

Restarting xrdp #/etc/xrdp/xrdp.sh restart

Restarting the computer: shutdown -r now

Directly use windows remote desktop connection to enter 192.168.76.201:6666

Note: Client connection failure problem may be caused by firewall interception, add a policy (modify configuration file /etc/sysconfig /iptables Copy a 22-port configuration and modify the port to 6666, then restart the firewall service iptables restart ) or stop the firewall (service iptables stop) to connect successfully.

Let xrdp boot automatically:

# vi /etc/rc.local Edit it, then add:

/etc/xrdp/xrdp.sh start

The above is how RedHat 6 uses xrdp to log in to Windows Remote Desktop. Although Linux and Windows are two different systems, the power of RedHat 6 lies in its compatibility, so RedHat 6 can also log in to Windows Remote Desktop.

Copyright © Windows knowledge All Rights Reserved