sudo nano /etc/xrdp/xrdp.ini
[xrdp1]
name=sesman-vnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
======>>
[xrdp1]
name=customsessionname
lib=libvnc.so
username=myusername
password=ask
ip=127.0.0.1
port=5912
Note that: the 5912 is a free port, so you can put it on here. If it's not free, then re-login, you will found that the screen is can't be figure out. So you can make some attempts to decide which port number is a proper number. In my case, I choose 5910. After finishing above operations, restart the xrdp service:
sudo service xrdp restart