Remote Desktop connect to Ubuntu in GCP

0 votes
To learn Linux on a virtual machine, I wish to establish a remote connection to a Google Cloud Linux instance. This will be the greatest choice since I use multiple different computers throughout the day.

It would be great if someone could assist me in setting up a link to Google Cloud.

Because Ubuntu is what all of my resources are now teaching me, I would prefer to utilize it.
Nov 3, 2022 in GCP by Ashwini
• 5,390 points
1,296 views

1 answer to this question.

0 votes

The instructions below can be used to connect to an Ubuntu instance on Google Cloud using the RDP protocol on Windows (pro):

1. sudo apt update 
2. sudo apt install tasksel
3. sudo tasksel install ubuntu-desktop
4. sudo systemctl set-default graphical.target
5. sudo passwd root // set root password, if you don't remember it
6. sudo apt install xrdp
7. sudo systemctl enable xrdp // This will start RDP service

Open Windows' Remote Desktop Connection now, enter your IP address and click Connect. To log in, use "root" as both the username and password.

answered Nov 4, 2022 by Tejashwini
• 3,780 points

Related Questions In GCP

0 votes
1 answer

Unable to connect through SSH with VS-Code in Mac to a remote GCP VM

It looks to be a specific error ...READ MORE

answered Mar 20, 2022 in GCP by Korak
• 5,820 points
1,173 views
0 votes
1 answer

Connect to an instance as a root user in GCP

If you configured an instance to allow ...READ MORE

answered Sep 24, 2019 in GCP by Sirajul
• 59,250 points
4,653 views
0 votes
1 answer

How to connect Ec2 in AWS migrated from GCP?

Before migrating from AWS to Google Cloud ...READ MORE

answered Mar 31, 2022 in GCP by Korak
• 5,820 points
606 views
0 votes
2 answers

How to install gcp in Python?

If you're accessing BigQuery in python, you ...READ MORE

answered Aug 20, 2018 in GCP by Priyaj
• 58,100 points
1,324 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,230 points
875 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
789 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
588 views
0 votes
1 answer

How to change the project in GCP using CLI commands?

gcloud config set project $MY_PROJECT_ID #=> Updated property [core/project]. You ...READ MORE

answered Nov 4, 2022 in GCP by Tejashwini
• 3,780 points
712 views
0 votes
1 answer

How to login gcp console without ssh?

Please test one of the following strategies ...READ MORE

answered Nov 4, 2022 in GCP by Tejashwini
• 3,780 points
356 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP