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

uri and QR codes for quick connect to and also config self-hosted servers? #616

Closed
wildy opened this issue May 25, 2022 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@wildy
Copy link

wildy commented May 25, 2022

Hi.

I just had a nice idea for a feature request -- we could implement handling of links with a scheme like such (see below):

  • rustdesk://123456789 -- ordinary connection link, public relay servers.
  • rustdesk://123456789?server=rd.example.org&key=FooBarBaz -- connection through a self-hosted server
  • rustdesk://?server=rd.example.org&key=FooBarBaz -- set self-hosted server parameters

The same thing could be encoded into a QR code which could be read by clients both from screen, camera, or file. I feel like this can be super useful in a lot of scenarios. For example:

  • Set up a client for a custom server quickly: just snap a QR with your smartphone or laptop camera and there you are, custom relay server is set automatically.
  • Help a novice user connect via a custom server without encoding it in client file name -- "Here, click this link, or click that button and let RustDesk grab the code from the screen for you"

Just like Wi-Fi QR codes, but for RustDesk.

Waiting for your comments and suggestions :)

@wildy wildy added the enhancement New feature or request label May 25, 2022
Repository owner deleted a comment from huddhudd Mar 29, 2023
@rustdesk rustdesk changed the title Links and QR codes for quick connect to self-hosted servers? uri and QR codes for quick connect to self-hosted servers? Mar 29, 2023
@rustdesk rustdesk changed the title uri and QR codes for quick connect to self-hosted servers? uri and QR codes for quick connect to and also config self-hosted servers? Mar 29, 2023
@rustdesk
Copy link
Owner

rustdesk commented Dec 3, 2023

Android

start deep link via adb

adb shell am start -W -a android.intent.action.VIEW -d <URI> <PACKAGE>
PACKAGE=com.carriez.flutter_hbb

set config and password

config: rustdesk://config/<config_string>

You can get config_string from the welcome page of web console, also can be export from Settings -> Network on RustDesk client.

set permanent password: rustdesk://password/<password>

@rustdesk
Copy link
Owner

rustdesk commented Dec 3, 2023

Start connection

rustdesk://123456789 or rustdesk://connect/123456789
rustdesk://123456789/r force relay
rustdesk://123456789@rd.example.org?key=FooBarBaz
rustdesk://123456789/r@rd.example.org?key=FooBarBaz force relay

rustdesk added a commit that referenced this issue Dec 3, 2023
Repository owner deleted a comment from karamba2077 Dec 3, 2023
@GuillaumeHullin
Copy link

@rustdesk it does not seems to work on macOS. Is it a me-problem or something known?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants