How to view an Azure virtual machine with a GUI on local Ubuntu computer

Chinmay Roy
2 min readApr 25, 2023

--

You can use Remote Desktop Protocol (RDP) to connect to the virtual machine. Here’s how to do it:

  1. First, make sure that Remote Desktop is enabled on the Azure virtual machine. You can do this by going to the virtual machine’s Networking settings and making sure that the Inbound port rule for RDP is enabled.
  2. Get the public IP address of the virtual machine.
  3. Install the Remmina Remote Desktop Client on your Ubuntu computer by running the following command in the terminal:
sudo apt-get install remmina remmina-plugin-rdp
  1. Launch Remmina by searching for it in the Ubuntu applications menu.
  2. In the Remmina window, click on the “+” button to create a new connection.
Remmina Remote Desktop
Remmina Remote Desktop (Plus Icon Left Corner)
  1. In the new connection window, select “RDP” as the protocol.
Remmina Remote Desktop (After Clicked Plus Icon)
  1. Enter the public IP address of the Azure virtual machine in the “Server” field.
  2. Enter your Azure virtual machine’s username and password in the “User name” and “Password” fields.
  3. Click “Save” to save the connection settings.
  4. Double-click on the new connection in the Remmina window to start the remote desktop session.
  5. You should now be connected to the Azure virtual machine with a GUI on your Ubuntu computer.

Note: If you encounter any issues with the RDP connection, make sure that the Inbound port rule for RDP is enabled in the Azure virtual machine’s Networking settings and that your Ubuntu computer is able to connect to the virtual machine’s public IP address.

--

--

Chinmay Roy
Chinmay Roy

Written by Chinmay Roy

Software Engineer | Full Stack

No responses yet