VNC that tells you whether it is encrypted: VeNCrypt TLS in Kubexer Terminal
VNC is the lowest common denominator of graphical remote access: a Linux desktop, a Raspberry Pi, a virtual machine's console, macOS Screen Sharing. It works almost everywhere, which is why it is still around. What it does not do, in its original form, is protect anything. The protocol authenticates with a short challenge-response and then sends the screen and every keystroke unencrypted.
How people deal with it
The traditional answer is to tunnel VNC through SSH: bind the server to localhost, forward the port, and point a viewer at localhost:5901. It is sound and still the right choice for many setups. The cost is a manual step and, more importantly, no visible indication in the viewer of whether the connection you are actually on is protected. Forgetting the tunnel gives you a working, completely unencrypted session that looks identical.
The other answer is at the protocol level: VeNCrypt, an extension that lets a client and server negotiate TLS before authentication. TigerVNC, QEMU, libvirt, wayvnc and others support it. The wrinkle is that it comes in two meaningfully different flavours.
Two kinds of TLS, two different promises
- X509 (certificate) TLS. The server presents a certificate. The channel is encrypted, and you can verify who you are talking to — if you check the certificate.
- Anonymous TLS. The server has no certificate. The channel is still encrypted, so a passive listener sees nothing useful, but nothing proves the server's identity. Someone able to intercept the connection actively could pose as the server. Anonymous TLS is the TigerVNC default, which is why it is common.
Both are better than nothing. They are not the same, and a client that shows one padlock for both is hiding a real difference.
What Kubexer Terminal does
A VNC host in Kubexer Terminal is a normal vault host with the protocol set to VNC (default port 5900, which is 5900 plus the display number). When the server offers VeNCrypt TLS, Kubexer always uses it — directly or through a jump host — without you having to configure anything. The tab toolbar then says what you actually got:
- Encrypted with a green lock: TLS with the server's certificate, which you have trusted.
- Encrypted with an amber lock: TLS, but anonymous. Nobody can listen in; the server's identity is not verified.
- SSH tunnel with a green lock: the server offers no TLS, but the session runs through your jump hosts' SSH tunnel.
- Not encrypted with a red open lock: neither. Screen and keystrokes cross the network in the clear.
Hovering the badge gives the details. The point is that the state is visible rather than assumed.
Certificate prompts
VNC servers with certificates usually use self-signed ones, so there is no authority to check them against. The first time you connect, Kubexer shows Verify the certificate of … with the subject, SHA-256 fingerprint and expiry. Compare the fingerprint with the server's if you can, then Trust & connect; it is remembered on the host and synced with it. If a later connection presents a different certificate you get The certificate of … has changed with both fingerprints. Renewal and reinstalls are the usual reasons, but it can also be someone in the middle, so only accept it when you expected the change. Quick connect cannot remember anything, so it asks each time and offers Trust once & connect.
When there is no encryption at all
If the server offers no TLS and you connect directly, Kubexer stops and asks before any of the session is sent: This connection isn't encrypted. You can connect anyway once, tell it not to ask again for that host (reversible with Ask before unencrypted connections in the host's VNC settings), or open the host editor to add a jump host and tunnel it over SSH. Servers with TLS, and hosts reached through jump hosts, do not ask. On your own LAN or a VM on your own machine, connecting directly can be reasonable; over the internet or a shared network it is not.
What works with it
Supported sign-in covers classic password authentication (TigerVNC, TightVNC, x11vnc, QEMU and libvirt consoles, most Raspberry Pi setups), Apple Remote Desktop (macOS Screen Sharing with your Mac account), RealVNC with encryption set to Prefer off, and VeNCrypt in its TLS modes, including the variants with plain username and password or no password at all. Compared with a typical viewer you also get the usual tab conveniences: fit or real-size scaling, quality and compression settings for slow links, view-only mode, text clipboard sync and special-key buttons.
Honest limits
- VNC is in Beta. It is free; only connecting through a jump host needs Pro.
- VeNCrypt SASL modes are not supported. A server that offers only those shows Sign-in method not supported; enable password or TLS-VNC authentication, or tunnel over SSH.
- The older plain-TLS security type (GNOME Vino) and RealVNC's own encrypted mode are not supported yet; use a jump host to encrypt those.
- Certificates are trusted by fingerprint, once per host. They are not checked against a certificate authority.
- No file transfer, audio or multiple monitors, and only text goes through the clipboard. VNC tabs cannot be split or recorded.
- For Windows machines, use Remote Desktop instead: it is faster and signs in to Windows directly.
The aim is modest: the protection you get from a VNC server should be something you can read off the screen, not something you have to remember to have set up.