Usermod: group chrome-remote-desktop does not exist

How to Install Chrome Remote Desktop on Ubuntu 18.04

With Ubuntu 18.04 recently released, I wanted to install Chrome Remote Desktop on it to remotely access my desktop. Over the years, I keep trying to install Chrome Remote Desktop but end up dredging up a hodge-podge of articles and forum posts that sometimes lead to dead ends. So I decided to try to nail down a concrete set of working steps for myself once and for all.

Setting Chrome Remote Desktop for Ubuntu 18.04

//medium.com/@vsimon/how-to-install-chrome-remote-desktop-on-ubuntu-18-04-52d99980d83e

  1. Install google-chrome-stable

wget //dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb sudo dpkg -i google-chrome-stable_current_amd64.deb

  1. Install chrom-remote-desktop

sudo dpkg -i ~/Downloads/chrome-remote-desktop_current_amd64.deb sudo apt-get install -f

  1. Add remote group

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

  1. Monkey Patching for chrome remote desktop

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

  • in file "/opt/google/chrome-remote-desktop/chrome-remote-desktop"
DEFAULT_SIZES = "1920x1080,3840x2400" FIRST_X_DISPLAY_NUMBER = 1 #while os.path.exists[X_LOCK_FILE_TEMPLATE % display]: #display += 1 def launch_session[self, x_args]: self._init_child_env[] self._setup_pulseaudio[] self._setup_gnubby[] #self._launch_x_server[x_args] #self._launch_x_session[] display = self.get_unused_display_number[] self.child_env["DISPLAY"] = ":%d" % display

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

  1. Relaunch chrome remote desktop app and setting “Enable remote connections”

Video liên quan

Chủ Đề