From
https://cloud.google.com/solutions/chrome-desktop-remote-on-compute-engine
Followed all docs with no errors.
At the "Configure and Start" section:
sudo usermod -a -G chrome-remote-desktop $USER
This command returns the following error:
usermod: group 'chrome-remote-desktop' does not exist
Note: The Chrome Remote Desktop install section went without issue(s).
Should I reboot?
I assume manually creating the group is not a good idea because if the chrome remote desktop usually creates it, it probably has specific permissions that I’m not aware of.
2
Answers
I had to install chrome remote desktop on the vm and it worked. You can find instructions here:
https://cloud.google.com/solutions/chrome-desktop-remote-on-compute-engine#installing_chrome_remote_desktop_on_the_vm_instance
Documentation is good, because first you manually install the .deb package:
It will fail due to missing dependencies, it will tell you which dependencies are missing and you can automatically install them with apt package manager.
Then is when you have to use apt to fix missing dependencies, note that apt will automatically add chrome-remote-desktop group at the end of the installation:
Next step would be to set the X Environment.