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.
git clone [email protected]:xAt0mZ/archlinux.chrome-remote-desktop.git
cd archlinux.chrome-remote-desktop
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
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
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.
- Install the package following Install instructions
- Run
crd --setup
to configure your connection (only do it once !) - Select your Desktop Environment and save the file
- Enter a new resolution if you would like to use something different than the default (1366x768). Save the file
- You should see the confirmation that the setup is complete
- Go to https://remotedesktop.google.com/headless and click on
Begin
- Click on
Next
- Click on
Authorize
- Select the Goole account you would like to use
- Give it permission
- Click on the Debian Linux copy button and paste on your terminal
- 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
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
- Find what display number X is using
$ echo $DISPLAY
:0
- Create a file in
~/.config/chrome-remote-desktop/Xsession
with the display value
$ echo "0" > ~/.config/chrome-remote-desktop/Xsession
- Stop the
chrome-remote-desktop.service
$ systemctl stop chrome-remote-desktop.service
- Check if it stopped with
crd --status
. If it did not, stop it withcrd --stop
$ crd --status
CRD status: STOPPED
-
Take a backup of
/opt/google/chrome-remote-desktop/chrome-remote-desktop
-
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
- 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
- Go to https://remotedesktop.google.com/ from another computer and try to access your computer