Error/problem connecting (Windows 10 RDP into XRDP)

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

Ok, so i found the command that will solve my issue. Run this command to remove the error

Run gsettings set org.gnome.Vino require-encryption false


This post helped me get rid of the issue. I restarted the xrdp service afterwards just to make sure too.

Have you tried creating a file /etc/X11/Xwrapper.config containing

allowed_users = anybody

Note that I am using windows 10 to connect debian 9. And I used Xorg.