The problem is that Xorg wrapper is used instead of the binary. There is a workaround for Debian in: https://chromium-review.googlesource.com/c/chromium/src/+/3562121
But on Arch the Xorg binary is in /usr/lib, not in /usr/lib/xorg so the workaround does not work.
One way to make it work is to set /usr/lib to be first in path, before /usr/bin (so the binary /usr/lib/Xorg is used instead of the wrapper /usr/bin/Xorg): export PATH=/usr/lib:$PATH
Another way would be to patch linux_me2me_host.py to have: xorg_binary = "/usr/lib/Xorg";
Hope it helps.
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