Skip to main content

Chrome Remote Desktop

Looking for Server hosting?

Get 30% off your first month with NEWCLIENT!

Host with HostVenom

Chrome Remote Desktop can be used an alternative or backup method to connect to your server. Your primary methods should generally be SSH for Linux or RDP for Windows. but Chrome Remote Desktop can be a good thing to have set up as a backup or for mobile connections.

Setup

You can use Chrome Remote Desktop to connect to your Debian based Linux server even if you just use SSH normally. A basic Windowing System will be initiated to display a terminal when you connect, allowing you to interact with your server over networks that may not allow for SSH connections or as a backup if your SSH connection to your server has been blocked.

prerequisites

Chrome Remote Desktop requires a few commands to be run over SSH and doesn't work as root by default. You'll need the following to be able to follow along:

  1. A Debian/Ubuntu based Distro
  2. An active SSH or NoVNC session
  3. A non-root user with a home directory and sudo privileges
  4. A separate device from your server that can view the Chrome Remote Desktop website and send commands to your server (see #2)

Headless

To start, you'll need to navigate to the Setup via SSH or "Headless" section of the Chrome Remote Desktop page on the device you'll be sending the commands from, not your server. You should see a card titled "Set up another computer" similar to the image to the right.

The Chrome Remote Desktop page with the "Set up via SSH" tab selected on the left navigation menu, displaying a "Setup another computer" card.

A card titled "Setup another computer" with two bullet points, the bottom bullet point is titled "Debian Linux" and has a hyperlink.

When you click the "Begin" button, you'll be provided a couple of download links. Assuming your server is running Linux, and specifically a flavor of Debian/Ubuntu, you'll want to use the link labeled "Debian Linux".
It needs to be downloaded and installed on the server you're connecting to. On Linux you normally download files using the curl command using the following syntax:

curl -O <DownloadURL>

You'll need to run the curl command on your server's terminal over SSH or NoVNC, then after it's downloaded you'll need to run the installer by first granting execution permissions using chmod +x <FilePath> then running the apt install <FilePath> command. The commands should be similar to the ones provided below:

sudo curl -O https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
sudo chmod +x ./chrome-remote-desktop_current_amd64.deb
sudo apt install ./chrome-remote-desktop_current_amd64.deb

After the install has completed on your server, you'll need to click the "Next" button under the download links. You'll now be shown a card with an "Authorize" button in the bottom right, and after clicking "Authorize" you'll be given 3 command options for different platforms.

A card titled &quot;Set up another computer&quot; which has a short paragraph going over the authorization steps, and a blue button in the bottom right hand corner titled &quot;Authorize&quot;.

A card titled &quot;Set up another computer&quot; with three code blocks titled &quot;Windows (CMD)&quot;, &quot;Windows (Powershell)&quot;, and &quot;Debian Linux&quot;, each containing a command that can be run on the remote computer you intend to connect to.

Since your server is running Linux, you'll need to copy the command in the "Debian Linux" section and run it in your server's terminal over SSH or NoVNC.

user privilege

You shouldn't run Chrome Remote Desktop with sudo or as the root user. You'll need to create a user with sudo privileges to install the program, and then to run this command with.
This will also be the user you connect to the server as when opening a remote session.

Connecting

When you're done completing the steps in the Setup section, you're ready to connect to your server remotely from another device. For Desktop devices, this is as simple as navigating to the Chrome Remote Desktop Access Page using your browser, logging in, and clicking on your device in the list.
For Android/iOS, you'll need to download one of the available native apps linked below.

For your initial connection, you'll be asked to select a "session" to launch. The default is recommended if you don't know what you're doing.

Once you're connected, you'll be shown a screen similar to the one on the right, which contains a terminal through which you can interact with your server.

A basic looking terminal similar in appearance to the Windows NotePad with a menu bar at the top and the a line containing the &quot;username@hostname:&quot; prefix common to command line terminals.

more information

You can find more information on using Chrome Remote Desktop on their Help Center.

Reach Out!

Have Questions? Need Help? Feel free to reach out!