How to install xrdp+x11rdp on UBUNTU 14.04

Here you find the compiled packages for xrdp/x11rdp version 0.8:

You can find also pulseaudio module for audio/microphone redirection but only for i386. Unfortunately I have amd64 version of XUBUNTU.
To compile pulseaudio module:

Install dev tools and pulseaudio source…

sudo apt-get install dpkg-dev
apt-get source pulseaudio
sudo apt-get build-dep pulseaudio

Build pulseaudio…

cd pulseaudio-4.0
dpkg-buildpackage -rfakeroot -uc -b

Download and extract xrdp source from
Go to ../xrdp/sesman/chansrv/pulse/
edit Makefile and point PULSE_DIR to ~/pulseaudio-4.0 dir

run make; the outputs will be

sudo cp /usr/lib/pulse-4.0/modules
sudo cp /usr/lib/pulse-4.0/modules

Download and copy to “/etc/pulse/”


  • if you build xrdp with –enable-load_pulse_modules, then the above modules will get loaded automatically when xrdp starts. However if –enable-load_pulse_modules is not used, then you need to edit /etc/pulse/ and insert the following two lines into it:load-module module-xrdp-sink
    load-module module-xrdp-source
  • You can also decide to disable lightdm at startup because not needed…
sudo sh -c "echo 'manual' > /etc/init/lightdm.override

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s