This article is an example of an Oracle Linux 6.4 virtual Machine (ports 22 and 3389 must be open for SSH and RDP connections)
1. Before installing XRDP, you need to first install some necessary packages, such as:
# yum-y Install kernel--y install gcc OpenSSL pam-developenssl--y install autoconf automake libtool
libx11-devel libxfixes--y install glibc-headers gcc-c++
2. If you do not have wget installed, you will also need to install wget with the following instructions:
# yum-y Install wget
3. Download XRDP for installation:
# cd/usr/local/src# wget http://DOWNLOADS.SOURCEFORGE.NET/PROJECT/XRDP/XRDP/0.6.1/ xrdp-v0.6.1.tar.gz# TAR-XZVF Xrdp-v0. 6.1 . tar.gz# cd xrdp-v0. 6.1 # . /bootstrap#. /configure# make# make install
4. Join the boot start, execute:
# vi/etc/rc.d/rc.local
Join:/etc/xrdp/xrdp.sh Start
If you need to elevate your privileges, do this:
755 /etc/xrdp/xrdp.sh
5. Start XRDP
#/etc/xrdp/xrdp.sh Start
The configuration document for 6.XRDP is Xrdp.ini and Sesman.ini in the/ETC/XRDP directory.
If you need to configure a graphical interface, please refer to:
Remotely connect Windows Azure Linux virtual machines using VNC