5 | | Chrome Remote Desktop is a [https://en.wikipedia.org/wiki/Chrome_Remote_Desktop Google developed client-server framework] that allows for remote desktop access to (in this case) a [https://en.wikipedia.org/wiki/Headless_computer headless machine]. In order to access a node that has Chrome Remote Desktop server side installed, you need to: |
| 5 | Chrome Remote Desktop is a [https://en.wikipedia.org/wiki/Chrome_Remote_Desktop Google developed client-server framework] that allows for remote desktop access to (in this case) a [https://en.wikipedia.org/wiki/Headless_computer headless machine]. |
| 6 | |
| 7 | [[CollapsibleStart(If you need to install Chrome Remote Desktop on the image)]] |
| 8 | = Installing Chrome Remote Desktop (CRD) on a Custom Image = |
| 9 | |
| 10 | If you have a custom image that lacks Chrome Remote Desktop (CRD), follow these steps to install and configure it. |
| 11 | |
| 12 | === 1. Update System Packages === |
| 13 | {{{ |
| 14 | sudo apt update && sudo apt upgrade -y |
| 15 | }}} |
| 16 | |
| 17 | === 2. Install a Desktop Environment (XFCE) === |
| 18 | If the custom image lacks a graphical desktop, install XFCE: |
| 19 | {{{ |
| 20 | sudo apt install xfce4 xfce4-terminal -y |
| 21 | }}} |
| 22 | |
| 23 | === 3. Install Chrome Remote Desktop (CRD) === |
| 24 | Download and install Chrome Remote Desktop: |
| 25 | {{{ |
| 26 | wget https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb |
| 27 | sudo dpkg -i chrome-remote-desktop_current_amd64.deb |
| 28 | sudo apt-get install -f -y |
| 29 | echo "exec /etc/X11/Xsession startxfce4" > ~/.chrome-remote-desktop-session |
| 30 | }}} |
| 31 | |
| 32 | Enable and start the CRD service: |
| 33 | {{{ |
| 34 | sudo systemctl enable chrome-remote-desktop |
| 35 | sudo systemctl start chrome-remote-desktop |
| 36 | }}} |
| 37 | |
| 38 | === 4. (Optional) Install Google Chrome === |
| 39 | If needed, install Google Chrome: |
| 40 | {{{ |
| 41 | wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb |
| 42 | sudo dpkg -i google-chrome-stable_current_amd64.deb |
| 43 | sudo apt-get install -f -y # Fix missing dependencies |
| 44 | }}} |
| 45 | |
| 46 | [[CollapsibleEnd]] |
| 47 | |
| 48 | In order to access a node that has Chrome Remote Desktop server side installed, you need to: |