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.
This commit is contained in:
Roshan Binoj
2026-11-26 15:42:03 +05:30
parent 0b950dc4b8
commit 612198318e
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -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
+3
View File
@@ -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