author | ms.author | ms.reviewer | ms.date |
---|---|---|---|
KarlErickson |
karler |
haiche |
06/21/2024 |
-
Use the following steps to create a Windows 10 VM from the Azure portal:
- Open the resource group you created before in the Azure portal.
- Select Create to create the resource.
- Select Compute, search for windows 10, and then select Microsoft Windows 10.
- Select the plan that you want, and then select Create.
- Use the following values to configure the VM:
- Virtual machine name: myWindowsVM
- Image: Windows 10 Pro
- Username: azureuser
- Password: Secret123456
- Select the checkbox under Licensing.
- 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.
-
Use the following steps to install and launch the X server:
- 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 onmyWindowsVM
. - Download and install VcXsrv Windows X Server.
- Disable the firewall. To allow communication from the Linux VMs, use the following steps to turn off Windows Defender Firewall:
- Search for and open Windows Defender Firewall.
- Find Turn Windows Defender Firewall on or off, and then select Turn off in Private network settings. You can leave Public network settings alone.
- Select OK.
- Close the Windows Defender Firewall settings panel.
- Select X-launch from the desktop.
- For display settings, set the display number to -1 to use multiple windows, and then select Next.
- For Select how to start clients, select Start no client, and then select Next.
- For extra settings, select Clipboard and Primary Selection, Native opengl, and Disable access control.
- 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.
- Use Remote Desktop to connect to