Fabio Manniti
Fabio Manniti

Reputation: 171

Cannot connect to Google RDP Virtual Machine

I have just created a Virtual Machine instance on GCP; I have a username, a password and a ip address. I opened Remmina on my pc and I tried to connect. Everything worked for 10 minutes then the screen turned black and I restarted it and, since then, connection doesn't work anymore. I get the "Lost connection" error. I opened my terminal and I typed telnet 34.xx.xxx.xx and it hangs so I guess that the connection isn't working anymore.

I don't know why since I didn't touch anything. I also tried to restart the machine and create a new instance but I get the same error.

Any suggestions?

enter image description here enter image description here

Upvotes: 0

Views: 576

Answers (1)

ibrez
ibrez

Reputation: 146

I had similar issues, cannot be sure unless I have seen the gcp account but here are my few guesses :

  • Was the account that you created a temperory account ( qwicklabs etc ) that could have expired ?
  • Did you change the OS to Core where the login is command prompt based black screen ?

I have just tried to login to the below configuration enter image description here

To check if I was able to RDP sucessfully enter image description here

Edit 1: first try to telnet on the port 3389

telnet <ip-address> 3389

if you are not able to connect try to enable the firewall for 3389

gcloud compute firewall-rules create allow-rdp --allow tcp:3389

Here is the Google page for troubleshooting RDP connections

Upvotes: 1

Related Questions