Skip to content

Building on Fedora 19 20

matt335672 edited this page May 8, 2024 · 6 revisions

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 nasm
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 --recursive https://github.com/neutrinolabs/xrdp
cd xrdp
  • Checkout a branch you like to build.
git checkout v0.9.1
./bootstrap
./configure --enable-fuse
make
# as root
make install
  • copy PAM configuration
cp instfiles/pam.d/xrdp-sesman.redhat /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

Clone this wiki locally