Closed coycash closed 4 months ago
Yeah doesn't sound like it has worked pushing the settings, shall need to take a look
@dinger1986 The script does not update the settings and does not terminate - it does not work anymore. Had to do it manualy. Good luck fixing :)
I'll check
Some new hocus pocus...(could you also expose the id and password creation functionality in reverse Base64 string and salt?)
You can fix the Password is required and use a reverse Base64 string in the format {"host":"HOSTADDRESS","key":"HOSTKEY","api":"http://HOSTADDRESS:21114"} to automatically configure the clients, this is available automatically with RustDesk Server Pro via the console.
The password parts just released today. Don't know how it translates to opensource, the base64 code is easy enough to figure out and theres docs how to do it, I will swap the scripts to the ones suggested on rustdesk and work out how to create that base64 code and then write them out
Some new hocus pocus...(could you also expose the id and password creation functionality in reverse Base64 string and salt?)
You can fix the Password is required and use a reverse Base64 string in the format {"host":"HOSTADDRESS","key":"HOSTKEY","api":"http://HOSTADDRESS:21114"} to automatically configure the clients, this is available automatically with RustDesk Server Pro via the console.
you can do the reverse Base64 string install using my server as well, Ill need to work out the password https://github.com/infiniteremote/installer
The password parts just released today. Don't know how it translates to opensource, the base64 code is easy enough to figure out and theres docs how to do it, I will swap the scripts to the ones suggested on rustdesk and work out how to create that base64 code and then write them out
I can PR it if it helps?
thanks @gitondezhuts should be sorted now
Was this actually confirmed to be fixed? I am a newbie trying Rustdesk for the first time. I ran the server install on Debian 12 linux on a VPS and chose to download configs and install HTTP server . I downloaded them to two Windows PC's on my local LAN. But on Windows 10 it printed "Installing service" and then nothing else. On Windows 11, it didn't even print that, but in both cases, Rustdesk was running without my config injected.
So I closed the powershell script windows and opened a new powershell and manually ran the last three .\RunDesk.exe commands to get id, set config and password and the settings show up. Both PC's are on the same LAN, which is why I'm assuming they both show up under "Discovered", but if I double click on the other PC, I get "Connection error ID does not exist". If I right click the triple dots and Connect, I get "Connection error Key mismatch".
Is this a case of PEBKAC or did something change recently that explains why this isn't working smoothly? I can confirm the public key printed from the output of the install script matches the /opt/rustdesk/ided25519.pub and ps shows /opt/rustdesk/hbbs -k and /opt/rustdesk/hbbr -k _ running. ufw is enabled with all the ports opened. So I'm not sure if the issue is on my side or what.
did you run them as admin?
As root on the server and administrators on the Windows PCs.
FYI, you probably want to update your script based on https://rustdesk.com/docs/en/self-host/client-deployment/. This will grab the latest client version (e.g. 1.2.3-2) and successfully install the client and output the settings at the end. I installed the server on my unraid server, generated my configstring and put in my password into the powershell script at the url above and the install went smoothly. Even when I entered the settings into the clients using your setup script, it never worked. So I suspect you have issues on the server and client side with your existing scripts. Best of luck.
Community can always update it, the existing scripts work fine for me
So I ran the script with the port 8000 http server, and downloaded the WindowsAgentAIOInstall.ps1 onto a machine. The script hangs until I terminate but it installs RustDesk and I am able to remote into my machines. However, the Settings > Network > ID Server, etc are all blank and the bottom of the home screen says "Ready, For faster connection, please set up your own server." I shut down my server to verify if it was being used and it is still connecting. I thought the ps1 script was pushing my domain onto the client install? And if my server is down how is this working?
Thanks