Skip to content
Tomohisa Kusano edited this page Feb 23, 2016 · 2 revisions

Preparation via VNC (Required only once)

A "VNC over SSH" connection to your Docker host is required.

  1. To create a Chrome profile on the host: * The VNC server in this image does not have a password; do not run with -p 5900:5900!

    $ docker run -d -p 127.0.0.1:5900:5900 --name chrome-profile siomiz/chrome

  2. Connect to chrome-profile via VNC over SSH: * ex: Reminna on Ubuntu * Set Protocol to VNC - Virtual Network Computing * Set Server to your Docker host * Color depth needs to be on or above High color (Connection will be refused at 256) * ☑ Enable SSH tunnel * ☑ Tunnel via loopback address * And your SSH Authentication settings

[<img width="300" alt="remmina config 1" src="https://raw.githubusercontent.com/siomiz/chrome/wiki/wiki/remmina1.jpg">](https://raw.githubusercontent.com/siomiz/chrome/wiki/wiki/remmina1.jpg)
[<img width="300" alt="remmina config 2" src="https://raw.githubusercontent.com/siomiz/chrome/wiki/wiki/remmina2.jpg">](https://raw.githubusercontent.com/siomiz/chrome/wiki/wiki/remmina2.jpg)
  1. Chrome Remote Desktop (Host) settings * This Chrome profile created via VNC is only used for Chrome Remote Desktop connection. It requires a Google account, but "Sync" is not recommended as the Chrome instance will be different in /crdonly mode.
1. Log in to your Google account used for Chrome Remote Desktop.
2. "Add to Chrome" the Google Remote Desktop app from Chrome Web Store ("chrome remote desktop" to Omnibar.)
3. New Tab > Apps (Top-left icon) > Chrome Remote Desktop
4. My Computers > Get started > Enable remote connections
5. Set a PIN (at least 6 digits). If the box doesn't take any input, close all background Chrome tabs.
6. You should see "Remote connections for this computer have been enabled."
Click on "OK" and change the machine name if necessary. Disconnect the VNC connection.
  1. Stop chrome-profile
`$ docker stop chrome-profile`

Connect to Chrome via Chrome Remote Desktop

$ docker run -d --volumes-from chrome-profile siomiz/chrome /crdonly

You should see your machine on the computer list under Google account used in the above steps.

Clone this wiki locally