How to restart Chrome Remote Desktop from command line

6

1

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?

Alexander Taylor

Posted 2017-05-03T16:58:02.337

Reputation: 303

Answers

10

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.)

Alexander Taylor

Posted 2017-05-03T16:58:02.337

Reputation: 303

2

On Windows:

    net stop chromoting
    net start chromoting

JohnLock

Posted 2017-05-03T16:58:02.337

Reputation: 21

2Could you add some further context to this answer? Please see [answer] and take our [tour]. – Burgi – 2017-10-27T07:54:56.387

Thanks JohnLock. Welcome to StackOverflow! I updated the community answer (: – Alexander Taylor – 2017-10-29T04:10:58.880