How to setup Chrome Remote Desktop on Linux Mint 18.1 Cinnamon

Recently, I switched to Linux Mint for development from Windows. One of the most used feature I use in Windows is Chrome Remote Desktop. I had lot of trouble when I first tried to install it in Linux Mint 18.1. Eventually I figured out the proper way to install it. Here are the steps:

Step 1: Install google chrome from google website.

Step 2: Install Chrome Remote Desktop app from chrome app store.

Step 3: Execute the following codes from a terminal:

echo 'exec /etc/mdm/Xsession "cinnamon-session-cinnamon2d"' >> ~/.chrome-remote-desktop-session

echo 'export CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES="1366x768"' >> ~/.profile

Step 4: Download chrome remote desktop host component from the following links:

64-bit Package

32-bit Package

Step 5: Execute the .deb file to install. It will be installed along with its dependencies.

Step 6: Restart Mint.

Step 7: Enable desktop sharing from Chrome Remote Desktop app. It ask to set a pin to access the computer.

Step 8: Access the computer from another computer with Chrome Remote Desktop app.