Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Rustdesk #384

Open
Wargamer-Senpai opened this issue Nov 30, 2024 · 7 comments
Open

Support for Rustdesk #384

Wargamer-Senpai opened this issue Nov 30, 2024 · 7 comments

Comments

@Wargamer-Senpai
Copy link

Would it be possible to integrate support for Rustdesk, to call it, for example (Windows):

C:\Program Files\RustDesk\rustdesk.exe --connect <id> --password <password>
@crschnick
Copy link
Member

Yes, if that is the only thing to add. I have not used rustdesk yet. But if there are other authentication measures, I'm not sure how well these could be supported

@Wargamer-Senpai
Copy link
Author

Would be cool. I've looked into the documentation, they have referenced this file where all their parameters are listed/documented and it looks like this is the only method of authentication.

@crschnick
Copy link
Member

And they don't have their own graphical launcher? XPipe wouldn't be more than just that

@Wargamer-Senpai
Copy link
Author

Wargamer-Senpai commented Nov 30, 2024

They do have a graphical launcher, but it would be nicer if it would be all in one place and as a bonus have it on all devices synced 😉

edit:

XPipe wouldn't be more than just that

i would be completly fine with that 🙂

@nativeit
Copy link

Just to add what (relatively little) I know that might be relevant. RustDesk can be called via a custom URL scheme, rustdesk://connection/new/${rustdesk_id}?password=${rustdesk_pwd} so one option would be to simply add a command/script to the host that launches that URL, and if you'd care to setup additional functions to automatically fill the ID and password, there are ways to achieve that using whichever scripting language you're comfortable with and/or makes sense for the platform.

For Windows machines, there are some PowerShell scripts that I have personally tested (and currently use) that automate installing RustDesk (with a custom ID/relay/API server), as well as for retrieving the ID number and password, in the documentation for integrating RustDesk with Tactical RMM (link). You would need to use WinRM/Remote Powershell, but happily XPipe seems pretty well suited for that!

So even if there's not enough interest to warrant including the RustDesk services/protocols in XPipe natively, it's script-able enough to establish some templates that would provide a similar experience. I use RustDesk on a number of machines, I may end up writing those scripts myself, and if so I will gladly publish them here for anyone else who may want them. In the meantime, I'd love to know if anyone else does anything with this.

@crschnick
Copy link
Member

Does rustdesk store previous connections on the system somewhere that xpipe can detect automatically?

@Wargamer-Senpai
Copy link
Author

Looks like C:\Users\%username%\AppData\Roaming\RustDesk\config\peers, the filename is the id and inside the files are more relevant information (hostname, password, connection options....)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants