18

Say I was using Chrome Remote Desktop and remotely killed the host process on accident, causing me to get kicked off. However I still have SSH/terminal/command-line access. How can I relaunch the service so I can connect again?

Also, is it possible to install or reinstall Chrome Remote Desktop via SSH?

2 Answers 2

26

Restarting the service

Linux: The host process is a normal Linux service, so you can restart it by typing this in your SSH session:

sudo service chrome-remote-desktop restart

You should only have to wait a few seconds before it's ready for you to try connecting.

Windows, run these commands to restart the service (thanks @JohnLock):

net stop chromoting
net start chromoting

macOS:

launchctl start org.chromium.chromoting

Reinstalling the service

(I don't know how to install/reinstall Chrome Remote Desktop via SSH. Someone please update this answer if you know how.)

5
  • Thanks for this! I have a machine whose Chrome Remote Desktop "server" (daemon) seems to "break" after a period of time. I used the following cron job to restart the daemon every hour which allows me to connect to the machine at any time: 0 * * * * service chrome-remote-desktop restart
    – rinogo
    May 11, 2021 at 17:28
  • sudo seems to be optional (for me, at least).
    – rinogo
    May 11, 2021 at 17:28
  • 1
    Failed to restart chrome-remote-desktop.service: Unit chrome-remote-desktop.service is masked
    – johndpope
    Jun 29, 2021 at 5:59
  • hi @johndpope could you solve the "chrome-remote-desktop.service is masked" problem?
    – Enrique
    Nov 15, 2021 at 18:49
  • can't remember - I think I just yielded to remotedesktop.google.com / but that's not working for me these days.
    – johndpope
    Nov 18, 2021 at 0:04
3

On Windows:

    net stop chromoting
    net start chromoting
2
  • 2
    Could you add some further context to this answer? Please see How to Answer and take our tour.
    – Burgi
    Oct 27, 2017 at 7:54
  • Thanks JohnLock. Welcome to StackOverflow! I updated the community answer (: Oct 29, 2017 at 4:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .