1. Configure the Environment:
Yum Install gcc pam-devel openssl-devel-y
2. Enter the specified directory to download and unzip the XRDP:
Install wget first;
sudo yum-y install wget
wget http://hivelocity.dl.sourceforge.net/project/xrdp/xrdp/0.6.1/xrdp-v0.6.1.tar.gz ZXVF xrdp.tar.gz
The ZXVF are four parameters respectively:
X: Extract the files from the tar package
Z: Indicates that the TAR package is compressed by gzip, so it needs to be decompressed with Gunzip
V: Show more information
F xxx.tar.gz: Specifies that the file being processed is xxx.tar.gz
Extract
TAR-XF xrdp.tar.gz
3. Compile and install the directory after extracting XRDP:
CD xrdp-0.4.2
Make
Make install
4. Start XRDP:
Cd/usr/local/xrdp
./xrdp_control.sh Start
5.XRDP configuration Documents Xrdp.ini and Sesman.ini in the/ETC/XRDP directory
CentOS installation XRDP for Remote Desktop access