From 4bbf7a3a670d3a744c2a164c5d4a92ee40a5d274 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:38:24 +0000 Subject: [PATCH] Fix RDP frozen/unclickable screen: desktop whitespace, disable-view-only session+system Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/7683cf3e-15ca-4f1b-a485-5522fa4d6cd6 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- modules/rdp.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/modules/rdp.nix b/modules/rdp.nix index ddab334..9e0c114 100755 --- a/modules/rdp.nix +++ b/modules/rdp.nix @@ -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 || true echo "GNOME Remote Desktop RDP configured successfully" ''; @@ -152,12 +154,12 @@ lib.mkIf config.sovran_systemsOS.features.rdp { # Autostart session-level RDP configuration when the 'free' user's GNOME session starts environment.etc."xdg/autostart/sovran-rdp-session-setup.desktop".text = '' - [Desktop Entry] - Type=Application - Name=Sovran RDP Session Setup - Exec=${rdp-session-setup-script} - Terminal=false - X-GNOME-Autostart-enabled=true - NoDisplay=true - ''; +[Desktop Entry] +Type=Application +Name=Sovran RDP Session Setup +Exec=${rdp-session-setup-script} +Terminal=false +X-GNOME-Autostart-enabled=true +NoDisplay=true +''; } \ No newline at end of file