How to Use Google Chrome Remote Desktop on Linux
In this article, we are going to show you how to use Chrome Remote Desktop installed on a Linux machine to access remotely located computers. With Chrome Remote Desktop for Linux, you can access and control virtually any computer that supports the Chrome Web Browser.
You will be able to remotely control your Linux box from a Chromebook, machines running Windows or macOS, other Linux machines, or mobile devices featuring iOS or the Android operating system. With Google Remote Desktop on Linux, a single laptop can access and control other remote computers.
How to Install and Setup Chrome Remote Desktop on Linux
Any Linux distribution that allows the installation of Google’s Chrome Web Browser can be configured to enable the extended features of Chrome Remote Desktop. The remote desktop functionality allows you to access and control another computer. You can share files, run apps, and restart a machine on the other side of the world from wherever you happen to be at the moment.
Let’s look at how to install Chrome Remote Desktop on Ubuntu and Linux Mint as examples of how to add this app to your Linux machine. It’s always a good idea to take a backup of your system before installing new software.
How to Install and Setup Chrome Remote Desktop for Ubuntu 20.04
- Install the Google Chrome Browser on your system.
- Log in to Google using your Gmail account. It’s a prerequisite for using Chrome Remote Desktop.
Go to the Chrome web store and locate the Chrome Remote Desktop extension.
- Click Add to Chrome to install the extension in your browser. You should see the remote desktop icon next to the search address bar.
Install the Chrome remote desktop package which furnishes the necessary host components with the following two commands:
wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb -P /tmp
apt install /tmp/chrome-remote-desktop_current_amd64.deb
Enable remote desktop connections by opening the Chrome remote desktop extension and clicking Turn on. If the button is not visible, create the Chrome remote desktop configuration directory:
mkdir ~/.config/chrome-remote-desktop. Then reopen the remote desktop extension.
- Enter a name for the computer and click Next.
- Set the remote connection PIN. It should be at least 6 digits.
- After setting the PIN, click Start to run Chrome Remote Desktop.
You can now use the Ubuntu Chrome Remote Desktop to access other computers that also have the tool installed. You will need to use the same Gmail account that was used to configure Remote Desktop when accessing the machine
How to Install and Setup Chrome Remote Desktop on Linux Mint 20
Google has developed a Chrome Remote Desktop installation package that is only compatible with Debian-based Linux distros like Ubuntu and Mint. Use the following procedure to install Chrome Remote Desktop in a Linux Mint 20 system.
- Download either the 32-bit or 64-bit Debian package depending on your system requirements.
- Open a Terminal Window and change to your download directory.
- Type the following command in the Terminal Window:
sudo dpkg -i chrome-remote-desktop_current_amd64.deb
sudo dpkg -i chrome-remote-desktop_current_i386.debfor 32 bit machines.
sudo /etc/init.d/chrome-remote-desktop stopto ensure the service is not running yet.
- Create a virtual desktop session by creating a file named
.chrome-remote-desktop-sessionin your home directory.
- Enter this command in the file:
- Open your .profile file and enter the following command on a new line at the end of the file:
- Save the file.
- Enter the following command in your Terminal Window:
sudo /etc/init.d/chrome-remote-desktop start.
Now all you need to do is enable remote connections with the following steps.
- Open the Chrome Remote Desktop app.
- Click Enable remote connections.
- Enter a PIN, confirm it by repeating the numbers, and click OK.
- Dismiss the confirmation dialog.
- Close all running programs and reboot the box.
You should now be able to log into the machine you just configured with Chrome Remote Desktop using the recently created PIN.
sudo apt-get remove chrome-remote-desktop. Then restart Ubuntu. This will remove the extension from your system and should enable your other apps to perform as expected.