Rustdesk is a free open source self-hostable remote desktop software for Linux, MacOS and Windows.
→ To their GitHub: github.com/rustdesk
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
/root/.config/rustdesk/
, therefore change to root
:su root
cd /root/.config/rustdesk
RustDesk.toml
, RustDesk2.toml
and RustDesk_hwcodec.toml
. Edit the second one: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'
rendevous-server-ip
, the <relay-server-ip>
and the key
. Fill in the required values and exit.sudo systemctl start rustdesk.service