connecting to sesman ip 127.0 0.1 port 3350 login failed code example

Example 1: Connection Log connecting to sesman ip l27.0.0.1 port 3350 sesman connect ok sending login info to session manager, please wait... login failed for display 0

sudo apt-get remove xrdp vnc4server tightvncserver
sudo apt-get install tightvncserver
sudo apt-get install xrdp

Example 2: Connection Log connecting to sesman ip l27.0.0.1 port 3350 sesman connect ok sending login info to session manager, please wait... login failed for display 0

sudo service xrdp restart