I am a newbie with Linux and I just wanted to share my experience how I made it work with my Mac, maybe someone has the same issue as I had.
I managed to register my Arch PC in my Mac's chrome remote desktop's list with Brinsky's comment, but it was offline, even tho the service was running on Arch. So I added these lines in the ~/.chrome-remote-desktop-session
file:
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval "$(dbus-launch --sh-syntax)"
export DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_PID
fi
export XDG_CURRENT_DESKTOP=GNOME
export DESKTOP_SESSION=gnome
export GNOME_SHELL_SESSION_MODE=classic
export DISPLAY=:20
export GDK_BACKEND=x11
export XDG_SESSION_TYPE=x11
exec /usr/bin/gnome-session --session=gnome
I use GNOME, so those values should be changed for you, if you use something else. But since it's a virtual desktop session you can technically use anything as long as it's installed.
But this won't change the fact that this still starts a new virtual desktop session and your actual session is not reachable.
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