Skip to content

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.

one-line install
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
BetterDesk — logo on a dark network field
A single server appliance feeding several remote desktop monitors, illustrating one binary replacing two server processes

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

How it stays secure

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.

Fleet dashboard with device counts and client setup values
Tab 1 of 4

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.

BetterDesk vs the stock RustDesk server
CapabilityRustDesk open source serverBetterDesk
Processes to run2 (hbbs + hbbr)1 binary
DatabaseSQLite onlySQLite + PostgreSQL
TLSNot built inBuilt in, same port
REST APIMinimalJWT + key auth
Device statusOnline / offlineFour-tier health
Web panelNoneFull console
Users and rolesNoneRBAC + TOTP
Browser remoteNoneWeb Remote
IoT / SCADANoneCDAP gateway
PriceFreeFree (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. 1

    Run the installer

    One command pulls the official image and starts the server, relay and console together.

    bash
    curl -fsSL https://raw.githubusercontent.com/UNITRONIX/BetterDesk/main/docker-compose.quick.single.yml -o docker-compose.yml
  2. 2

    Read the admin credentials

    The installer prints a one-time admin password. Change it after the first login.

    bash
    docker compose pull && docker compose up -d
  3. 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.

    credentials
    docker 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
Industrial machines and controllers connected by glowing data lines to a central monitoring console

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.
Read the security model
Encrypted remote desktop session managed from a browser-based console

Supporters

Kept alive by people and companies

BetterDesk is free and stays free. Sponsors pay for the time and infrastructure that keep it secure.

Honorary supporter
INSOLVE logo

Security review, production audits, infrastructure testing and deployment feedback.

insolve.pl
Bronze sponsor

betterde.sk

Bronze sponsor through GitHub Sponsors, supporting open and self-hostable remote management software.

betterde.sk

Community

Free software, real maintenance

The project is maintainer-led and openly developed. Ask questions, file reports, or follow releases.

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.