Your own free remote desktop server under your control
BetterDesk is an open source remote desktop server that replaces hbbs and hbbr with a single Go binary, plus a modern web console for devices, users and browser remote access. RustDesk-compatible, AGPL-3.0, no licence fees.
curl -fsSL https://raw.githubusercontent.com/UNITRONIX/BetterDesk/main/install.sh | sudo bash- AGPL-3.0
- Single Go binary
- Works with RustDesk clients
- No licence fees


Why another server
Two binaries become one
The stock RustDesk server ships as separate signal (hbbs) and relay (hbbr) processes, with nothing to manage them. BetterDesk folds both into one binary and adds the missing operator layer.
stock
hbbs + hbbr
two processes, two ports, no panel
betterdesk
betterdesk-server
one binary, signal + relay + API
Web console
Manage your fleet from the browser
Devices, users, enrollment, policies, branding, tickets and updates — in one dark, fast panel that runs on your own server.

Features
Everything the stock server leaves out
Not a fork of the RustDesk client — a complete operator platform around a compatible server.
Web console for devices and users
Sign in on port 5000 to see every enrolled device, its status, and who has access. No SSH and no config files.
Remote desktop in the browser
Web Remote streams a session into the browser with WebCodecs — no client install for the person giving support.
Works with RustDesk clients
Point a stock RustDesk client at your server and it connects. Full protocol compatibility, no patched client required.
2FA, RBAC and audit trail
TOTP two-factor login, four permission tiers, enrollment approval, and a log of every operator action.
SQLite or PostgreSQL
Start with the embedded SQLite file, move to PostgreSQL when you scale. Migrations are built in.
CDAP gateway for IoT
Manage industrial and IoT endpoints in the same panel as desktops, with one identity model and one audit log.
Comparison
BetterDesk vs the stock RustDesk server
Same wire protocol, different operator experience.
| Capability | RustDesk open source server | BetterDesk |
|---|---|---|
| Processes to run | 2 (hbbs + hbbr) | 1 binary |
| Database | SQLite only | SQLite + PostgreSQL |
| TLS | Not built in | Built in, same port |
| REST API | Minimal | JWT + key auth |
| Device status | Online / offline | Four-tier health |
| Web panel | None | Full console |
| Users and roles | None | RBAC + TOTP |
| Browser remote | None | Web Remote |
| IoT / SCADA | None | CDAP gateway |
| Price | Free | Free (AGPL-3.0) |
Who it is for
Built for people who host their own
Homelab and self-hosters
A free remote desktop server on your own hardware, behind your own firewall, with no vendor account.
IT and helpdesk teams
Roles, enrollment approval, unattended access policies and an audit trail of every session.
MSPs and support companies
Generate branded clients per customer and manage every tenant from one console.
Industrial and IoT
Reach PLCs, HMIs and kiosks with the CDAP gateway alongside your regular desktops.
Regulated enterprises
PostgreSQL, organisations, Prometheus metrics and a security model you can audit.
Installation
Running in three steps
Docker all-in-one image, a native Linux script, or a Windows PowerShell installer. No account, no trial, no licence key.
- 1
Run the installer
One command pulls the official image and starts the server, relay and console together.
bashcurl -fsSL https://raw.githubusercontent.com/UNITRONIX/BetterDesk/main/docker-compose.quick.single.yml -o docker-compose.yml - 2
Read the admin credentials
The installer prints a one-time admin password. Change it after the first login.
bashdocker compose pull && docker compose up -d - 3
Point a client at your server
Open the panel on port 5000 and copy the ID server, relay and public key into any RustDesk client.
credentialsdocker compose exec betterdesk betterdesk-show-admin-credentials
Ecosystem
One server, several clients
Everything lives in the same repository and the same licence.
BetterDesk Server
Signal, relay, REST API and CDAP gateway in one Go binary.
BetterDesk Console
Node.js web panel for devices, users, policies and updates.
Support Agent
Lightweight client for end users who need help right now.
RdClient Desktop
Operator shell for technicians who work in sessions all day.
Bridges and SDKs
Modbus, SNMP and REST bridges with Python and Node SDKs.
CDAP in the same panel
Industrial and IoT endpoints speak CDAP, desktops speak the RustDesk protocol, and both land in one console with one identity model and one audit log. No second tool to license.
Explore the source
The Tauri MGMT and Agent desktop apps are alpha. For production, use the web console with a stock RustDesk client.
Security
Designed to be audited
Clean-room implementation, end-to-end encryption, and a threat model written down instead of implied.
- Clean-room Go implementation — protocol compatible, no RustDesk source code.
- End-to-end encryption with NaCl for sessions and operator chat.
- TLS on the same port with automatic plain/TLS detection.
- TOTP 2FA, four-tier RBAC, enrollment modes and audit logging.

Supporters
Kept alive by people and companies
BetterDesk is free and stays free. Sponsors pay for the time and infrastructure that keep it secure.
Security review, production audits, infrastructure testing and deployment feedback.
betterde.sk
Bronze sponsor through GitHub Sponsors, supporting open and self-hostable remote management software.
Community
Free software, real maintenance
The project is maintainer-led and openly developed. Ask questions, file reports, or follow releases.
GitHub Issues
Bug reports and feature requests, triaged in public.
GitHub Discussions
Setup questions, deployment stories and ideas.
Discord
Live help from other operators running BetterDesk.
Development is maintainer-led (BDFL) and external pull requests are not accepted at this time. This keeps the attack surface small and the architecture consistent.
Licensed under AGPL-3.0 since v3.4.0. Earlier releases used Apache 2.0.
Take back your remote access
Install on your own server in under a minute. Free forever, AGPL-3.0, no account required.