It is fairly trivial to install Google Chrome Remote Desktop on Slackware Linux. It does take a few steps however. Here they are:
Install Chrome Remote Desktop on Slackware
0. Prerequisite - install psutil
Python package:
sudo pip3 install psutil
Install Google Chrome Browser
# 1. Download the Debian package
curl -L -o google-chrome-stable_current_amd64.deb \
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
# 2. Convert Debian package to Slackware TXZ
deb2tgz google-chrome-stable_current_amd64.deb
# 3. Install Slackware package
sudo installpkg google-chrome-stable_current_amd64.txz
Install Chrome Remote Desktop
# 1. Download Debian package
curl -L -o chrome-remote-desktop_current_amd64.deb \
https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
# 2. Convert to Slackware TXZ
deb2tgz chrome-remote-desktop_current_amd64.deb
# 3. Install Slackware package
sudo installpkg chrome-remote-desktop_current_amd64.txz
setuid root
sudo chmod 4755 /opt/google/chrome-remote-desktop/user-session
Authorize the new machine with Google
Go here: https://remotedesktop.google.com/headless and start the process
Start Remote Desktop
${RDCODE}
below is what you’ll get from the headless setup in the previous step
## !!IMPORTANT: The space after 'DISPLAY= ' is important.
## this executes the start-host command
DISPLAY= /opt/google/chrome-remote-desktop/start-host \
--code="4/${RDCODE}" \
--redirect-url="https://remotedesktop.google.com/_/oauthredirect" \
--name=$(hostname)
Here is the entire bash script:
#!/bin/bash
# This installs Chrome Remote Desktop on Slackware
# Source: https://cloud.google.com/architecture/chrome-desktop-remote-on-compute-engine
## This is required -- and the SUDO is a must
sudo pip3 install psutil
curl -L -o google-chrome-stable_current_amd64.deb \
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
deb2tgz google-chrome-stable_current_amd64.deb
sudo installpkg google-chrome-stable_current_amd64.txz
curl -L -o chrome-remote-desktop_current_amd64.deb \
https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb
deb2tgz chrome-remote-desktop_current_amd64.deb
sudo installpkg chrome-remote-desktop_current_amd64.txz
sudo chmod 4755 /opt/google/chrome-remote-desktop/user-session
echo "Go here: https://remotedesktop.google.com/headless and start the process"
read -n 1 -s -r -p "Press any key to continue..."
read -p "Enter the some string: " RDCODE
## !!IMPORTANT: The space after 'DISPLAY= ' is important.
## this executes the start-host command
DISPLAY= /opt/google/chrome-remote-desktop/start-host \
--code="4/${RDCODE}" \
--redirect-url="https://remotedesktop.google.com/_/oauthredirect" \
--name=$(hostname)