techahold / rustdeskinstall

Easy install Script for Rustdesk
MIT License
357 stars 110 forks source link

Few questions #16

Closed dsm150 closed 1 year ago

dsm150 commented 1 year ago

Hello! 1. Powershell is a dense forest for me)) Is it possible to add a telegram send function to the script? like this: `Function Send-Telegram { Param([Parameter(Mandatory=$true)][String]$Message) $Telegramtoken = "Your_Telegram_Token" $Telegramchatid = "Your_Telegram_Chat_ID"

$Response = Invoke-RestMethod -Uri "https://api.telegram.org/bot$($Telegramtoken)/sendMessage?chat_id=$($Telegramchatid)&text=$($Message)"}`

2. Is it possible to install an agent with the remote configuration option enabled?

3. Is there any news on the implementation of the address book?

dinger1986 commented 1 year ago
  1. Possibly but really out of scope for this.

  2. If you install using the script then it generates powershell install scripts.

  3. We aren't developing rustdesk, only developed an install script

dsm150 commented 1 year ago
  1. With the addition of the functionality of sending a notification to Telegram, I figured it out, thank you.

  2. Yes, I do the installation with a script that was generated during installation of server. As I understand it, we need to add an argument to the -argumentlist "--silent-install" line, but I can't find a list of available installation arguments. Maybe they are known to you? On the project's github, I also couldn't find a list of possible arguments (

  3. I meant this project: https://github.com/boonkerz/rustdesk-addressbook Maybe it happened that the author answered you about integration into your script.

  4. After installing the server, the script displays the login and password of the mini site in the terminal. I forgot to write them down. Tell me how can I see them again?

dinger1986 commented 1 year ago
  1. Good

  2. Look through the powershell script it has the silent install built in.

  3. No reply really until it's done I can't do very much unfortunately

dsm150 commented 1 year ago
  1. Yes, I studied the script more carefully. There is only one command in the script - silent installation. I needed the remote configuration option to be immediately activated during installation. All you need to do is add allow-remote-config-modification = 'Y' to the $RustDesk2_toml section. Hence the question - is there a description of the file options rustdesk2.toml?

  2. After installing the server, the script displays the login and password of the mini site in the terminal. I forgot to write them down. Tell me how can I see them again?

There is my TG notification )) img-2022-09-23-13-47-06

dsm150 commented 1 year ago

Please, answer After installing the server, the script displays the login and password of the mini site in the terminal. I forgot to write them down. Tell me how can I see them again?

dinger1986 commented 1 year ago

Sorry I missed that!

nano /etc/systemd/system/gohttpserver.service

the token will be at the end of the ExecStart line