chrome-remote-desktop icon indicating copy to clipboard operation
chrome-remote-desktop copied to clipboard

Have to run make mirror every time after boot

Open bogglemind opened this issue 4 years ago • 6 comments

chrome remote desktop is now a user service so it will fail to disable while installing. Also after disabling crd and enabling crd-mirror crd --status will be "stopped",l have to run make mirror after every boot.

bogglemind avatar Jan 17 '21 20:01 bogglemind

Hi @bogglemind, thank you for opening this bug report. I will address it soon.

oofnikj avatar Jan 22 '21 05:01 oofnikj

For Arch / Manjaro, Chrome Remote Desktop is installed as a user service in /usr/lib/systemd/user. However for Debian / Ubuntu, the service is installed as an init-style service in /etc/init.d, meaning systemctl --user commands won't work. The install script should be able to handle both cases.

oofnikj avatar Jan 22 '21 07:01 oofnikj

Hi @bogglemind, I modified the installation script so that it should work for either installation (system or user).

I also removed the make mirror target and incorporated it into the install target, so you should not have to run make mirror on every reboot.

Please note that I've moved the location of the systemd service to /usr/lib/systemd/user/, so if you had previously installed mirror mode, you should delete /etc/systemd/user/crd-mirror.service by hand.

I hope it works for you.

oofnikj avatar Jan 22 '21 13:01 oofnikj

Hello, sorry I took so long I was out for holidays. I just tried the update but now it wont work anymore. I tried many things but it seems there's something I'm doing wrong. The only observation I can add is that after running 'systemctl --user enable crd-mirror' theres no output at all, I run 'crd --status" and it still shows up as "stopped". Please feel free to ask for any piece of information I can provide to get to the bottom of it

bogglemind avatar Feb 02 '21 06:02 bogglemind

Hello! I just downloaded the addon and it works as it should, but after rebooting I have to run the make install again, because CRD goes back to normal (it tries to create a new session insted of launching the current one).

I'm using Ubuntu 20.04.3 LTS.

vfmatzkin avatar Nov 30 '21 13:11 vfmatzkin

Hello! I just downloaded the addon and it works as it should, but after rebooting I have to run the make install again, because CRD goes back to normal (it tries to create a new session insted of launching the current one).

I'm using Ubuntu 20.04.3 LTS.

It goes back to normal because now there's 2 services being enabled when you recently install Chrome Remote Desktop, to disable them make sure u stop them and also disable them using:

sudo systemctl stop chrome-remote-desktop.service sudo systemctl disable chrome-remote-desktop@${USER}.service (or @yourUser if you're not in bash)

ahsand97 avatar Apr 04 '22 15:04 ahsand97