Unable To Connect To My Virtual Machine (Windows) Using RDP

AMMAR ZEB KHAN 1 Reputation point
2021-06-24T16:31:22.277+00:00

Hi Fellows,

I have decided to ask this question here after failing at a lot of Youtube/Google research.

I am not very experienced with virtual machines, cloud computing, RDPs etc. I just use RDP for some educational purposes to do my research.

The issue is, I used to simply start the instance from Azure portal and start RDP on my laptop windows, enter the public IP, username and password and connected to the virtual machine and started doing my work from there.

However, today, when I wanted to log in to my virtual machine, I couldn't and it took me to a different XVNC screen after entering username and password at RDP.

I have no idea what it is and how do I connect to my RDP? Since, it always says 'login failed for display 0' despite me entering correct username and password.

109131-screenshot-611.png

Any help would be highly appreciated in this regards.

Thanks!

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,231 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leila Kong 3,691 Reputation points
    2021-06-25T03:26:41.263+00:00

    Hello @AMMAR ZEB KHAN ,

    Thanks for your query.

    1.On the Azure portal, Select your VM -> Settings -> Boot diagnostics. Make sure that you can see the login screen. You might need to enable diagnostics (under Monitoring section) if not enabled already. If you don't see the login screen, trying the 'Redeploy' option under 'Support and Troubleshooting' section of settings.
    If you can see that the machines has booted correctly, the connectivity issue might be because of a firewall at your end or on the VM. See if you can ping the machine. Also make sure that there is an Inbound rule configured for Remote desktop Under VM > Settings > Add inbound port rules. Port: 3389 Protocol/Source/Destination: Any Action: Allow
    Azure VM Remote Desktop Can't Connect : https://stackoverflow.com/questions/38060780/azure-vm-remote-desktop-cant-connect

    2.Troubleshoot Remote Desktop connections to an Azure virtual machine: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection

    3.Can you open the VM resource via Azure Portal and click the Reset password link in the Support + troubleshooting section? Then, select 'Reset password' and give the username you're using and a new password. https://superuser.com/questions/1143359/xrdp-session-login-failed-for-display-0

    Best regards,
    Leila


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Leila Kong 3,691 Reputation points
    2021-07-06T09:46:02.213+00:00

    Hello @AMMAR ZEB KHAN ,

    We haven’t heard from you in a couple of days.
    How are things going there on this issue?