VNC
Open Linux desktops, macOS Screen Sharing, a Raspberry Pi or a VM console in a tab — ports and display numbers, the unencrypted-connection prompt, keyboard, clipboard and jump hosts.
VNC
Beta. VNC is in beta and free. Known gaps: no file transfer or audio, and servers that only offer VeNCrypt SASL sign-in aren't supported yet. Feedback is welcome.
Connect to graphical desktops over VNC from inside Kubexer Terminal: Linux desktops, macOS Screen Sharing, a Raspberry Pi, or the console of a virtual machine. The remote screen opens in a normal tab, next to your terminals, SFTP browsers and Remote Desktop tabs. VNC is free. Only connecting through a jump host needs Pro.
For Windows computers, use Remote Desktop (RDP) instead: it's faster, encrypted and signs you in to Windows directly.
Add a VNC host
- Open a vault and add a host (or edit one).
- At the top of the form, switch the protocol to VNC. The port changes to 5900, and the SSH-only sections (keys, agent, X11, environment) are hidden.
- Enter the Address and the Password. Most VNC servers only ask for a password, so the Username can stay empty. Fill it in for servers that need one, such as macOS Screen Sharing (your Mac account). You can also pick a saved identity, as long as it uses a password.
- Adjust VNC settings if you need to, then save.
VNC hosts sync, group, tag and search exactly like SSH hosts. On the host card they carry a VNC badge, and the main action opens a VNC tab.
Which port
VNC servers listen on 5900 + the display number: display :0 is port 5900, display :1 is 5901, and so on. Check your server's settings or its log if you aren't sure. TigerVNC and TightVNC on Linux usually start at :1, so port 5901. macOS Screen Sharing and most Raspberry Pi setups use 5900.
Quick connect
You can also type a vnc:// address in Quick connect:
| You type | Connects to |
|---|---|
vnc://pi.local |
port 5900 |
vnc://pi.local:1 |
display 1, port 5901 (numbers below 100 are display numbers) |
vnc://pi.local:5901 |
port 5901 |
vnc://pi.local::22 |
port 22 (two colons always mean a port) |
vnc://[fe80::1]:1 |
an IPv6 address, in brackets |
Kubexer asks for the password when the server wants one. A quick connection isn't saved: to keep the address and password, add a VNC host.
Encryption
Many VNC servers can encrypt the session with TLS (VeNCrypt). When the server offers it, Kubexer always uses it, directly or through a jump host, and you don't need to do anything. The tab's toolbar shows how the session is protected:
| Toolbar | Meaning |
|---|---|
| Encrypted, green lock | TLS with the server's certificate, which you trusted (see Certificates). |
| Encrypted, amber lock | TLS, but the server has no certificate (anonymous TLS, the TigerVNC default), so its identity isn't verified. Nobody can listen in, but someone who can intercept the connection could pose as the server. |
| SSH tunnel, green lock | The server offers no TLS, but the session runs through your jump hosts' SSH tunnel. |
| Not encrypted, red open lock | Neither: the screen and what you type cross the network in the clear. |
Hover over it for the details.
Certificates
A server that encrypts with a certificate (VeNCrypt X509) usually has a self-signed one. The first time you connect, Kubexer shows Verify the certificate of … with its subject, SHA-256 fingerprint and expiry date. Compare the fingerprint with the server's if you can, then click Trust & connect. Kubexer remembers the certificate on the host (it syncs with it) and doesn't ask again, just like for Remote Desktop.
If the server later presents a different certificate, Kubexer warns you with The certificate of … has changed and shows the old and new fingerprints. That's expected after the certificate is renewed or the server is reinstalled, but it can also mean someone is intercepting the connection. Only click Trust the new certificate & connect if you expected the change. Cancel stops without connecting.
Quick connect can't remember a certificate, so it asks every time and offers Trust once & connect.
When the connection isn't encrypted
When the server offers no TLS and you connect to it directly (no jump hosts), Kubexer asks you to confirm with This connection isn't encrypted before anything of the session is sent:
- Connect anyway connects this once.
- Don't ask again for this host skips the question for that host from now on. You can turn the question back on with Ask before unencrypted connections in the host's VNC settings.
- Add a jump host to tunnel it over SSH opens the host's editor, so you can add one (see below).
Quick connect always asks, and offers neither of the last two, since there's no host to remember the answer on. Servers with TLS, and hosts reached through jump hosts, never ask.
On a trusted network, such as your own LAN or a VM on your computer, connecting directly is fine. Over the internet or on a shared network, turn on TLS on the server, use a jump host, or keep the server bound to localhost and reach it through SSH.
Settings
| Setting | What it does |
|---|---|
| Scale | Fit scales the remote screen into the tab. Real size shows it pixel for pixel and scrolls when it's bigger. Resize remote asks the server to change its desktop to the tab's size. Only some servers can (TigerVNC, wayvnc, QEMU); others stay as they are. You can also switch this from the tab's toolbar. |
| Quality | JPEG picture quality, from 0 (smallest) to 9 (best). Lower it on a slow link. |
| Compression | From 0 (fastest) to 9 (smallest). Raise it on a slow link. Servers that don't support quality or compression ignore both. |
| Shared session | Leave other viewers connected. Off asks the server to disconnect them. |
| View only | Watch the screen without sending keyboard or mouse input. The toolbar can switch it per session. |
| Clipboard sync | Copy and paste text between this computer and the remote screen. |
| Use ⌘ as Ctrl | macOS only. See Keyboard. |
| Ask before unencrypted connections | Confirm before connecting directly to a server that offers no TLS. See When the connection isn't encrypted. |
Quality and compression changed from the toolbar are saved to the host.
Keyboard
While the remote screen has focus, keys go to the remote and Kubexer's own shortcuts are paused. Click the screen to start typing.
- ⌘ as Ctrl (macOS). With Use ⌘ as Ctrl on (the default), ⌘ acts as Ctrl, so ⌘C, ⌘V, ⌘X, ⌘A and ⌘Z do what you'd expect on a Linux or Windows desktop. Turn it off when the remote is a Mac. When you sign in to macOS Screen Sharing with a user name and password, ⌘ always stays ⌘.
- Special keys. Some combinations never reach an app, because your own computer grabs them first. Use the toolbar buttons instead: Ctrl+Alt+Del, Super (the Windows or ⌘ key) and Alt+Tab.
- Give the keyboard back. Press ⌘+Ctrl+Option on macOS or Ctrl+Alt+Shift on Windows to release the keyboard without using the mouse. Clicking outside the screen, or switching tabs, does the same.
Clipboard
With Clipboard sync on, text flows both ways: copy on the remote and paste here, or copy here, click into the remote screen and paste there. Only text is synced; images and files aren't. Turn Clipboard sync off to keep the clipboards separate.
Full screen
Click the full-screen button at the right of the tab's toolbar. The Kubexer window goes full screen and the remote screen fills it, with only its toolbar at the top. Esc then goes to the remote like any other key. Click the same button to leave full screen.
Through a jump host (Pro)
If the VNC server can only be reached from behind a Linux bastion, or you want to encrypt a server that offers no TLS, add the bastion to the VNC host's Jump hosts, just as for SSH. Kubexer opens the jump chain and runs VNC through the SSH tunnel. Nothing needs to be installed on the bastion beyond SSH.
A jump host also works for a VNC server on the bastion itself that only listens on localhost: set the host's address to localhost (or 127.0.0.1) and the bastion as its jump host.
This uses the Jump Chains feature, so it needs Kubexer Pro. A VNC server you can reach directly works on the free plan. If a hop drops in the middle of a session, the tab shows Tunnel lost with a Reconnect button.
Supported servers
Kubexer speaks these VNC sign-in methods:
- Password (classic VNC authentication): TigerVNC, TightVNC, x11vnc, QEMU and libvirt consoles, most Raspberry Pi setups.
- Apple Remote Desktop: macOS Screen Sharing, with your Mac user name and password. Turn it on in System Settings → General → Sharing → Screen Sharing.
- RealVNC with its encryption set to Prefer off. RealVNC's encrypted mode isn't supported yet.
- VeNCrypt, with or without TLS: TigerVNC's
TLSVnc,X509Vnc,TLSPlain,X509Plain,TLSNoneandX509None(and the same modes on QEMU, libvirt, wayvnc and others), plusPlain(user name and password) and servers with no password at all. See Encryption.
VeNCrypt's SASL modes (TLSSASL, X509SASL) aren't supported. A server that offers only those shows Sign-in method not supported: enable VncAuth or TLSVnc on the server, or tunnel it over SSH.
macOS: Local Network permission
macOS doesn't let apps reach computers on your local network or in a virtual machine until you allow it. If a connection to a LAN address or a VM fails with Can't reach host, open System Settings → Privacy & Security → Local Network and turn on Kubexer Terminal. Then reconnect.
When something goes wrong
The tab tells you what failed and offers Reconnect:
- Wrong password (or Wrong user name or password): Kubexer asks again. On a saved host, once you're in, Save to host keeps what you typed.
- Too many attempts: the server is blocking you for a while after several wrong passwords. Wait a few minutes.
- Can't reach host: the VNC server isn't running, the port is wrong, or a firewall blocks it. See Which port.
- Not a VNC server: something answered on that port, but not VNC. Check the port.
- Sign-in method not supported: the server only offers a sign-in method Kubexer doesn't speak yet. See Supported servers.
- Disconnected after Cancel at a certificate or encryption question (or no answer within 2 minutes): nothing failed. Click Reconnect to be asked again.
- Connection lost: the network dropped, or the server closed the session.
Limits
- No file transfer, audio, or multiple monitors.
- Only text is synced through the clipboard.
- VeNCrypt SASL, the older plain-TLS security type (GNOME Vino) and RealVNC's encrypted mode aren't supported yet. Use a jump host to encrypt those sessions.
- Certificates aren't checked against a certificate authority: you trust them by fingerprint, once per host.
- VNC tabs can't be split into panes, recorded or used by Kubexy.