-
-
Save nenoken/7279e6c6d689e37170bc1f7f4a2be42c to your computer and use it in GitHub Desktop.
Ubuntu 18.04 LTS 에서 Chrome Remote Desktop 설정
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Setting Chrome-remote-desktop for Ubuntu 18.04 | |
| > https://medium.com/@vsimon/how-to-install-chrome-remote-desktop-on-ubuntu-18-04-52d99980d83e | |
| 1. Install google-chrome-stable | |
| ```Shell | |
| wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
| sudo dpkg -i google-chrome-stable_current_amd64.deb | |
| ``` | |
| 2. Install chrom-remote-desktop | |
| ```Shell | |
| sudo dpkg -i ~/Downloads/chrome-remote-desktop_current_amd64.deb | |
| sudo apt-get install -f | |
| ``` | |
| 3. Add remote group | |
| ``` Shell | |
| sudo usermod -a -G chrome-remote-desktop $USER | |
| sudo reboot | |
| ``` | |
| 4. Monkey Patching for chrome remote desktop | |
| ```Shell | |
| /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` | |
| 5. Relaunch chrome remote desktop app and setting “Enable remote connections” |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment