FreeRDP: Protocol Security Negotiation Failure
I cloned the latest repository and built the source locally as mentioned here
I have done that successfully. Now I’m trying to connect to Hyper-V VM
My command is
xfreerdp -nego -sec-nla /u:<domain>\<user> /p:<pass> /v:10.44.96.117 /vmconnect:b510551d-1aed-4946-8f7b-9a5e0bcbc9be
Output I get is
[14:29:42:194] [16478:16479] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[14:29:42:194] [16478:16479] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x2000C]
[14:29:42:194] [16478:16479] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
[14:29:42:194] [16478:16479] [ERROR][com.freerdp.client.x11] - Authentication only, exit status 1
I’m sure username and password are correct.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 40 (11 by maintainers)
Please re-open the bug
Still broken in:
freerdp-nightly_2.0.0+0~20190305024829.637~1.gbp435872_amd64.debCan this ticket be re-opened? or is there a different one:
The connection says: ERRCONNECT_PASSWORD_CERTAINLY_EXPIRED Which is incorrect. a) my passwords works just fine with when logging into windows. b) logging in as domain administrator still the same problem, and that password never expires.
I’m unable to login into the server, it looks like after recent reboot after MS updates.
Can anybody tell me what the issue might be? (This is also affecting remmina)
aptitude show remmina Package: remmina
Version: 1.2.0-rcgit.27+dfsg-3~bpo9+1
I have the same problem as @lszyba1. Adding /sec:rdp to the beginning of the command line helped.
Ok.
Same problem to connect to windows server 2012 R2: nla doesn’t works here.With remmina either.
You have to force rdp. But command flags order is quite important. /sec-rdp doesn’t work either. So I can using this order:
xfreerdp +clipboard /log-level:TRACE /sec:rdp /v:xxxx /d:Ixxxx /u:xxxxx /p:xxxxx
user and password should escape special characters.
Screen options are affected by order too: xfreerdp +clipboard /log-level:TRACE /sec:rdp /v:xxxx /d:Ixxxx /u:xxxxx /p:xxxxx /f doesn’t work. but: xfreerdp +clipboard /f /log-level:TRACE /sec:rdp /v:xxxx /d:Ixxxx /u:xxxxx /p:xxxxx works perfectly.
From your output it looks like protocol security negotiation failed. You can try with the following command: xfreerdp +nego +sec-rdp +sec-tls +sec-nla /u:<domain><user> /p:<pass> /v:10.44.96.117 /vmconnect:b510551d-1aed-4946-8f7b-9a5e0bcbc9be or xfreerdp +nego +sec-rdp +sec-tls +sec-nla /d:<domain> /u:<user> /p:<pass> /v:10.44.96.117 /vmconnect:b510551d-1aed-4946-8f7b-9a5e0bcbc9be
Use +nego, -nego will disable protocol security negotiation