Skip to content
speidy edited this page Nov 23, 2014 · 2 revisions
  • Install Pre-requisites
   yum update
   yum install finger cmake patch gcc make autoconf libtool automake pkgconfig openssl-devel gettext file \
   yum install pam-devel libX11-devel libXfixes-devel libjpeg-devel \
   yum install flex bison gcc-c++ libxslt perl-libxml-perl xorg-x11-font-utils xmlto-tex
  • Install git (if 'yum install git' fails)
   wget http://git-core.googlecode.com/files/git-1.8.0.2.tar.gz
   tar -zxvf git-1.8.0.2.tar.gz
   cd git-1.8.0.2
   ./configure --without-tcltk
   make
   make install
  • Clone xrdp repository from GitHub
  cd
  mkdir git
  cd git
  mkdir neutrinolabs
  cd neutrinolabs
  git clone git://github.com/neutrinolabs/xrdp.git
  • Build xrdp server
   cd xrdp
   ./bootstrap
   ./configure
   make
   make install
  • Build X11rdp - X11 display server for xrdp
   cd xorg
   cd X11R7.6
   ./buildx.sh /opt/X11rdp
   Note: create the symbolic link for sesman
   ln -s /opt/X11rdp/bin/X11rdp /usr/local/bin/X11rdp
  • Start xrdp on boot
   cp /etc/xrdp/xrdp.sh /etc/init.d/
   /sbin/chkconfig --add xrdp.sh
   reboot