If you install a fresh image of the latest Raspbian OS on to a RPi, you will now have realvnc installed by default. If you would prefer to use xrdp, execute:
% sudo apt-get purge -y realvnc-vnc-server % sudo apt-get install -y xrdp
Credit to RaspberryPi.org for this information.