In this tutorial, you will learn how to set up desktop environment and get Remote Desktop connection for RDP google cloud platform virtual machine. You want to know how to get RDP GCP cloud console access via Turbo VNC Viewer (a rdp client) and it’s set up process. Watch the previous video down below.
This is Ubuntu 18.04 LTS platform based VM instance. If you are beginner, please watch me previous video here to know how to set up google cloud virtual machine.
Setting up IP Address
After set up virtual machine, you should have static the IP address to ensure it is not change during restart. In the menu, under VPC Network select External IP addresses. Then change IP type to Static, in the pop-up window give any name and click “Reserve”. button.
Install RDP server and Ubuntu Desktop Enviroment
Then get back to compute engine page (VM instances page), click “SSH” button a command line will open. To update list of packages, follow this command. You can find all the command and guideline at the link in the description. I recommend to follow the link for better understanding.
sudo apt-get update
To install RDP server. Use this line.
sudo apt-get install -y xrdp
Specifically, we will install packages for the latest Xfce desktop environment. Enter the following command.
sudo apt-get install -y xfce4
Now restart the server.
sudo service xrdp restart
Then get root access to enter a password. Use following steps.
sudo -s
Enter a password and verify it. It is not visible on the terminal. Don’t worry, just type. The password must be between six and eight characters long. Passwords more than 8 characters will be truncated automatically.
Connect VM Instance though RDP
Now you are ready to remotely access the VPS. Close the terminal. Then please check the firewall rules is there any block to connect server public IP address.
In the windows search bar, type remote desktop connection and Open the app. Copy your external IP address and paste it as server name then click “connect” button.
Select session as “XORG” and username type “root” then enter your password. Enjoy the VPS with RDP assess.
[…] you want to free VPS with RDP access check below articles. These are 24/7 VPS that run on Google Cloud Platform and Oracle […]
[…] you have to signup for the Google Cloud Platform. You can sign in using your Google account and fill a simple form. It is an easy task; I think all […]
[…] Install Ubuntu desktop environment for RDP […]
[…] name of the VM instance what ever you like. Chose a region and zone that include in google cloud platform free tier. Then select machine type f1 micro under N1 series. Click “change” button to select a […]