XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Remote Desktop doesn't work anymore on VM

    Scheduled Pinned Locked Moved Solved Compute
    14 Posts 3 Posters 3.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      Pierre Briec
      last edited by

      Hi,

      i've decided to post because i'm going crazy.
      I had an old hypervisor running xcp-ng 8.1 and several VMs (win7 and win10) clients on it.
      The RDP was working fine.
      Last month, i've built a new server with xcp-ng 8.2 and move these VMs on the new server. Now, Remote Desktop doesn't anymore.
      I thought it came from antivirus kaspersky and made some changes on VMs but it doesn't work.

      So i've tried to move one VM from the new xcp-ng to the old xcp-ng, and it works! RDP works!
      I've checked my firewall rules but i haven't found specific rules related to my old xcp-ng allowing RDP port 3389.
      Can someone have some ideas as i'm going crazy.
      I'm missing something?

      thanks
      Pierre

      1 Reply Last reply Reply Quote 0
      • P Offline
        Pierre Briec @Darkbeldin
        last edited by

        Darkbeldin

        Thanks, the problem came from the switch.
        Thanks for your support.
        Pierre

        DarkbeldinD 1 Reply Last reply Reply Quote 1
        • D Offline
          dariosplit
          last edited by

          You may lose your windows RDP licenses on the new host. It gives me a new activation every time.

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            Pierre Briec @dariosplit
            last edited by

            dariosplit

            thanks for your answer
            I don't think it's related to licenses.
            The same VM is working fine on my old xcp-ng 8.1 host with RDP and not on the new hypervisor xcp-ng 8.2.
            I've tried new VM (win7 and win10) client, it's the same. So i've concluded that the problem is not specific to the client but specific to the host or hardware?
            Can someone confirm that? and how fix that?

            thanks
            Pierre

            1 Reply Last reply Reply Quote 0
            • DarkbeldinD Offline
              Darkbeldin Vates 🪐 Pro Support Team
              last edited by

              Hi Pierre,

              Can you give us some info about what error you have on client side when trying to connect?
              Mostly i would say it's a network issue, you could try installing a new VM instead of migrating one that could give you some clues perhaps.

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                Pierre Briec @Darkbeldin
                last edited by

                Darkbeldin xcp-ng_rdp.jpg

                Actually, i've made a backup of VM-Admin stored on xcp-college host and have restored it on xen-college host.
                When it's working, in Xcp-ng Center, in the Console tab, i have RDP connexion like screenshot.
                On the xcp-college host, if i click on "Switch to Remote Desktop", it does nothing

                If i shutdown VM-Admin on xcp-college, and start it on xen-college host, it's working.

                DarkbeldinD 1 Reply Last reply Reply Quote 0
                • DarkbeldinD Offline
                  Darkbeldin Vates 🪐 Pro Support Team @Pierre Briec
                  last edited by

                  Pierre Briec Ok to remove any third party issue could you try by using directly RDP from your Windows client not from XCP-center.

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pierre Briec @Darkbeldin
                    last edited by

                    Darkbeldin

                    I've already tried. I'm using mremote-ng or windows RDP client to access my VMs, and it's the same. If the VM is stored on xcp-college => not working, and xen-college => working

                    DarkbeldinD 1 Reply Last reply Reply Quote 0
                    • DarkbeldinD Offline
                      Darkbeldin Vates 🪐 Pro Support Team @Pierre Briec
                      last edited by

                      Pierre Briec What's the error from the rdp client?

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pierre Briec @Darkbeldin
                        last edited by

                        Darkbeldin

                        the classic error. RDP could not open because

                        1. RDP is not activated
                        2. Remote Computer is shutdown
                        3. Remote Computer is not available on the network

                        xcp-ng_rdp2.jpg

                        DarkbeldinD 1 Reply Last reply Reply Quote 0
                        • DarkbeldinD Offline
                          Darkbeldin Vates 🪐 Pro Support Team @Pierre Briec
                          last edited by

                          Pierre Briec You should check the network part on your host that the only thing that could make sense to me.
                          From my point of view it's not an XCP-ng issue but most probably a network problem as when you switch host you don't have the same problem.

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            Pierre Briec @Darkbeldin
                            last edited by

                            Darkbeldin
                            If it's true, i've no idea what is wrong.
                            The VM on the different hosts are on the same network.
                            Could RDP be blocked by host itself ?

                            DarkbeldinD 1 Reply Last reply Reply Quote 0
                            • DarkbeldinD Offline
                              Darkbeldin Vates 🪐 Pro Support Team @Pierre Briec
                              last edited by

                              Pierre Briec No XCP-ng won't block RDP only way from my pow is network misconfiguration or firewall or switch in the network.

                              P 1 Reply Last reply Reply Quote 0
                              • P Offline
                                Pierre Briec @Darkbeldin
                                last edited by

                                Darkbeldin

                                Thanks, the problem came from the switch.
                                Thanks for your support.
                                Pierre

                                DarkbeldinD 1 Reply Last reply Reply Quote 1
                                • olivierlambertO olivierlambert marked this topic as a question on
                                • olivierlambertO olivierlambert has marked this topic as solved on
                                • DarkbeldinD Offline
                                  Darkbeldin Vates 🪐 Pro Support Team @Pierre Briec
                                  last edited by

                                  Pierre Briec I'm happy it's solved, and happy i was right 😉

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post