Skip to content

Instantly share code, notes, and snippets.

@aimuhire
Last active November 3, 2023 18:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aimuhire/875eed914540e854fae74a54b81a6977 to your computer and use it in GitHub Desktop.
Save aimuhire/875eed914540e854fae74a54b81a6977 to your computer and use it in GitHub Desktop.
Setup remote desktop on AWS ubuntu debian instance
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
sudo apt update
sudo dpkg --install chrome-remote-desktop_current_amd64.deb
sudo apt install --assume-yes --fix-broken
sudo DEBIAN_FRONTEND=noninteractive \
apt install --assume-yes xfce4 desktop-base
sudo bash -c 'echo "exec /etc/X11/Xsession /usr/bin/xfce4-session" > /etc/chrome-remote-desktop-session'
sudo apt install --assume-yes xscreensaver
sudo systemctl disable lightdm.service
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
timedatectl set-timezone Africa/Kigali
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment