tis-rustdesk icon

RustDesk

Silent install package for RustDesk

1.5.0-4
Utilities
Utilities

How to use Rustdesk with WAPT

Configuration procedure:

Three packages are required to operate RustDesk through the WAPT console: tis-rustdesk , tis-rustdesk-server and tis-rustdesk-config-template.

tis-rustdesk-server

https://wapt.tranquil.it/store/en/tis-rustdesk-server

  • Install this package on your RustDesk server.
  • Once installed, go to the machine's audit data and retrieve the data for the tis-rustdesk-server package.
  • Retrieve the rustdesk_cfg key and copy it.

tis-rustdesk-config-template

https://wapt.tranquil.it/store/en/tis-rustdesk-config-template

  • Download the "tis-rustdesk-config-template" package.
  • Private Repository > tis-rustdesk-config-template > right-click > launch update_package.
  • Click OK on the message indicating that the update-package() function has been launched.
  • Once the window is displayed, tick "upload directly", select a package maturity, note your package prefix and tick "increment package version".
  • Click on ‘Run update-package for selected packages’.
  • Enter the rustdesk_cfg key > click on "Upload the package".
  • Install this new package on the client workstations.

Usage Procedure:

  • Install the tis-rustdesk package ( https://wapt.tranquil.it/store/en/tis-rustdesk ) on the client machines.
  • Install the customized RustDesk configuration package.
  • Launch waptconsole.
  • Select the machine to control in PMAD > Right-click "Connect via RustDesk".

⚠️ Il est nécessaire que la machine ayant la console WAPT ai le paquet Rustdesk ainsi que le paquet de configuration installé ⚠️

  • package: tis-rustdesk
  • name: RustDesk
  • version: 1.5.0-4
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ,Stan SALOMON
  • editor: Purslane Ltd
  • licence: AGPL-3.0 license
  • locale: all
  • target_os: debian(>=10),ubuntu(>=20)
  • architecture: x64
  • signature_date:
  • size: 50.11 Mo
  • homepage : https://rustdesk.com/

package           : tis-rustdesk
version           : 1.5.0-4
architecture      : x64
section           : base
priority          : optional
name              : RustDesk
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ,Stan SALOMON
description       : RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian(>=10),ubuntu(>=20)
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale
description_pl    : RustDesk to w pełni funkcjonalna alternatywa zdalnego sterowania typu open source do samodzielnego hostingu i bezpieczeństwa przy minimalnej konfiguracji
description_de    : RustDesk ist eine voll funktionsfähige Open-Source-Fernsteuerungsalternative für Selbst-Hosting und Sicherheit mit minimaler Konfiguration
description_es    : RustDesk es una completa alternativa de control remoto de código abierto para el autoalojamiento y la seguridad con una configuración mínima
description_pt    : O RustDesk é uma alternativa de controlo remoto de código aberto com todas as funcionalidades para auto-hospedagem e segurança com configuração mínima
description_it    : RustDesk è un'alternativa di controllo remoto open source completa per l'auto-hosting e la sicurezza con una configurazione minima
description_nl    : RustDesk is een volledig open source alternatief voor afstandsbediening voor zelfbeheer en beveiliging met minimale configuratie
description_ru    : RustDesk - это полнофункциональная альтернатива удаленного управления с открытым исходным кодом для самостоятельного размещения и обеспечения безопасности с минимальной конфигурацией
audit_schedule    : 
editor            : Purslane Ltd
keywords          : RustDesk
licence           : AGPL-3.0 license
homepage          : https://rustdesk.com/
package_uuid      : 2e033ede-e5b5-4829-bf82-5083d3d1456a
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/rustdesk/rustdesk/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 6e1b5881cfd9d438d6aff2c4f9c3f845a728072c75a61d637b842c95b6322a8c
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-10-14T11:02:39.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : R/WdOmAMmY2NsCs99f+BeAaQguRZZ8hZYtRZR4iDVxYdyAAm9kpaUNaPYkSTvfmdnrznu9HxoM8Y+PH3lwxhTe8GHWu7BJlmGr4WOwmihh07M/KW2fbiVtI/RQjk0L2OouvqS2UCxhla7GDJgtf71qo4obDoWrQtKCPlBw+Q6l8LotuYMNl3P4JtoX+vEHS/RjBmtKLBJI4u+HRr6SlUIWhvgimCvTVhg/Ukld5F690GjTpl19xwGsPccfYnqwl5BkWWhHSxCUf0xZ2V8M+a+JPO8RNqqyW1QD17IU8pwdWOIZxaZauHboStPQjc7YPbbmv+1KdHCOr1/Vjhy6SUuA==

# -*- coding: utf-8 -*-
from setuphelpers import *

def install():
    if supports_wayland():
        print("Installing \"rustdesk-unattended-wayland\"")
        install_deb(glob.glob("*unattended-wayland*.deb")[0])

    else:
        print("Installing \"rustdesk\"")
        install_deb(glob.glob("rustdesk-[0-9]*-*.deb")[0])

def uninstall():
    if supports_wayland():
        uninstall_apt('rustdesk-unattended-wayland')
    else:
        uninstall_apt('rustdesk')


def supports_wayland():
    path = "/usr/share/wayland-sessions"
    if isdir(path):
        find_all_files(path, '*.desktop')
        return len(find_all_files(path, '*.desktop')) > 0
    return False

# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *


def update_package():
    # Declaration of local variables
    package_updated = False
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()
    repo = "rustdesk/rustdesk"
    api_url = f"https://api.github.com/repos/{repo}/releases/latest"
    download_dict = {
            "windows-x64": "x86_64.exe",
            "windows-x86": "x86-sciter.exe",
            "windows-all": "x86-sciter.exe", # Windows 7
            "macos-x64"  : "x86_64.dmg",
            "macos-arm"  : "aarch64.dmg",
            "debian(>=10),ubuntu(>=20)-arm" : "armv7-sciter.deb",
            "debian(>=10),ubuntu(>=20)-arm64" : "aarch64.deb" ,
            "debian(>=10),ubuntu(>=20)-x64" : "x86_64.deb",
            "redhat_based-x64" : "x86_64.rpm"
    }

    # Getting latest version information from official sources
    print(f"API used is: {api_url}")
    json_load = wgets(api_url, proxies=proxies, as_json=True)
    version = json_load["tag_name"]
    download_url = []
    for to_download in json_load["assets"]:
        if download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
            download_url.append((to_download["browser_download_url"], to_download["name"]))
            # break : We don't break with Debian x64, because we want to download the unattended wayland version

    # Cleaning up old binaries
    for dotdeb in glob.glob("*.deb"):
        remove_file(dotdeb)

    print(f"Latest {control.name} version is: {version}")
    for url, name in download_url:
        print(f"Download URL is: {url}")
        if not isfile(name):
            print(f"Downloading: {name}")
            wget(url, name, proxies=proxies)
        else:
            print(f"Binary is present: {name}")


    # Changing version of the package
    if Version(version, 4) > Version(control.get_software_version(), 4):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Validating update-package-sources
    return package_updated

2c8f4266c995faf6baa196328a44c82eb8c35047f7ede2e4caa0d7014540ebee : WAPT/README.md
1d12debddc8b24c78d34665113210f5a4df68da565780d2a7107a8e11b7a9f38 : WAPT/README_fr.md
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
11b5990af28b89a170e3ba6cb958b7e58975765757aadddf353333cf9aedc09d : WAPT/control
6e1b5881cfd9d438d6aff2c4f9c3f845a728072c75a61d637b842c95b6322a8c : WAPT/icon.png
3b4a59e5d740c50d242bad90bae59073110d9f92dda25048b8258cca1e9c4717 : luti.json
4e2b9701d25a7ef373f3d09bda584a37d6902f97a6ab15f2e86d4a5783e2a0ec : rustdesk-1.5.0-x86_64.deb
9eed5e9f4b47af8ed41585c399cb2c0d2870e801c99645330dea1063ad844e09 : rustdesk-unattended-wayland-1.5.0-x86_64.deb
90fccf67868eb24d78d4586550488a5bfcc7e5330141b530608433d0a79cf517 : setup.py
857201c678641abc59b1dbf81295c1644777d47d82775e8bb9fa42b050b8231d : update_package.py