@starain I forked your gist, added some deps and also enforced suid bit to user only. For anyone having issues, try using this gist in place of /opt/google/chrome-remote-desktop/chrome-remote-desktop: https://gist.github.com/tonylambiris/d9b37f224b166a823eb8115911114019
You will just have to change DEFAULT_SIZES to your regular resolution you run X at. You may also have to change FIRST_X_DISPLAY_NUMBER to share your desktop like you normally would want to in a remote pc session. I found this by running sudo xdpyinfo | head -3
(running with sudo is intentional).
Lastly, I matched .config/chrome-remote-desktop/Size to reflect the resolution set in DEFAULT_SIZES. This file literally is 1 line with 3840x2160 in it. I believe that's everything to get you up and running.
Pinned Comments
frealgagu commented on 2020-12-05 22:38 (UTC)
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.chrome-remote-desktop/releases/
victorbrca commented on 2020-04-03 01:04 (UTC)
Thanks @frealgagu for packaging this, @nightuser for the existing session patch and @Brinsky for the instructions.
I've compiled both instructions with screenshots and added it to my blog if anyone is having issues with the install. Otherwise, just follow the instructions in the comments by @Brinsky from 2019-12-06 13:58.
Brinsky commented on 2019-12-06 13:58 (UTC)
Here's how I got this working with the new web app (remotedesktop.google.com):
crd --setup
~/.chrome-remote-desktop-session
DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="<UNIQUE_CODE>" --redirect-url="<https://remotedesktop.google.com/_/oauthredirect>" --name=
crd --start