How to connect to xrdp on wsl from Windows Remote Desktop App

Don't use localhost or 127.0.0.1.
You may receive:
"You have been disconnected because another connection was made to the remote PC" when use localhost.
You may get:
code: 0x4  Extended error code: 0x0 when use 127.0.0.1.

Find your internal ip address, such as 172.31.116.85 by running "ip a" in your wsl command line.
Then you can connect by this address without problem.

Comments