Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 1.71 KB

remote-desktop.md

File metadata and controls

77 lines (51 loc) · 1.71 KB
title
Remote Desktop

Remote Desktop

You can access your DevBox interactively using Remote Desktop.

Using Docker (recommended)

  1. Create a new workspace with Docker installed (How-to).
  2. Launch the headless VNC docker environment:
docker run -d -p 5901:5901 -p 6901:6901 consol/debian-xfce-vnc

See how to connect below.

More information about the Docker image here.

Self-hosted install (experimental)

Installing Lightweight Desktop Environment

  1. Make sure the package repositories are up-to-date:
sudo apt update
  1. Install Xfce Desktop Environment:
sudo apt install xfce4 xfce4-goodies
  1. Install a VNC server:
sudo apt install tightvncserver
  1. Create a new file in ~/.vnc/xstartup :
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
  1. Start the VNC server:
vncserver

You will be prompted to create a password.

Connecting to a remote desktop

{% hint style="info" %} Make sure your machine is connected to the DevZero network before connecting {% endhint %}

You can connect to the remote desktop using the VNC protocol.

vnc://<your-devbox-hostname>:5901

On macOS, open "Finder" > "Go" > "Connect to server".
Type in the server address above and click on "Connect", if promted, enter the password you've selected.

{% hint style="success" %} For the Docker-based install, the default password is vncpassword {% endhint %}

DevBox Remote Desktop