mirror of
https://github.com/winapps-org/winapps.git
synced 2026-11-29 10:55:45 -05:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user