Compile xrdp (neutrino) to work with X11rdp and enable clipboard copy/paste under Debian Jessie

This is basically a compiler script to put together xrdp, X11rdp, vanilla MATE (without many extras), and make it all work right out of the box under a clean Debian Jessie install. This won’t contemplate keyboard mapping from the start since I couldn’t figure it out… yet. For now all I’m doing is to fire up a MATE-Terminal instance and type ‘setxkbmap latam‘. Works for me.

PRE: run as root (sudo -i) on a fully updated system (apt-get update && apt-get -y upgrade)

# Install MATE
apt-get -y --no-install-recommends install task-mate-desktop network-manager-gnome synaptic desktop-base engrampa mate-applets mate-icon-theme-faenza mate-notification-daemon mate-power-manager mate-themes mate-utils pluma
# Meet dependencies
apt-get -y 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

# Build xrdp
cd /opt
mkdir -p "${BD}"/git/neutrinolabs
cd "${BD}"/git/neutrinolabs

# Install xrdp
cd "${BD}"/git/neutrinolabs
tar xvfz xrdp-0.9.1.tar.gz
cd "${BD}"/git/neutrinolabs/xrdp-0.9.1
./configure --enable-fuse --disable-rfxcodec --enable-pixman --disable-painter
make install
ln -s /usr/local/sbin/xrdp-sesman /usr/sbin
ln -s /usr/local/sbin/xrdp /usr/sbin

# -- BRANCH -- Build and install X11rdp --
cd "${BD}"/git/neutrinolabs/xrdp-0.9.1/xorg/X11R7.6
./ /opt/X11rdp
ln -s /opt/X11rdp/bin/X11rdp /usr/bin
systemctl enable xrdp
service xrdp start

exit 0

The script can be downloaded from here:


This has been tested on a Linux vm with a pristine Jessie install, no previous window manager.

It’s intended solely for providing a basic yet comfy graphic UI on your Debian server

It works right after you add and save your credentials using any RDP client, since it forwards them to X11rdp, the first sesman option when trying to automatically connect.

It’s solely for personal use, no intentions to get much deeper on it, but go ahead, snatch a copy and see if it suits your needs as well.

Most of this code has been grabbed (and sanitized) from’s git: