RustDesk: Difference between revisions
First version of article. |
→Server: Add note how to set parameters that need to be set via ENV variables. |
||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
[[Category:Applications]] [[Category:Server]] | [[Category:Applications]] [[Category:Server]] | ||
= Server = | = Server = | ||
There are only a few options necessary to run a RustDesk server: | |||
<syntaxhighlight lang="nixos"> | |||
services.rustdesk-server = { | services.rustdesk-server = { | ||
enable = true; | enable = true; | ||
openFirewall = true; | openFirewall = true; | ||
signal.relayHosts = ["example.com"]; | |||
}; | }; | ||
</syntaxhighlight>The key is stored at: /var/lib/private/rustdesk/id_ed25519.pub | </syntaxhighlight>The key is stored at: /var/lib/private/rustdesk/id_ed25519.pub | ||
[https://github.com/rustdesk/rustdesk-server?tab=readme-ov-file#env-variables Some settings may only be set via ENV variables] like this: | |||
<syntaxhighlight lang="nixos"> | |||
systemd.services.rustdesk-signal.environment.ALWAYS_USE_RELAY = "Y"; | |||
</syntaxhighlight> | |||
Latest revision as of 06:58, 16 April 2025
RustDesk is a remote desktop remote maintenance software. It can be used with the official server as well as with a self-hosted server (better confidentiality and availability). Open source client and server are included in nixpgks. RustDesk offers an improved server for self-hosting in the rental model (not included in nixpkgs).
Client
There are two versions of the client available rustdesk (deprecated) and rustdesk-flutter (more recent). They do not need any changes in the configuration to be used with the official server.
To use the client with a custom server, it is necessary to change in the network preferences (burger menu --> network):
ID-Server: [enter IP or domain name of server]
Relay-Server: [Enter IP or domain name of server]
API-Server: [leave blank]
Key: [Copy the content from /var/lib/private/rustdesk/id_ed25519.pub]Server
There are only a few options necessary to run a RustDesk server:
services.rustdesk-server = {
enable = true;
openFirewall = true;
signal.relayHosts = ["example.com"];
};
The key is stored at: /var/lib/private/rustdesk/id_ed25519.pub
Some settings may only be set via ENV variables like this:
systemd.services.rustdesk-signal.environment.ALWAYS_USE_RELAY = "Y";