From b57b00f3fc506f463d25f9688ce5280889176cf9 Mon Sep 17 00:00:00 2001 From: aschumann-virtualcable Date: Tue, 9 Sep 2025 10:42:40 +0200 Subject: [PATCH] Add lnx_thincast_rdp_file field to RDPTransport and BaseRDPTransport for Thincast support --- server/src/uds/transports/RDP/rdp.py | 2 ++ server/src/uds/transports/RDP/rdp_base.py | 9 +++++++++ server/src/uds/transports/RDP/rdptunnel.py | 2 ++ 3 files changed, 13 insertions(+) diff --git a/server/src/uds/transports/RDP/rdp.py b/server/src/uds/transports/RDP/rdp.py index a91b30a57..62cbc0cdd 100644 --- a/server/src/uds/transports/RDP/rdp.py +++ b/server/src/uds/transports/RDP/rdp.py @@ -98,6 +98,8 @@ class RDPTransport(BaseRDPTransport): mac_custom_parameters = BaseRDPTransport.mac_custom_parameters wnd_custom_parameters = BaseRDPTransport.wnd_custom_parameters + lnx_thincast_rdp_file = BaseRDPTransport.lnx_thincast_rdp_file + def get_transport_script( # pylint: disable=too-many-locals self, userservice: 'models.UserService', diff --git a/server/src/uds/transports/RDP/rdp_base.py b/server/src/uds/transports/RDP/rdp_base.py index 4ff095672..d30aad0cf 100644 --- a/server/src/uds/transports/RDP/rdp_base.py +++ b/server/src/uds/transports/RDP/rdp_base.py @@ -324,6 +324,15 @@ class BaseRDPTransport(transports.Transport): old_field_name='customParameters', ) + lnx_thincast_rdp_file = gui.CheckBoxField( + label=_('Use RDP file for Thincast'), + order=46, + tooltip=_('If marked, an RDP file will be used for connections with Thincast on Linux.'), + tab='Linux Client', + default=False, + old_field_name='thincastRdpFile', + ) + mac_allow_msrdc = gui.CheckBoxField( label=_('Allow Microsoft Rdp Client'), order=50, diff --git a/server/src/uds/transports/RDP/rdptunnel.py b/server/src/uds/transports/RDP/rdptunnel.py index e1b6ba6c6..e76d02306 100644 --- a/server/src/uds/transports/RDP/rdptunnel.py +++ b/server/src/uds/transports/RDP/rdptunnel.py @@ -114,6 +114,8 @@ class TRDPTransport(BaseRDPTransport): lnx_custom_parameters = BaseRDPTransport.lnx_custom_parameters mac_custom_parameters = BaseRDPTransport.mac_custom_parameters wnd_custom_parameters = BaseRDPTransport.wnd_custom_parameters + + lnx_thincast_rdp_file = BaseRDPTransport.lnx_thincast_rdp_file # optimizeTeams = BaseRDPTransport.optimizeTeams def initialize(self, values: 'types.core.ValuesType') -> None: