As an addendum to guide provided by @Arrmm, here’s correct way to do it on Debian:
- Close RustDesk window
- service rustdesk stop
- nano ~/.config/rustdesk/RustDesk.toml
- Change value of id to “0”, save the file
- rm -f /etc/machine-id /var/lib/dbus/machine-id
- dbus-uuidgen –ensure=/etc/machine-id
- dbus-uuidgen –ensure
- Run RustDesk – a new ID will be automatically generated.
Reference: https://wiki.debian.org/MachineId
As @paspo pointed out below, please bear in mind that changing machine id may have consequences. If you’re not trying to configure cloned image, proceed with caution.
—–
Changing the machine id will impact a lot of things other than rustdesk!
As per the link you referenced, you will lose some “data”, like:
- dhcp lease can change
- gnome screen layout
- you can screw up systemd-efi bootloader
The procedure you suggested is used when dealing with cloned systems (e.g. you have a “master” image and clone it to 20 different computers, so you need different machine-ids)