From 612198318eef45643841144721e0e2db43399729 Mon Sep 17 00:00:00 2001 From: Roshan Binoj Date: Thu, 26 Nov 2026 15:41:17 +0530 Subject: [PATCH] fix: default an empty RDP_DOMAIN to '.' (local account) With /d:"" FreeRDP 3 tries Kerberos against the system default realm (e.g. the stock ATHENA.MIT.EDU in /etc/krb5.conf), which stalls the connection for minutes. Passing /d:. targets the local Windows account and falls back to NTLM immediately. --- bin/winapps | 3 +++ setup.sh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bin/winapps b/bin/winapps index 0dfe66c..0da208e 100755 --- a/bin/winapps +++ b/bin/winapps @@ -410,6 +410,9 @@ function waLoadConfig() { fi RDP_PORT="${RDP_PORT:-3389}" + # An empty domain makes FreeRDP try Kerberos against the system default realm, + # which can stall the login for minutes. '.' means the local Windows account. + RDP_DOMAIN="${RDP_DOMAIN:-.}" # Resolve RemoteApp and full-desktop scale settings. waFixScale diff --git a/setup.sh b/setup.sh index e580392..0374376 100755 --- a/setup.sh +++ b/setup.sh @@ -594,6 +594,9 @@ function waLoadConfig() { source "$CONFIG_PATH" RDP_PORT="${RDP_PORT:-3389}" + # An empty domain makes FreeRDP try Kerberos against the system default realm, + # which can stall the login for minutes. '.' means the local Windows account. + RDP_DOMAIN="${RDP_DOMAIN:-.}" # Send password on the command line if a command to retrieve the password from is not given # Otherwise, set FREERDP_ASKPASS which freerdp will read the stdout of to use as the password