Remote Desktop
Adding Remote Desktop to a DevZero workspace.
You can access your DevBox interactively using Remote Desktop.
Using Docker (recommended)
- Create a new workspace with Docker installed (How-to).
- 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
- Make sure the package repositories are up-to-date:
sudo apt update
- Install Xfce Desktop Environment:
sudo apt install xfce4 xfce4-goodies
- Install a VNC server:
sudo apt install tightvncserver
- Create a new file in
~/.vnc/xstartup
:
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
- Start the VNC server:
vncserver
You will be prompted to create a password.
Connecting to a remote desktop
Make sure your machine is connected to the DevZero network before connecting
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.
For the Docker-based install, the default password is vncpassword