Merge pull request #153 from naturallaw777/copilot/fix-desktop-file-whitespace-bug

[WIP] Fix whitespace issue in desktop file causing unresponsive RDP session
This commit is contained in:
Sovran_Systems
2026-04-08 12:39:52 -05:00
committed by GitHub

View File

@@ -24,6 +24,7 @@ let
grdctl rdp set-tls-key "$TLS_DIR/rdp-tls.key" || { echo "ERROR: grdctl rdp set-tls-key failed" >&2; exit 1; }
grdctl rdp set-credentials sovran "$PASSWORD" || { echo "ERROR: grdctl rdp set-credentials failed" >&2; exit 1; }
grdctl rdp enable || { echo "ERROR: grdctl rdp enable failed" >&2; exit 1; }
grdctl rdp disable-view-only || echo "WARNING: grdctl rdp disable-view-only not supported on this version" >&2
echo "Session-level RDP configured successfully"
'';
in
@@ -145,6 +146,7 @@ lib.mkIf config.sovran_systemsOS.features.rdp {
# Enable RDP backend and set credentials
grdctl --system rdp enable
grdctl --system rdp set-credentials sovran "$PASSWORD"
grdctl --system rdp disable-view-only || echo "WARNING: grdctl --system rdp disable-view-only not supported on this version" >&2
echo "GNOME Remote Desktop RDP configured successfully"
'';