Benjamin-Loison / rustdesk

An open-source remote desktop, and alternative to TeamViewer.
https://rustdesk.com
GNU Affero General Public License v3.0
0 stars 0 forks source link

[Task]: Retrieve id from terminal #40

Closed Benjamin-Loison closed 3 months ago

Benjamin-Loison commented 3 months ago

Are you our team member?

SubTasks

Related to #7.

Benjamin-Loison commented 3 months ago
rustdesk --help
(rustdesk:3707414): Gtk-WARNING **: 12:07:22.681: cannot open display:
rustdesk
(rustdesk:3707463): Gtk-WARNING **: 12:07:28.218: cannot open display:
Benjamin-Loison commented 3 months ago
ls ~/.config/rustdesk/
RustDesk2.toml         RustDesk_local.toml
RustDesk_hwcodec.toml  RustDesk.toml

Only enc_id in RustDesk.toml seems relevant but seems encrypted.

Benjamin-Loison commented 3 months ago
yq enc_id RustDesk.toml
Command 'yq' not found, but can be installed with:
sudo apt install yq

Source: toml-lang/toml/issues/645#issuecomment-1088883898

Benjamin-Loison commented 3 months ago
rustdesk --config 'CENSORED'
Installation and administrative privileges required!

Source: https://rustdesk.com/docs/en/client/#configuring-rustdesk

Benjamin-Loison commented 3 months ago
rustdesk --get-id
CENSORED

Source: https://rustdesk.com/docs/en/client/#command-line-parameters