Main features
- Web client served by the server, with no viewer or proxy to install
- HTTPS required by default
- Several users per desktop with view, control or owner rights
- WebP, JPEG and lossless QOI image encoding with dynamic quality
- WebCodecs video streaming with H.264, H.265 and AV1
- WebRTC UDP transport
- Clipboard for text, images and rich text in Chromium browsers
- Clipboard limits, keystroke and clipboard logging, and watermarks
- GPU acceleration with open source drivers (DRI3)
- Web API for control and statistics
What KasmVNC does
KasmVNC runs Linux desktops that you use from a web browser. Start vncserver, add a user, open https://yourserver:8444 (for display :1) and you get the desktop in a browser tab. Its code descends from the same RealVNC and TightVNC lineage as TigerVNC, but Kasm Technologies deliberately broke from the VNC (RFB) specification to add modern encoding and security. As a result, standard VNC viewers cannot connect to it: the browser is the only client.
It is also a good fit for container images that put a desktop or a single Linux application in a browser, and Kasm uses it inside its commercial Kasm Workspaces platform. On its own, it is a self-hosted replacement for VNC plus noVNC when the users are on the web.
How connections work
Each session listens for HTTPS and WebSocket connections on port 8443 plus the X display number, and HTTPS is required by default. An optional WebRTC UDP transport, with STUN to discover the public address, lowers latency, falling back to WebSockets. There is no relay or ID server: the browser must reach the server directly, through a VPN, or through a reverse proxy.
Image quality adapts to the connection. KasmVNC mixes JPEG and WebP depending on server CPU, can switch to lossless QOI on a local network, encodes on several threads, and detects full-screen video to switch into a video mode. Newer releases can stream through the browser’s WebCodecs API with H.264, H.265 or AV1 when FFmpeg encoders are available on the host.
Security and permissions
Users are added with vncpasswd and get one of three rights: view only, view and control, or owner (allowed to manage other users). Logins use HTTP Basic Authentication over HTTPS. The man page notes that stored passwords are obfuscated rather than securely hashed, so protect the password file. There is no built-in 2FA or single sign-on; put an authenticating reverse proxy in front if you need them.
KasmVNC also has data loss prevention controls rarely found in open source remote desktop tools. Clipboard transfer can be allowed or blocked in each direction, capped in size and rate-limited, keyboard input can be rate-limited, clipboard contents and keystrokes can be logged, and text or image watermarks (including the time) can be drawn over the screen.
Platforms and Wayland
The server is Linux only. Release packages cover Debian, Ubuntu and Kali, Fedora, RHEL-compatible systems and openSUSE, and Alpine, on AMD64 and ARM64. KasmVNC creates its own virtual X11 session; it does not share an existing Wayland or physical desktop, nor Windows or macOS machines. Any modern browser works as a client, and the README notes improved mobile support. Some clipboard features, including binary and rich-text clipboard, require a Chromium-based browser.
Self-hosting KasmVNC
Download the package for your distribution and architecture from the GitHub releases, add your user to the ssl-cert (Debian) or kasmvnc-cert group, and run vncserver, which walks you through creating a user and choosing a desktop environment. Configuration is in YAML at system and user level, and a systemd user service can start sessions at boot. The README warns to follow the documentation for your installed release rather than the development branch.
KasmVNC versus Kasm Workspaces
The two are easy to confuse. KasmVNC is GPL-2.0 and free for any use. Kasm Workspaces, which launches containerized desktops and browsers for many users with SSO and central management, is a separate commercial product. Its Community Edition is free only for testing, nonprofit and eligible non-commercial use, and is limited to five concurrent sessions; companies need a per-user or per-session license. Kasm’s Workspace Docker images are published as open source separately.
Limitations
Linux servers only, no standard VNC viewer support, no 2FA or SSO, and no NAT traversal. It is not suited to supporting other people’s computers or sharing a physical screen.
Who it suits
KasmVNC suits teams and home-lab users who want persistent Linux desktops or single applications in the browser, with HTTPS, user rights and clipboard controls, without running a separate gateway. For RDP access to Linux, see xrdp; for a gateway to many machines, Apache Guacamole. The remote desktop guide compares the options.
License details
GPL-2.0. KasmVNC is GPL-2.0. Kasm Workspaces, the company's container streaming platform built around it, is a separate commercial product whose free Community Edition is limited to non-commercial use and 5 concurrent sessions.
Technical details
Self-hosting needs
- Linux desktop environment
- OpenSSL 3
- FFmpeg (for video modes)
Built with
- C++
- JavaScript
Reviewed by the OpenSourcePicks editors from the project's repository and documentation. Something out of date? Tell us.