Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 2.41 KB

create-windows-vm-and-set-up-xserver.md

File metadata and controls

41 lines (34 loc) · 2.41 KB
author ms.author ms.reviewer ms.date
KarlErickson
karler
haiche
06/21/2024
  1. Use the following steps to create a Windows 10 VM from the Azure portal:

    1. Open the resource group you created before in the Azure portal.
    2. Select Create to create the resource.
    3. Select Compute, search for windows 10, and then select Microsoft Windows 10.
    4. Select the plan that you want, and then select Create.
    5. Use the following values to configure the VM:
      • Virtual machine name: myWindowsVM
      • Image: Windows 10 Pro
      • Username: azureuser
      • Password: Secret123456
    6. Select the checkbox under Licensing.
    7. Select Review + create, and then select Create.

    It takes a few minutes to create the VM and supporting resources.

    After the deployment finishes, install the X server and use it to configure the application server on the Linux machines by using a graphical interface.

  2. Use the following steps to install and launch the X server:

    1. Use Remote Desktop to connect to myWindowsVM. For a detailed guide, see How to connect using Remote Desktop and sign on to an Azure virtual machine running Windows. You must execute the remaining steps in this section on myWindowsVM.
    2. Download and install VcXsrv Windows X Server.
    3. Disable the firewall. To allow communication from the Linux VMs, use the following steps to turn off Windows Defender Firewall:
      1. Search for and open Windows Defender Firewall.
      2. Find Turn Windows Defender Firewall on or off, and then select Turn off in Private network settings. You can leave Public network settings alone.
      3. Select OK.
      4. Close the Windows Defender Firewall settings panel.
    4. Select X-launch from the desktop.
    5. For display settings, set the display number to -1 to use multiple windows, and then select Next.
    6. For Select how to start clients, select Start no client, and then select Next.
    7. For extra settings, select Clipboard and Primary Selection, Native opengl, and Disable access control.
    8. Select Next to finish.

    A Windows Security Alert dialog might appear with this message: "Allow VcXsrv windows X-server to communicate on these networks." Select Allow access.