Install Install and Launch Ubuntu 22.04 Desktop on Google Cloud


https://medium.com/cloudnloud/install-and-launch-ubuntu-22-04-desktop-on-google-cloud-1fba8c0f9585

ketan_patel@matlab-debian-ubutun-license-server:~$ history
    2  sudo apt update
    3  sudo apt install --assume-yes wget tasksel
    4  wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
    5  sudo apt-get install --assume-yes ./chrome-remote-desktop_current_amd64.deb
    6  sudo apt update && sudo apt upgrade
    7  sudo apt install slim
    8  sudo apt install ubuntu-desktop
    9  sudo reboot
   10  sudo service slim start
   11  DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="4/0AfJohXmAb9TSGxAGv65fGQYf8QVS26c206rOvEXKj8Fn5GD9ySKKcuJfmnosXrPbhYaauw" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=$(hostname)

(ENTER PIN AND SAVE IT)

ketan_patel@matlab-debian-ubutun-license-server:~$







ketan_patel@matlab-debian-ubutun-license-server:~$ sudo service slim start

ketan_patel@matlab-debian-ubutun-license-server:~$ DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="4/0AfJohXmAb9TSGxAGv65fGQYf8QVS26c206rOvEXKj8Fn5GD9ySKKcuJfmnosXrPbhYaauw" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=$(hostname)
[1023/224057.701495:ERROR:usage_stats_consent_linux.cc(37)] No host config file found.
Enter a PIN of at least six digits: 
Enter the same PIN again: 
[1023/224107.335482:INFO:daemon_controller_delegate_linux.cc(97)] Created symlink /etc/systemd/system/multi-user.target.wants/chrome-remote-desktop@ketan_patel.service → /lib/systemd/system/chrome-remote-desktop@.service.


Configure the Chrome Remote Desktop service and Connect to your Ubuntu Desktop

To start the remote desktop connection, you need to have an authorization key for your Google account.


1. In the Cloud Console, click the SSH button to connect to your instance.

2. On your local computer, using the Chrome browser, go to the Chrome Remote Desktop command line setup page:
https://remotedesktop.google.com/headless

No comments:

Post a Comment

AppEngine - Python

tudent_04_347b5286260a@cloudshell:~/python-docs-samples/appengine/standard_python3/hello_world (qwiklabs-gcp-00-88834e0beca1)$ sudo apt upda...