{"id":879,"date":"2024-10-27T12:06:55","date_gmt":"2024-10-27T11:06:55","guid":{"rendered":"https:\/\/notiz.comanet.xyz\/?p=879"},"modified":"2024-10-27T12:06:55","modified_gmt":"2024-10-27T11:06:55","slug":"rustdesk-linux-change-machine-id","status":"publish","type":"post","link":"https:\/\/notiz.comanet.xyz\/?p=879","title":{"rendered":"RustDesk Linux change machine ID"},"content":{"rendered":"\n<p>As an addendum to guide provided by <a href=\"https:\/\/github.com\/Arrmm\">@Arrmm<\/a>, here&#8217;s correct way to do it on Debian:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Close RustDesk window<\/li><li>service rustdesk stop<\/li><li>nano ~\/.config\/rustdesk\/RustDesk.toml<\/li><li>Change value of id to &#8220;0&#8221;, save the file<\/li><li>rm -f \/etc\/machine-id \/var\/lib\/dbus\/machine-id<\/li><li>dbus-uuidgen &#8211;ensure=\/etc\/machine-id<\/li><li>dbus-uuidgen &#8211;ensure<\/li><li>Run RustDesk &#8211; a new ID will be automatically generated.<\/li><\/ol>\n\n\n\n<p>Reference: <a href=\"https:\/\/wiki.debian.org\/MachineId\">https:\/\/wiki.debian.org\/MachineId<\/a><\/p>\n\n\n\n<p>As <a href=\"https:\/\/github.com\/paspo\">@paspo<\/a> pointed out below, please bear in mind that changing machine id may have consequences. If you&#8217;re not trying to configure cloned image, proceed with caution.<\/p>\n\n\n\n<p>&#8212;&#8211;<\/p>\n\n\n\n<p>Changing the machine id will impact a lot of things other than rustdesk!<br>As per the link you referenced, you will lose some &#8220;data&#8221;, like:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>dhcp lease can change<\/li><li>gnome screen layout<\/li><li>you can screw up systemd-efi bootloader<\/li><\/ul>\n\n\n\n<p>The procedure you suggested is used when dealing with cloned systems (e.g. you have a &#8220;master&#8221; image and clone it to 20 different computers, so you need different machine-ids)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As an addendum to guide provided by @Arrmm, here&#8217;s correct way to do it on Debian: Close RustDesk window service rustdesk stop nano ~\/.config\/rustdesk\/RustDesk.toml Change value of id to &#8220;0&#8221;, save the file rm -f \/etc\/machine-id \/var\/lib\/dbus\/machine-id dbus-uuidgen &#8211;ensure=\/etc\/machine-id dbus-uuidgen &#8211;ensure Run RustDesk &#8211; a new ID will be automatically generated. Reference: https:\/\/wiki.debian.org\/MachineId As @paspo&#8230;<\/p>\n","protected":false},"author":1,"featured_media":881,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=879"}],"version-history":[{"count":1,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/879\/revisions"}],"predecessor-version":[{"id":880,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/posts\/879\/revisions\/880"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=\/wp\/v2\/media\/881"}],"wp:attachment":[{"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.comanet.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}