rustdesk-server-pro icon indicating copy to clipboard operation
rustdesk-server-pro copied to clipboard

Unable to edit devices with an ID below 6 charatcers

Open tommyvange opened this issue 4 months ago • 3 comments

Bug Description

We use allow-hostname-as-id=Y on all our devices, but if the device has a hostname that is less than 6 characters you will not be able to edit the device inside an address book.

See example:

Image

How to Reproduce

  1. Have a device with a hostname less than 6 characters
  2. Create a custom application with allow-hostname-as-id=Y
  3. Try to edit this device inside an address book (ex. adding an alias or password)

Expected Behavior

I expected to be allowed to edit the device.

Operating system(s) on local (controlling) side and remote (controlled) side

N/A

RustDesk Version(s) on local (controlling) side and remote (controlled) side

N/A

Screenshots

Image

Additional Context

Running RustDesk Server Pro 1.6.3

tommyvange avatar Aug 29 '25 08:08 tommyvange

@21pages

rustdesk avatar Aug 29 '25 09:08 rustdesk

@rustdesk I am now having an issue where the client i am installing the RustDesk client on.

I made a new custom client without the allow-hostname-as-id=Y set, but it still only gets the ID skad3. I did uninstall the previous RustDesk instance and delete the client from the web console, before re-installing.

tommyvange avatar Aug 29 '25 10:08 tommyvange

I made a new custom client without the allow-hostname-as-id=Y set, but it still only gets the ID skad3. I did uninstall the previous RustDesk instance and delete the client from the web console, before re-installing.

This behavior is expected.

you can set id by following https://github.com/rustdesk/rustdesk/wiki/FAQ#duplicate-id-of-cloned-system

rustdesk avatar Aug 29 '25 10:08 rustdesk