Got Chrome Remote Desktop running on Gentoo Linux
I'm using google-chrome-beta on Gentoo. But it looks like any Chrome package will work.
download the right chrome remote desktop host package for your platform:
deb2targz <what you downloaded.deb>
.... probably better to make whole ebuild here (or rpm .. that's what I do with alien -r)
extract the resulting tar.gz file and move all the files in to position (you'll get etc, opt, usr). Everything owned as root is ok. There's nothing setuid or anything to worry about.
make a new group called "chrome-remote-desktop", and put whoever runs X/Chrome in that group
install the chrome remote desktop plugin from the chrome store
reload Chrome (to pick up native messaging, the extension that you copied in to place from the chrome remote desktop host package above)
first line: #!/usr/bin/python2.7
.. ya I have to drop down to python 2.7
# mkdir ~/.config/chrome-remote-desktop/
.. just has to be there for me
now when you go to the chrome remote desktop plugin inside chrome you'll see "Enable Remote Connections"... do that. You'll make a PIN for your computer.
the resulting file gets saved in ~/.config/chrome-remote-desktop/host######.json ... make note of that filename
in your desktop manager, or after your X desktop loads or whatever (I use xfce4 so I put it in Session and Startup, Application Autostart) set it to run:
or run that in a window for testing.. whatever...
boom magic... it works! Now your linux box is visible to other Chrome browsers via the chrome remote desktop plugin.
There's some other stuff in there for running Xvfb.. I thought it needed that, but it doesn't.. that's only for running headless.. but I don't roll like that.