Skip to content

RDP

Two engines, two logs; fields are described in RDP sessions.

The connection log (tab strip toggle, or tab context menu → Copy connection log) prints each stage. Every network stage after TCP has 30 s; then <stage>: no answer from the server in 30 s.

Stage line What happens
RDP <user>@<host>:<port>, desktop W×H (…), display scale … Settings of this connection; <login asked> in place of the user when the session has no login.
DNS: resolving <host> → DNS: <host> → <ip> (<n> ms) Name lookup.
TCP: connecting to <ip:port> → TCP: connected … Each address in turn.
X.224: negotiating the security protocol (offered: TLS, CredSSP/NLA) Security negotiation.
TLS: <version> <cipher> (<n> ms) TLS handshake.
TLS: certificate chain trusted by macOS roots, name matches (Windows: Windows roots) or TLS: certificate not trusted by macOS roots (<reason>); the handshake signature was verified, the pin decides The pin (accepted fingerprint) decides in both cases.
Auth: using the password saved in Keychain (rdp-password:…), Auth: asking for the password (<reason>) or Auth: asking for the login and password (the session has no login) Where the password comes from. Without a login in the session the form asks for both; Auth: login <user> typed at the prompt follows.
NLA: CredSSP (NTLM) authentication, then licensing and capabilities Login and the rest of the connection.
Connected in <n> ms: desktop W×H, … Done.
Message Cause Check and fix
DNS: cannot resolve <host>: … No DNS answer. dscacheutil -q host -a name <host>.
TCP: <ip:port>: no answer in 15 s (filtered port or host down) Packets dropped. Port 3389 open in Windows Firewall and on the path; Connection test → Identify service on port 3389.
TCP: <ip:port>: Connection refused (os error 61) … Remote Desktop is off or listens on another port. Get-ItemProperty 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' PortNumber on the server.
X.224 negotiation: … The security negotiation failed; IronRDP’s reason follows the colon. KryoDesk offers only TLS and CredSSP (NLA), so a server that allows only Standard RDP Security refuses it. Identify service shows negotiation failed: … or standard RDP security only. On the server: Require use of specific security layer for remote (RDP) connections = Negotiate or SSL.
TLS: CERTIFICATE CHANGED for <host:port>: accepted <old> (<subject>), now <new>. A renewed certificate, or someone between you and the server. The fingerprint differs from the one in rdp_known_hosts.json. Windows renews its self-signed RDP certificate. Compare the SHA-256 in the dialog with the certificate on the server (store Remote Desktop of the computer account) before Accept and save.
certificate of <host:port> not accepted; disconnected before sending credentials Disconnect in the certificate dialog. Nothing was sent. —
Auth: asking for the password (a password is saved, but the app is locked) The vault is locked. Unlock KryoDesk; the form can also take the password.
no login typed at the prompt: the session has none saved The login field of the form was left empty. Type the login, or set it in the session (Specify username).
connection sequence: … NLA (CredSSP over NTLM) or a later step failed. The text after the colon is IronRDP’s chain of errors: wrong user, password or domain; an account that may not log on remotely (not in Remote Desktop Users); NTLM refused by policy. Windows Event Viewer → Security, events 4625 (failed logon, with the reason code). The built-in engine has no Kerberos: a domain that refuses NTLM needs the FreeRDP engine.
… (server redirection / load balancing is not supported yet) / Server asked to redirect to another host (load balancing); not supported yet An RD Connection Broker sent the client to another session host. Connect to the session host directly, or use the FreeRDP engine.
server ended the session: <reason> Windows ended the session (logoff, another connection took it over, idle limit). The reason text is Windows’.
server sent an unsupported desktop size W×H (1..=8192) — A smaller Resolution.

After a disconnect the tab offers Reconnect, Reconnect, type the password and Close tab.

macOS only; on Windows the session stops with the FreeRDP engine is available on macOS only ….

The tab is a console: the exact command (password as ********), FreeRDP’s own log, then FreeRDP exited with code <n> (<meaning>) after <t> s.

Message Fix
sdl3-freerdp not found (looked in /opt/homebrew/bin/sdl3-freerdp, /usr/local/bin/sdl3-freerdp). Install FreeRDP 3: brew install freerdp … brew install freerdp, or Install next to Engine in the session.
no certificate pinned for <host:port> in …/rdp_known_hosts.json: connect once with the built-in engine (it asks and pins), or set Certificate to "FreeRDP asks" Certificate is Only the built-in engine’s pin and the built-in engine never connected to this host.
FreeRDP ended by signal <n> after <t> s. Stopped from the tab (Ctrl+C, closing it) or killed.

Exit codes most often seen (the console prints the meaning of every code it knows):

Code Meaning as printed Usual cause
131 CONN_FAILED: connection failed See FreeRDP’s log lines above it.
132 AUTH_FAILURE: authentication failed Wrong credentials.
133 NEGO_FAILURE: security negotiation failed (TLS / NLA / RDP security) The server allows only Standard RDP Security; KryoDesk always passes /sec:rdp:off.
134 LOGON_FAILURE: logon failed (wrong user or password) —
135 ACCOUNT_LOCKED_OUT: account locked out —
139, 140 DNS_ERROR, DNS_NAME_NOT_FOUND Host name.
141 CONNECT_FAILED: TCP connection failed Port, firewall.
143 TLS_CONNECT_FAILED: TLS failed (certificate refused or handshake error) With Only the built-in engine’s pin: the certificate is not the pinned one (renewed?). Connect with the built-in engine to see and accept the new one.
145 CONNECT_CANCELLED: cancelled (e.g. a dialog was closed) FreeRDP’s certificate or login dialog was closed.
147 CONNECT_TRANSPORT_FAILED: transport failed (gateway or proxy) RD Gateway address, its certificate, or the gateway login.
148, 149, 152 CONNECT_PASSWORD_EXPIRED, CONNECT_PASSWORD_MUST_CHANGE, CONNECT_PASSWORD_CERTAINLY_EXPIRED Change the password on Windows first.
150 CONNECT_KDC_UNREACHABLE: Kerberos KDC unreachable Kerberos needs the domain controller reachable from this Mac (VPN).
155 CONNECT_ACCESS_DENIED: access denied —
158 CONNECT_LOGON_TYPE_NOT_GRANTED: logon type not granted The account lacks Allow log on through Remote Desktop Services.
161 CONNECT_HYBRID_REQUIRED_BY_SERVER: the server requires NLA —
9 USER_PRIVILEGES: the user may not log on remotely Not in Remote Desktop Users.
16–26 LICENSE_*: Remote Desktop licensing error (see the log above) RDS licensing on the server.

Codes 0 (SUCCESS), 2 (LOGOFF) and 11 (DISCONNECT_BY_USER) are printed as normal endings.

Scroll or pinch to zoom · drag to move · double-click to zoom · Esc or click outside to close