PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, May 15, 2022

[FIXED] How to regain control over an Ubuntu Remote Desktop running on a Google Cloud VM after being locked out?

 May 15, 2022     google-cloud-platform, passwords, ubuntu, ubuntu-20.04, virtual-machine     No comments   

Issue

Following these instructions I set up a remote desktop computer running on a Google Cloud Virtual Machine. I had a perfectly functional Ubuntu 20.04 LTS machine controllable from my browser. I left it alone for a few minutes, and now the screen is locked:

enter image description here

I have not specified any password before. A simple enter does not let me in.

How can I regain control over this machine?


Solution

You can connect to your VM using SSH and then you log in as root using sudo su. Then you can change the password of any user using passwd USER_NAME



Answered By - Ferregina Pelona
Answer Checked By - Dawn Plyler (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing