Skip to content

Building on Fedora 19 20

speidy edited this page Nov 26, 2014 · 1 revision

These are steps for building xrdp on Fedora 19 or 20, 32 or 64 bit x86.

  • this is package installation step
   # as root
   yum update
   reboot
   yum install git patch gcc make autoconf libtool automake pkgconfig openssl-devel gettext file
   yum install pam-devel libX11-devel libXfixes-devel libXrandr-devel libjpeg-devel fuse-devel
   yum install flex bison gcc-c++ libxslt perl-libxml-perl xorg-x11-font-utils
  • this is xrdp build step
   # as normal user
   cd
   mkdir git
   cd git
   mkdir neutrinolabs
   cd neutrinolabs
   git clone git://github.com/neutrinolabs/xrdp
   cd xrdp
  • this step is only needed it you don't want master branch, ie, devel, v0.8, v1.0
   git checkout v0.8
   ./bootstrap
   ./configure --enable-fuse
   make
   # as root
   make install
  • Generate RSA keys for xrdp
   xrdp-keygen xrdp auto
  • copy PAM configuration
   cp instfiles/pam.d/xrdp-sesman.other /etc/pam.d/xrdp-sesman
  • this is X11rdp build step
   # as normal user
   cd xorg
   cd X11R7.6
   sudo mkdir /opt/X11rdp
   sudo chmod 777 /opt/X11rdp
   sh buildx.sh /opt/X11rdp
  • create the symbolic link for sesman
   # as root
   ln -s /opt/X11rdp/bin/X11rdp /usr/local/bin/X11rdp
  • start on boot
   # as root
   cp /etc/xrdp/xrdp.sh /etc/init.d/
   chkconfig --add xrdp.sh
  • turn firewall off or open TCP port 3389
reboot

enjoy