Solution:
remove tightvncserver and install vnc4server, and restart xrdp.
apt-get remove tightvncserver
apt-get install vnc4server
/etc/init.d/xrdp restart
To remove the segmentation fault error in firefox, run in a shell
# ulimit -s unlimited
We have to include it also in /etc/bash.bashrc