Client-less VNC on OpenPlotter with NoVNC

In this post, we’ll show you how to add NoVNC to your OpenPlotter, eliminating the need for a VNC client, and making your Openplotter available to any device on the network (even mobile devices), through a web browser! Let’s get started!

Our first step is to remove realvnc-vnc-server as it only lets you connect with the RealVNC Client. We’ll be replacing it with tightvncserver.

sudo apt purge realvnc-vnc-server # Remove Default VNC Server
sudo apt-get install tightvncserver # Install New VNC Server
vncserver #Configure VNC Server

Running the vncserver command will prompt you for a password and configure your server.

Next, we’ll set up NoVNC on your OpenPlotter.

sudo apt-get install git websockify # Install NoVNC dependancy
cd ~/bin # Move to bin folder
git clone https://github.com/novnc/noVNC #Clone Repo

Then, we’ll configure our OpenPlotter to start these services at boot.

sudo echo "su - pi -c '/usr/bin/tightvncserver :1 -geometry 1280x800'"
sudo echo "su - pi -c '/home/pi/bin/noVNC/utils/launch.sh --vnc 127.0.0.1:5901 --listen 8080 &'" >> etc/rc.local # Write boot commands

Finally, reboot to access your OpenPlotter VNC Server through any web browser at: http://openplotter.local:8080/vnc.html or http://10.10.10.1:8080/vnc.html

Leave a Reply