I use Chrome Remote Desktop as a convenient way to access my desktop while traveling. From time to time it will have issues that require restarting the PC remotely. However, Chrome Remote Desktop will not start automatically after rebooting. Thankfully I can SSH into the PC and start it manually with CRD --restart but I would like to avoid that process as it depends on a VPN connection and a few extra steps.
I know this issue might be trivial but for me I am lost. Unless I missed it, it doesn’t seem like there is a lot of Arch specific documentation on setting up Chrome-Remote-Desktop. I managed to find this page:
If there is no such a service in /usr/lib/systemd/system, you might want to create a chrome-remote-desktop.service in /etc/systemd/system with the following content:
Disclaimer: I don’t use chrome-remote-desktop, so I haven’t tested the above but it looks like it should work.
Edit: I had a quick look at the PKGBUILD for chrome-remote-desktop. It looks like you should have a service already installed in /usr/lib/systemd/system so I guess the below should do the job: