Windows 10: Cannot connect to XRDP running in WSL via Remote Desktop

Discus and support Cannot connect to XRDP running in WSL via Remote Desktop in Windows 10 Network and Sharing to solve the problem; Hi there! I have WSL 2 with Ubuntu running with an XRDP server, and Remote Desktop Connection allows me to connect just fine. Unfortunately Remote... Discussion in 'Windows 10 Network and Sharing' started by DanielBartholomae, Nov 4, 2020.

  1. Cannot connect to XRDP running in WSL via Remote Desktop


    Hi there!


    I have WSL 2 with Ubuntu running with an XRDP server, and Remote Desktop Connection allows me to connect just fine. Unfortunately Remote Desktop Connection has a known bug where it does not relay Ctrl+Alt+Arrow which is a key combination I would like to use, so I installed Remote Desktop from the Windows Store. But when connecting to localhost:3390, I get the following error after a couple seconds:


    Disconnect code: ReplacedByOtherConnection, legacy code: 0x204, legacy extended code: 0x0, activityId: {8ffb7434-9c76-4c1c-a8cc-d23dc8920000}


    As mentioned, connecting to the same address via Remote Desktop Connection works just fine.

    First I thought maybe this has to do with trying both at the same time, but even after closing Remote Desktop Connection and restarting the PC, I get the same problem.


    What can I do?


    Best,

    Daniel

    :)
     
    DanielBartholomae, Nov 4, 2020
    #1

  2. Windows Remote Desktop Client and Ubuntu

    Hi,



    Thank you for writing to Microsoft Community Forums.



    I understand that you are facing issues while connecting to Ubuntu client using Windows Remote Desktop connection.



    In order to connect to remote desktop session on an Ubuntu machine you need to install XRDP server on Ubuntu first. You can refer the article

    Installing XRDP
    from Ubuntu to install the XRDP server and connect to a Windows PC.



    If you have already installed the XRDP server and then you are trying to connect to Remote Desktop session, I would suggest you to post your query on

    TechNet forums
    , where we have support professionals who are well equipped with the knowledge to assist you with your query.



    Regards,

    Prakhar Khare

    Microsoft Community – Moderator
     
    Prakhar_Khare, Nov 4, 2020
    #2
  3. Viawind Win User
    wsl 2 password

    I have apparently successfully installed WSL 2. However in the initial stage of creating the server I forgot the Linux convention of not echoing the password entry and ended up with an unknown entry. I am set up to use xrdp. When I try to use Windows
    Remote Desktop I cannot log into WSL. I used passwd to reset the password both with and without root privilage without solving the WRD login problem. Is the initial root password special and cannot be changed ?. WRD says it connects successfully. Thanks
    for any help.
     
    Viawind, Nov 4, 2020
    #3
  4. Kari Win User

    Cannot connect to XRDP running in WSL via Remote Desktop

    Remote Desktop Connection problems


    Have you tried Remote Desktop Connection, to connect from your Windows 10 laptop to your Windows 7 desktop? Try it first, post back and tell how it went.

    Some additional help because you mentioned you are a remote newbie *Wink. The windows 7 related tutorials from our sister site the Seven Forums:


    1. On Windows 7 desktop, set network location to either Home or Work (I recommend Work):
    2. On Windows 7 desktop, allow incoming remote connections:
    3. On Windows 7 desktop, find out its IP address:
    4. On Windows 10 laptop, start the Remote Desktop application and connect to the Windows 7 desktop using the IP address from step 3 above (see Part Three in the tutorial):
    Try the above, post back how it went.
     
    Kari, Nov 4, 2020
    #4
Thema:

Cannot connect to XRDP running in WSL via Remote Desktop

Loading...
  1. Cannot connect to XRDP running in WSL via Remote Desktop - Similar Threads - Cannot connect XRDP

  2. Remote desktop connection via VPN

    in Windows 10 Gaming
    Remote desktop connection via VPN: I have remote desktop on both a laptop and a mini PC. Both have windows 11 pro. I am able to connect while on the same network. I'd like to understand how to connect remotely while on different networks via the VPN method....
  3. Remote desktop connection via VPN

    in Windows 10 Software and Apps
    Remote desktop connection via VPN: I have remote desktop on both a laptop and a mini PC. Both have windows 11 pro. I am able to connect while on the same network. I'd like to understand how to connect remotely while on different networks via the VPN method....
  4. Unable to connect via Remote Desktop

    in Windows 10 Gaming
    Unable to connect via Remote Desktop: Hi,I am unable to connect via Remote Desktop using 2 Win-10-Pro computers.The error message I get is that another session has already started. Both computers are on my home network and I can see the shared drives and access them.Its just the Remote desktop can not connect...
  5. Unable to connect via Remote Desktop

    in Windows 10 Software and Apps
    Unable to connect via Remote Desktop: Hi,I am unable to connect via Remote Desktop using 2 Win-10-Pro computers.The error message I get is that another session has already started. Both computers are on my home network and I can see the shared drives and access them.Its just the Remote desktop can not connect...
  6. Unable to connect via Remote Desktop

    in Windows 10 Network and Sharing
    Unable to connect via Remote Desktop: Hi,I am unable to connect via Remote Desktop using 2 Win-10-Pro computers.The error message I get is that another session has already started. Both computers are on my home network and I can see the shared drives and access them.Its just the Remote desktop can not connect...
  7. Remote Desktop Connection cannot connect to the remote computer.

    in Windows 10 Gaming
    Remote Desktop Connection cannot connect to the remote computer.: Greetings to the well of knowledge.We have a remote desktop farm consisting of one broker Server 2016 and four RD servers Server 2012R2, all of which are running in Azure. They were moved to Azure in a lift-and-shift operation from our physical servers.Over the past month or...
  8. Cannot remote into machines via the Remote Desktop App

    in Windows 10 Software and Apps
    Cannot remote into machines via the Remote Desktop App: As of no earlier than 2021-01-13 I can no longer remote into the various servers I work with via the Remote Desktop app in Windows 10. The process starts, a screen that has a message that reads "Configuring remote PC..." comes up and stays there for 1-3 minutes. The whole...
  9. cannot connect to remote desktop ,

    in Windows 10 Network and Sharing
    cannot connect to remote desktop ,: I always use remote desktop, today will not work , says my windows 10 needs an upgrade to windows 10 pro ??? https://answers.microsoft.com/en-us/windows/forum/all/cannot-connect-to-remote-desktop/6fd2c790-c0c6-4e88-bd87-bc1046958b07
  10. Cannot connect with Remote Desktop

    in Windows 10 Network and Sharing
    Cannot connect with Remote Desktop: After the recent update on Windows 10 pro. I am unable to connect via remote desktop. I have tried both from a PC using the internet external to my router and to the LAN side using my phone app and from another PC on the same LAN. I get the same message: Remote Desktop can't...