Skip to main content
Version: 1.x

VNC Connection

You can connect via VNC to a remote machine running Surfmeter Automator to troubleshoot issues that may only be visible in the browser session. The same works for Docker deployments.

The prerequisite for that is:

  • Surfmeter must run in simulated headless mode, which is the default.
  • You have the X window daemon enabled, which is the case for our Docker images and when using the setup.sh script in our manual setup guide.

Starting the VNC Server​

In the surfmeter-lab-automator directory, there is a script called run_vnc_server.sh that will launch a temporary VNC server instance.

For Debian-based systems, the following will:

  1. Install a VNC server capable of rendering X displays
  2. Ask you to create a password for connecting
  3. Launch a temporary VNC server instance
sudo apt update -qq && sudo apt install -y tigervnc-scraping-server
./run_vnc_server.sh

The script will print the port at which the server is listening for connections. You can then connect with your favorite VNC client.

Connecting to the VNC Server​

You can connect to the VNC server with any VNC client at vnc://localhost:5123. The default password is surfmeter.