Tuesday, May 3, 2022

Access Cloud VM and Launch Ubuntu Desktop

Step 1: Install Chrome Remote Desktop on the VM(Targeted VM, which you want to log in and use via GUI).

    sudo apt update 

    sudo apt install --assume-yes wget tasksel

     

 Step 2: Download and install the Debian Linux Chrome Remote Desktop installation package also works for ubuntu 20.04.
sudo apt-get install --assume-yes ./chrome-remote-desktop_current_amd64.deb 



Step 3: Set up an Ubuntu desktop environment in the VM (remote VM)

sudo tasksel install ubuntu-desktop

sudo bash -c ‘echo “exec /etc/X11/Xsession /usr/bin/gnome-session” > /etc/chrome-remote-desktop-session’

sudo reboot

Step 4: Go to your pc and open google chrome.

                then go to: https://remotedesktop.google.com/headless and begin.



Step 5: click next then click Authorize


Step 6: Choose the appropriate optionà Debian Linux for Ubuntu and copy the key and pest it to remote VM, after pest it to remote VM 6 digit password is required.. make your password and you are ready to go. And then click start over.



Step 7: In the last step go to https://remotedesktop.google.com/access and you should see your remote VM is connected.


source: ubuntu blog. 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home