Rustdesk - Remote Desktop Software

Rustdesk is a free open source self-hostable remote desktop software for Linux, MacOS and Windows.

→ To their GitHub: github.com/rustdesk

Configure Rustdesk client for Linux from CLI

Sometime it might be necessary to edit the Rustdesk config from CLI, for example when switching between relay servers.

To do this proceed as following: (This tutorial was tested on a Systemd-based system)

sudo systemctl stop rustdesk.service
su root
cd /root/.config/rustdesk
nano RustDesk2.toml
rendezvous_server = '<rendevouz-server-ip>'
nat_type = 1
serial = 3
 
[options]
rendezvous-servers = 'rs-ny.rustdesk.com,rs-sg.rustdesk.com,rs-cn.rustdesk.com'
key = '<key>'
custom-rendezvous-server = '<rendevouz-server-ip>'
local-ip-addr = '<local-ip>'
enable-audio = 'N'
relay-server = '<relay-server-ip>'
audio-input = 'Monitor of Built-in Audio Analog Stereo'
sudo systemctl start rustdesk.service