How to restart Chrome Remote Desktop from command line
chrome-remote-desktop
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?
Best Answer
Restarting the service
Linux: The host process is a normal Linux service, so you can restart it by typing this in your SSH session:
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 chromotingmacOS:
launchctl start org.chromium.chromotingReinstalling the service
[I don't know how to install/reinstall Chrome Remote Desktop via SSH. Someone please update this answer if you know how.]
Related Question
- Google-chrome Under what login/boot conditions can Chrome Remote Desktop access a computer? Does this differ by OS
- How to press CTRL+ALT+DEL on chrome remote desktop