I managed to solve this by installing tightvnc server and reinstalling xrdp:
$ sudo apt-get install tightvncserver
$ sudo apt-get remove xrdp
$ sudo apt-get install xrdp
$ sudo apt-get install tightvncserver
$ sudo apt-get remove xrdp
$ sudo apt-get install xrdp