Red Hat 6 uses xrdp remote interface login, Red Hat 6 xrdp
Redhat6 install xrdp and log on directly using windows Remote Desktop Connection
The following describes the implementation method:
Step 1: Download the source code package and install some dependent software to download the xrdp source code package.
Wget http://downloads.sourceforge.net/project/xrdp/xrdp/0.6.0/xrdp-v0.6.0.tar.gz
Check whether the system has the dependent packages gcc, pam-devel, openssl-devel, and libtool. Directly install yum online. (Depending on the situation)
Step 2: Install xrdp unzip installation package: tar-xzvf xrdp-v0.6.0.tar.gz
Go to the installation package directory to compile and install the: cd xrdp-v0.6.0
./Bootstrap
./Configure
Make
Make install (run as root)
Note: If the installation is incorrect, install the corresponding dependency package based on the error message.
Step 3: Configure xrdp
Modify the configuration file/etc/xrdp. ini and set the port value in [globals] To 6666.
Start xrdp #/etc/xrdp. sh start
Restart xrdp #/etc/xrdp. sh restart
Restart your computer: shutdown-r now
Directly use windows Remote Desktop Connection and enter 192.168.76.201: 6666
Note: Client connection failure may be caused by firewall interception. Add a policy (modify the 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.
Enable xrdp to automatically start upon startup:
# Edit vi/etc/rc. local and add:
/Etc/xrdp. sh start