Ubuntu – Error/problem connecting (Windows 10 RDP into XRDP)

14.04rdpwindowsxrdp

I am running into another issue where the XRDP is not working. I have been at it for quite some time now and I think that I need help. I believe that it is an issue of the Ubuntu machine not listening on a port.

I followed the guide at http://www.tweaking4all.com/software/linux-software/use-xrdp-remote-access-ubuntu-14-04/.

However, when I go to rdp from windows, I am able to connect and type in username and password but when I do, I get the following error:

Connecting to sesman IP 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
srdp_mm_process_login_response:login successful for display
started connecting
connecting to 127.0.0.1 5910
error-problem connecting

Could the issue be that my Ubuntu machine is not listening to port 5910? WHat do you guys think? If so, how can I make sure that Ubuntu is listening to port 5910?

Edit:

Ok, so when I run this command:

sudo netstat -peant | grep ":5910 "

Nothing comes up. When I run this command: sudo netstat -peant | grep "127.0.0.1" and I scroll through, I do not see anything connected to port 5910. I believe that i have found a large issue. My question now is how do I set up xrdp to listen to port 5910?

Best Answer

I found this one really worked for me. https://ubuntuforums.org/showthread.php?t=1314336

I summarize here the solution:

I had to remove xrdp, vnc4server, tightvnc, which were all installed in the wrong order. I had to install tightvncserver, then install xrdp.

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

Then restart the xrdp service:

sudo service xrdp restart
Related Question