Cant Access Azure Ubuntu VM from Remote Desktop

Ruben 21 Reputation points
2021-03-25T12:36:50.13+00:00

Hi all, I have an Azure Ubuntu VM running and I am connected via SSH & putty. I did the https://learn.microsoft.com/en-us/azure/virtual-machines/linux/use-remote-desktop steps but cant access the Ubuntu VM via Remote Desktop

sudo netstat -plnt | grep rdp
tcp6 0 0 ::1:3350 :::* LISTEN 10012/xrdp-sesman
tcp6 0 0 :::3389 :::* LISTEN 10039/xrdp

Any suggestions?
Thx

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
{count} votes

Answer accepted by question author
  1. TravisCragg-MSFT 5,701 Reputation points Microsoft Employee Moderator
    2021-03-25T20:39:03.587+00:00

    Your service is up and listening on port 3389, so from the OS side, you are good.

    I would start by looking at something blocking TCP / RDP connections between your computer and your Azure VM.

    Typically this is an on-premise firewall or an Azure NSG blocking the traffic.

    To check for Azure NSG blocks, navigate to your VM in the Azure Portal and select the 'networking' option on the left menu. Make sure that the 'Inbound port rules' tab is selected, and make sure that port 3389 is allowed in via TCP.

    NSGs attached to the NIC of the VM and the subnet can block this traffic.

    For any on-premise firewalls, talk with your network administrator to make sure that port 3389 is allowed outbound.

    Please let me know if you have any other questions or issues!

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.