That xrdp runs with Ubuntu Budgie you have to replace the last line with following:
...
# default
# test -x /etc/X11/Xsession && exec /etc/X11/Xsession
# exec /bin/sh /etc/X11/Xsession
# fix for budgie
if test -r ~/.profile; then
. ~/.profile
fi
test -x /etc/X11/Xsession && exec /etc/X11/Xsession /usr/bin/budgie-desktop