Skip to main content
Version: 2.0 (Preview)

VNC Connection

You can connect to a probe via VNC to see what the browser does, and to troubleshoot issues that are only visible in the browser. This requires a permanent virtual display.

Starting the VNC Server​

The script run_vnc_server.sh in ~/surfmeter launches a temporary VNC server. It needs a VNC server capable of showing X displays, and a password, which you only have to create once:

sudo apt update -qq && sudo apt install -y tigervnc-scraping-server
tigervncpasswd
~/surfmeter/run_vnc_server.sh

The server listens on port 5123. To use a different port, set the environment variable VNCPORT.

Connecting to the VNC Server​

Connect with any VNC client to vnc://<host>:5123, or vnc://localhost:5123 if it runs on the same machine, or through an SSH tunnel.

Keep VNC off the public internet

Do not make port 5123 available on the internet. In Docker, the default VNC password is surfmeter.