Azure Ubuntu VM Remote Doesnt work

Zehra Nur Günindi 1 Reputation point
2022-03-29T06:56:23.99+00:00

Hi ,I follow the steps but I still failed using remote desktop connection.

187776-error.png

Could you help me about that?

https://learn.microsoft.com/en-us/azure/virtual-machines/linux/use-remote-desktop

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,421 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,352 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,667 Reputation points Microsoft Employee
    2022-03-29T07:55:08.437+00:00

    Thanks for posting your query on Microsoft Q&A.
    I see that you are unable to RDP to your Azure Ubuntu VM.

    -Are you able to connect to it via SSH?
    If yes, the issue could be firewall or an NSG blocking the RDP connections. Please check for these from the Azure portal. You can go to the networking tab for your VM and check the NSG rules for it under 'Inbound port rules' tab as shown below:

    187833-image.png

    Ensure that port 3389 is allowed inbound via TCP as well as it is allowed outbound for any on-premise firewall.

    -Install and configure xrdp to use Remote Desktop with Ubuntu
    Follow the Troubleshooting steps provided in this document:

    187797-image.png

    Also, see these threads on the same issue :
    Cant Access Azure Ubuntu VM from Remote Desktop
    Cannot connect to Azure Linux Virtual Machine

    Let me know if you are still seeing issues and I can further investigate. Thanks.


  2. Zehra Nur Günindi 1 Reputation point
    2022-03-29T11:17:45.007+00:00

    Any solution?

    0 comments No comments