rustdesk / rustdesk-server

RustDesk Server Program

Home Page:https://rustdesk.com/server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Duplicate ID (Parallels VM)

Ndoll1 opened this issue · comments

Describe the bug
As a PoC we created some Mac virtual machines using Parallels. We wanted to hook into those using Rustdesk. While setting up Rustdesk generated identical ID's for different VM's.

The serial number on both VM's are the same, that is a thing that can happen on a VM, because in some instances you need to freeze an older version and upgrade a copy. Or change some parameters because you have the VM set-up differently for a customer, but the base is equal. Duplicating the VM is more convenient then.

image
For privacy reasons blurred the middle part of the ID.

Describe the environment
Rustdesk 1.2.2 - Mac OS ARM version

  • Running on a Parallels Mac OS VM

How to Reproduce the bug
Steps to reproduce the behavior:
Install an instance of Rustdesk Mac OS ARM on a parallels VM
In some instances a duplicate ID will be generated, to me this happened to imported VM's.
In those cases the common thing is that the serialnumber of the VM's were identical. See image above.

Expected behavior
It should have generated a different ID. What also would solve the issue is the option to reset/regenerate the ID of the Rustdesk instance.

Additional context
Add any other context about the problem here.
I tried changing the serial number of the VM's themselves, this is sadly not possible on M-processor macs as it stands right now
Source: https://kb.parallels.com/123455

Needed to post this issue in the regular Rustdesk repro, not the server repro. My bad