码迷,mamicode.com
首页 > 其他好文 > 详细

xfreerdp的用法

时间:2017-08-18 20:06:50      阅读:442      评论:0      收藏:0      [点我收藏+]

标签:eve   cer   过程   ant   oca   nec   用户   comment   lame   

[root@localhost ~]# xfreerdp 192.168.1.107 -u username  --sec nla
connected to 192.168.1.107:3389
Password:
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.


[root@localhost ~]# xfreerdp 192.168.1.107 -u username -p 123 -sec-nla
connected to 192.168.1.107:3389
Password:
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.


[root@localhost ~]# xfreerdp 192.168.1.107 -u username  /cert-ignore
connected to 192.168.1.107:3389
Password:
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.
[root@localhost ~]# xfreerdp 192.168.1.107 -u username  --no-tls
connected to 192.168.1.107:3389
Password:
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.
If credentials are valid, the NTLMSSP implementation may be to blame.
[root@localhost ~]# xfreerdp 192.168.1.107 -u username  --no-nla
connected to 192.168.1.107:3389
Password:
SSL_read: Failure in SSL library (protocol error?)
Authentication failure, check credentials.


If credentials are valid, the NTLMSSP implementation may be to blame.
[root@localhost ~]# xfreerdp -u username  --no-nla 192.168.1.107
connected to 192.168.1.107:3389

username是远程主机192.168.1.107的用户名,从以上过程可以看出来,最后一次尝试成功了。具体原因下面这个帖子回答了:

https://github.com/FreeRDP/FreeRDP/issues/2128

julianjm commented on May 31, 2016 ? edited
I had the same problem. It turns out that the order of the arguments is important:

Works: xfreerdp -u username -d domain rd.example.com

Doesn‘t work: xfreerdp rd.example.com -u username -d domain

Edited: better late than never. I obviously meant xfreerdp insted of rdesktop :(

dkwami commented on Aug 10, 2016
I thought the same thing, but changing the order of my arguments actually helped.
I‘ve had the same problem going from ubuntu to windows server 2012 for a couple
of weeks. What finally worked for me was:
xfreerdp --sec nla --ignore-certificate -u username -d domain serverName
Thanks @julianjm!

xfreerdp的用法

标签:eve   cer   过程   ant   oca   nec   用户   comment   lame   

原文地址:http://www.cnblogs.com/daohan/p/7391166.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!