GithubHelp home page GithubHelp logo

archlinux.chrome-remote-desktop's Introduction

This is a fork of https://github.com/frealgagu/archlinux.chrome-remote-desktop

Sole purpose is to have updates managed on my own without waiting for the official repository to be updated.

Clone

git clone [email protected]:xAt0mZ/archlinux.chrome-remote-desktop.git
cd archlinux.chrome-remote-desktop

Install instructions

Clone the repository then run

# NEVER RUN AS ROOT
makepkg -csf
pacman -U ./chrome-remote-desktop-[...].pkg.tar.zst

If you encounter any error during packaging (like invalid hunk), see Additional configuration

Update

The PKGBUILD already takes care of downloading the latest version. You simply need to recreate the package with makepkg and reinstall with pacman

See Install instructions

Usage

Based on https://blog.victormendonca.com/2020/04/02/how-to-install-chrome-remote-desktop-on-arch/

Copying the content in case the link gets lost at some point.

  1. Install the package following Install instructions
  2. Run crd --setup to configure your connection (only do it once !)
  3. Select your Desktop Environment and save the file
  4. Enter a new resolution if you would like to use something different than the default (1366x768). Save the file
  5. You should see the confirmation that the setup is complete
  6. Go to https://remotedesktop.google.com/headless and click on Begin
  7. Click on Next
  8. Click on Authorize
  9. Select the Goole account you would like to use
  10. Give it permission
  11. Click on the Debian Linux copy button and paste on your terminal
  12. Give a pin to access your computer

You should get a confirmation that everything went ok

Starting Xvfb on display :20
X server is active.
Launching X session: ['/bin/sh', '/home/victor/.chrome-remote-desktop-session']
Launching host process
['/opt/google/chrome-remote-desktop/chrome-remote-desktop-host', '--host-config=-', '--audio-pipe-name=/home/victor/.config/chrome-remote-desktop/pulseaudio#ae6329c099/fifo_output', '--server-supports-exact-resize', '--ssh-auth-sockname=/tmp/chromoting.victor.ssh_auth_sock', '--signal-parent']
wait() returned (1092272,0)
Host ready to receive connections.
Log file: /tmp/chrome_remote_desktop

Additional configuration

In case you want to re-use your existing session or you encounter a message like "unable to find display :20", see the following instructions

  1. Find what display number X is using
$ echo $DISPLAY
:0
  1. Create a file in ~/.config/chrome-remote-desktop/Xsession with the display value
$ echo "0" > ~/.config/chrome-remote-desktop/Xsession
  1. Stop the chrome-remote-desktop.service
$ systemctl stop chrome-remote-desktop.service
  1. Check if it stopped with crd --status. If it did not, stop it with crd --stop
$ crd --status
CRD status: STOPPED
  1. Take a backup of /opt/google/chrome-remote-desktop/chrome-remote-desktop

  2. Download the patched /opt/google/chrome-remote-desktop/chrome-remote-desktop to the same location, or follow the instructions to manually modify your file here.

/!\ Note: The patched version was tested with chrome-remote-desktop 81.0.4044.60-1

  1. Start the agent with crd --start so you can see verbose output. You should receive a confirmation when it starts
$ crd --start

Launching X server and X session.
Using existing Xorg session: 0
Launching host process
['/opt/google/chrome-remote-desktop/chrome-remote-desktop-host', '--host-config=-', '--audio-pipe-name=/home/victor/.config/chrome-remote-desktop/pulseaudio#ae6329c099/fifo_output', '--ssh-auth-sockname=/tmp/chromoting.victor.ssh_auth_sock', '--signal-parent']
Host ready to receive connections.
Log file: /tmp/chrome_remote_desktop_20200402_202207_2vtQSb
  1. Go to https://remotedesktop.google.com/ from another computer and try to access your computer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.