[network/krdc] rdp: RDP: properly enable gateway backend.

Fabio Bas <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit a538bc83659c4cb797040c5181ae13df7acea6e1 by Fabio Bas.
Committed on 19/08/2026 at 09:36.
Pushed by ctrlaltca into branch 'master'.

RDP: properly enable gateway backend.

BUG: 524294

M  +3    -0    rdp/rdpsession.cpp

https://invent.kde.org/network/krdc/-/commit/a538bc83659c4cb797040c5181ae13df7acea6e1

diff --git a/rdp/rdpsession.cpp b/rdp/rdpsession.cpp
index c55ed4ce..f3d30e32 100644
--- a/rdp/rdpsession.cpp
+++ b/rdp/rdpsession.cpp
@@ -715,6 +715,9 @@ int RdpSession::clientContextStart(rdpContext *context)
             }
             break;
         }
+        if (!freerdp_settings_set_bool(settings, FreeRDP_GatewayEnabled, true)) {
+            return -1;
+        }
     }
 
     session->m_thread = std::thread(std::bind(&RdpSession::run, session));
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.