This summarizes the guide for chrome remote desktop here. In
summary, you need the chrome remote program in addition to an X window system
:
here we will use xfce
sudo DEBIAN_FRONTEND=noninteractive apt install --assume-yes xfce4 desktop-base
# default xfce screen locker doesn't work on chrome remote - overwrite
sudo apt install --assume-yes xscreensaver
# disable the display service
sudo systemctl disable lightdm.service
# uncomment this to get some basic useful apps (firefox, etc)
# sudo apt install --assume-yes task-xfce-desktop
This will by default log you out at the end to make the usermod stick
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
sudo dpkg --install chrome-remote-desktop_current_amd64.deb
sudo apt install --assume-yes --fix-broken
sudo usermod -a -G chrome-remote-desktop $USER
logout
make remote desktop use xfce
sudo bash -c 'echo "exec /etc/X11/Xsession /usr/bin/xfce4-session" >
/etc/chrome-remote-desktop-session'
install chrome (if needed)
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg --install google-chrome-stable_current_amd64.deb
sudo apt install --assume-yes --fix-broken
- go to
https://remotedesktop.google.com/headless
- setup a computer and copy/paste the command for Debian
- type the command on the vm instance shell/tmux
- go to
https://remotedesktop.google.com/access
and connect