Documentation
How to install NeoDesk, connect RustDesk clients to it and run it. Written for version 3.6.0-rc.5.
Getting started
Start here. What NeoDesk is, installing it with Docker, on Linux or on Windows, signing in for the first time and connecting the first RustDesk client.
- Introduction
What NeoDesk is, what it is made of, and what you need to run it.
- Install with Docker
Run the server and the web console in one container from the published image, with the install script or a compose file.
- Docker on a Synology NAS
Run the published NeoDesk image in Synology's Container Manager, with the settings a NAS usually needs.
- Install on Linux
Install the server and the web console as one systemd service with the neodesk.sh script.
- Install on Windows
Install the server and the web console as a Windows service with the neodesk.ps1 script.
- First sign-in
Sign in as admin, secure the account, set the address clients use, and find your way around the console.
- The setup guide
The checklist a new install shows its first admin on the overview, its eight steps in order, when each step ticks itself, and how to hide it.
- Connect a RustDesk client
Point a RustDesk client at your server with the four values from the Overview page.
- Set up many computers at once
Join a batch of computers with one invite link, or hand the stock RustDesk client its server settings from an install script.
- Move from a RustDesk server
Replace a RustDesk server (hbbs and hbbr) with NeoDesk and keep its key, so the RustDesk clients keep working without changes.
Using the console
The web console page by page: the overview, the device list, adding a computer with an invite, a device's details and how to connect to it, enrollment requests, quick support, remote desktop in the browser and the activity log.
- The overview page
What the first page after sign-in shows, from the things that need someone to the values a RustDesk client needs.
- The device list
Find, filter, sort and organize devices, act on several at once, and add RDP or VNC computers.
- Add a computer
Make an invite link that installs NeoDesk on a computer and joins it to your server, approved and in its folder.
- Device details and connecting
The device panel tab by tab, how to edit a device, and the ways to connect to it.
- Enrollment requests
Decide which new devices may join the server, and approve or reject the ones that ask.
- Quick support
Help someone on a computer that is not set up, with a link that works once for one hour and needs no install.
- Remote desktop in the browser
Control a device from a browser tab through the server, what that needs, and where it differs from the RustDesk app.
- Activity and audit log
The audit log, the server's own events, the security checks, reports and app usage, and who can see them.
- RDP and VNC targets
Add computers that have no RustDesk client, set up the gateway the server reaches them through, and what a session can do.
- Unattended access and Wake-on-LAN
Reach a device when nobody is at it, with a permanent password in the NeoDesk client or in RustDesk, and wake a sleeping computer from the server.
- Saved sign-in
Keep a Windows account's name and password for a device, and let the browser viewer sign in with them at the computer's lock screen.
- MeshAgent devices
Let computers with MeshCentral's agent connect to the server, approve them, and use their terminal, files, port relays and power commands.
- CDAP devices
Let sensors, controllers and agents connect over CDAP, see their values and controls, and send them commands.
People and sign-in
Who can sign in and what they can do: users, roles and permissions, two-factor sign-in, LDAP or Active Directory, single sign-on with OIDC, and organizations.
- Users and roles
Add, change, disable and delete console accounts, choose a role for each, and decide which devices people who are not administrators see.
- Permissions
Change what a role may do, narrow console sections for one person or a user group with Panel access, and limit what they may do in remote sessions.
- Two-factor sign-in
Turn on sign-in codes from an authenticator app, sign in with them, use and renew recovery codes, and make two-factor sign-in mandatory.
- LDAP and Active Directory
Let people sign in to the console with their directory user name and password, and give them roles from their directory groups.
- Single sign-on with OIDC
Let people sign in to the console through an OpenID Connect identity provider, and give them roles from the groups the provider sends.
- Organizations
Group people and devices per customer or site, share an address book with the members, and know what membership changes and what it does not.
Running the server
For the person who runs the server: configuration, ports and firewall, a reverse proxy with TLS, PostgreSQL, updating, backup and troubleshooting.
- Configuration
How the server reads its settings, where to set them for Docker, Linux and Windows, and the settings an operator changes most.
- Ports and firewall
Which ports NeoDesk listens on, who connects to each, which to open to the internet, and firewall commands for Linux and Windows.
- Reverse proxy and TLS
Give the web console HTTPS with Let's Encrypt on Docker, with nginx or Caddy in front, or with its own certificate, and check what clients get.
- PostgreSQL
Run NeoDesk on PostgreSQL instead of SQLite, move an existing install over, and back up the database.
- Updating
Update a Docker, Linux or Windows install, choose the release channel, use the console's Updates page, check the version and roll back.
- Backup and restore
What to back up for each install type, what the console's Backup page covers, cold backups of the Docker volumes, restoring, and why the key file matters.
- Troubleshooting
Logs, health checks, and what to check when the console does not open, sign-in fails, clients cannot connect, the key does not match or the relay fails.
- Hardening
The settings and steps that make a NeoDesk server on the internet safer, from TLS for the console to who may start sessions, and what each one changes.
- Monitoring
Health checks for an outside monitor, the Prometheus metrics and who may read them, where audit entries go, and how long the server keeps its records.
Command line
The neodesk command line for scripts and AI agents: signing in with an API token, the MCP server for AI agents, and the reference of every command.
- The neodesk command line
Where the neodesk command is, signing in with an API token, the first commands to run, tables or JSON, and the exit codes scripts can test for.
- API tokens
Make a token for a script, the neodesk command line or an AI agent, pick its permissions, use it with neodesk or curl, and revoke it.
- AI agents over MCP
Connect an AI agent to the console with neodesk mcp, which tools it gets, the flags that add more, and which commands stay out on purpose.
- Command reference
Every command of the neodesk command line by group, the flags every command takes, its environment variables and its exit codes.
Development
For people who work on NeoDesk or build on it: contributing, building from source, the tests and checks, how the code fits together, releases, and the APIs and protocols.
- Contributing
How to propose a change to NeoDesk, what a pull request needs, how commit messages look, and the policy on copyright and provenance of contributions.
- Building from source
Build the neodesk-server binary with the web console built in, for your platform or another one, and the Docker images from a checkout.
- Tests and checks
The Go tests, the web app's tests, the contract suite, the local gate that runs everything before a commit, and the repository's own checks.
- Architecture
How the repository is laid out, what runs inside the one neodesk-server process, where the data lives, and the telemetry contract for NeoDesk's clients.
- Branches, versions and releases
The main branch, how the product version is bumped, what the release workflows publish, and the checklist before a stable release.
- CI workflows
The GitHub Actions workflows of the repository, when each one runs, what it checks or publishes, and what to do when one fails.
- Translations
Where the web console's texts live, how to improve a translation or add a language, how to add a new text, and the check every language file has to pass.
- The installers
For work on the install scripts: what each one does, where it gets the server from, the rules every installer keeps, and how they are tested.
- RustDesk compatibility
How the server stays compatible with the stock RustDesk client, the checklist for a new RustDesk release, and what the upstream watch does.
- Clean-room provenance
The policy for code and protocol schemas that talk to stock RustDesk clients, the clean-room workflow, and the release gate for clean-room claims.
- Security model
What the server trusts and how the code protects each boundary: device identity, encryption, accounts, tokens, stored secrets and the gaps that remain.
- The HTTP API
How a script or an integration signs in to the server's API, and the routes it can build on for devices, audit, keys, CDAP devices and MeshCentral agents.
- CDAP protocol
The WebSocket protocol between a device or a bridge and the server's CDAP gateway, message by message, as the server implements it.
- CDAP SDKs and bridges
What the Python and Node.js SDKs and the three reference bridges do, how to start one against a server, and what the console's flow builder does.
The project
The license and what the project does with your data.