Skip to main content
This doc relates to the below revision of hardware
Mecha Logo

Comet (rev5)

For Pilot users

The all new Mecha Comet

Better in all ways, the next revision of Mecha Comet, coming soon.

Screen Share with VNC

Access your Mecha Comet's desktop remotely via the VNC (Virtual Network Computing) protocol using wayvnc. Follow the instructions below for setting up VNC connection between your Mecha Comet and your computer.

Setting up VNC Server

1

Connect to your Mecha Comet using SSH (here).

$ ssh mecha@<ip address>
2

Run the following command to install wayvnc.

$ sudo apt update
$ sudo apt install wayvnc

WayVNC is a VNC server for wlroots-based Wayland compositors, in our case we are currently using labwc as the compositor.

3

Run wayvnc, this will start a VNC server on the port 5900 listening on all interfaces.

$ export WAYLAND_DISPLAY=wayland-1
$ wayvnc 0.0.0.0 5900

Setting WAYLAND_DISPLAY in the environments tells any Wayland client launched from the shell, which compositor to connect to.

Security Risk

Binding to the 0.0.0.0 interface exposes VNC on all your network interfaces creating a security risk, better approach is to bind to your network's assigned IP address or use 127.0.0.1 and using Tunneling via SSH for secure access.

4

You now have a VNC server running on your Comet. Now lets try to connect using your computer.

Installing a VNC Client

You can follow the guide below to install a VNC client for your Linux machine.

1

Launch the Terminal app on your computer.

2

Install the TigerVNC client to connect to your Mecha Comet.

$ sudo apt update
$ sudo apt tigervnc-viewer
3

Once the installation is complete, you can start the TigerVNC viewer by running the command below

$ vncviewer
4

In the VNC viewer, enter your Comet's IP address (here) and the VNC Server's port number (5900) and press Connect. After that, you should be connected to your VNC server running on the Comet.

TigerVNC Viewer on Ubuntu
5

You should now see the Mecha Comet's display on your computer, and even control using your mouse and keyboard.

Other Operating Systems

For MacOS and Windows, you can install the RealVNC Viewer using the links below and follow similar steps as above.

RealVNC Viewer for MacOS

RealVNC Viewer for Windows