How to Install Chrome Remote Desktop on Ubuntu 18.04

wget dpkg -i google-chrome-stable_current_amd64.deb
After launching Chrome Remote Desktop for the first time
sudo dpkg -i ~/Downloads/chrome-remote-desktop_current_amd64.debsudo apt-get install -f
Fix missing dependencies and complete the installation
sudo usermod -a -G chrome-remote-desktop $USERsudo reboot
Adding user to the chrome-remote-desktop group

Stop Chrome Remote Desktop:

/opt/google/chrome-remote-desktop/chrome-remote-desktop --stop

Backup the original configuration:

sudo cp /opt/google/chrome-remote-desktop/chrome-remote-desktop /opt/google/chrome-remote-desktop/chrome-remote-desktop.orig

Edit the config file (sudo vim, gksudo gedit, etc):

sudo gedit /opt/google/chrome-remote-desktop/chrome-remote-desktop

Find DEFAULT_SIZES and amend to the remote desktop resolution. For example:

DEFAULT_SIZES = "1920x1080"

Set the X display number to the current display number (obtain it with echo $DISPLAY from any terminal). On Ubuntu 17.10 and lower, this is usually 0, and on Ubuntu 18.04, this is usually 1:


Comment out sections that look for additional displays:

#while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
# display += 1

Reuse the existing X session instead of launching a new one. Alter launch_session() by commenting out launch_x_server() and launch_x_session() and instead setting the display environment variable, so that the function definition ultimately looks like the following:

def launch_session(self, x_args):
display = self.get_unused_display_number()
self.child_env["DISPLAY"] = ":%d" % display

Save and exit the editor. Start Chrome Remote Desktop:

/opt/google/chrome-remote-desktop/chrome-remote-desktop --start


sudo dpkg -i google-chrome-stable_current_amd64.deb

Install Chrome, sign-in, install Chrome Remote Desktop, launch & download the installer.

sudo dpkg -i ~/Downloads/chrome-remote-desktop_current_amd64.deb

sudo apt-get install -f

sudo usermod -a -G chrome-remote-desktop $USER

sudo reboot

Monkey patch/opt/google/chrome-remote-desktop/chrome-remote-desktop following the Stack Overflow superuser post

Launch Chrome Remote Desktop and do “Enable remote connections”



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store