Linux – Google Chrome Remote Desktop generate pin using Linux console

chrome-remote-desktopgoogle-chromelinux

Right now Google Chrome Remote Desktop does not allow to add whole machine to the computers list. So it is impossible to access computer that does not manually generate PIN code.

I have a SSH access to the remote machine which has installed above plugin. Is it possible to generate PIN using terminal ?

Best Answer

I ran into the same problem, so I wrote a shell script to do just what you are asking. You log in over ssh and run this script, and it automatically clicks the clicks to start up chrome on your (still invisible) display and return you the access code at the ssh terminal. You can cut/paste this code into the RD from on your chrome client, and it connects up. See my wiki page at http://zeus.phys.uconn.edu/wiki/index.php/How_to_start_a_Chrome_Remote_Desktop_session_on_Linux#The_chromote.sh_script