-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Building on Debian 8
derdigge edited this page Dec 31, 2016
·
34 revisions
These are steps for building xrdp 0.9.1, on debian 8 (jessie) system
This configuration only activate the Xorg
session, so when connecting with a RDP client, be sure to use this session type.
- Install xrdp's dependencies
sudo apt-get install git autoconf libtool pkg-config gcc g++ make libssl-dev libpam0g-dev libjpeg-dev libx11-dev libxfixes-dev libxrandr-dev flex bison libxml2-dev intltool xsltproc xutils-dev python-libxml2 g++ xutils libfuse-dev libmp3lame-dev nasm libpixman-1-dev xserver-xorg-dev
- Clone xrdp and xorgxrdp repository from GitHub
BD=´pwd´
mkdir -p "${BD}"/git/neutrinolabs
cd git/neutrinolabs
wget https://github.com/neutrinolabs/xrdp/releases/download/v0.9.1/xrdp-0.9.1.tar.gz
wget https://github.com/neutrinolabs/xorgxrdp/releases/download/v0.2.0/xorgxrdp-0.2.0.tar.gz
- Build and install xrdp server (Adapt the configure line to activate your needed features)
tar xvfz xrdp-0.9.1.tar.gz
cd "${BD}"/git/neutrinolabs/xrdp-0.9.1
./bootstrap
./configure --enable-fuse --disable-rfxcodec --enable-mp3lame --enable-pixman --disable-painter --disable-ipv6
make
sudo make install
sudo ln -s /usr/local/sbin/xrdp{,-sesman} /usr/sbin
- Build and install xorgxrdp
tar xvfz xorgxrdp-0.2.0.tar.gz
cd "${BD}"/xorgxrdp-0.2.0
./bootstrap
./configure
make
sudo make install
- Configure xrdp
- Generate certificate /etc/xrdp/{cert,key}.pem if you don't want to use the self-signed certificat
- Edit /etc/xrdp/xrdp.ini and /etc/xrdp/sesman.ini to match your needs
- Start xrdp
sudo systemctl enable xrdp
sudo service xrdp start