目前,我正在使用以下命令启动FreeRDP会话:
$ sudo xfreerdp /v:farm.company.com /d:company.com \
/u:oshiro /p:oshiro_password /g:rds.company.com
工作良好。但是,我不希望这样的密码在命令行中。所以我尝试了没有密码的情况:
$ sudo xfreerdp /v:farm.company.com /d:company.com /u:oshiro /g:rds.company.com
我得到了一个连接失败消息,而不是某种对话框或提示要求我输入密码的消息。
是否有可能提示用户输入密码?
更新:省略/p
开关
没有/p
开关,我得到以下信息:
oshiro@ubuntu:~$ xfreerdp /v:farm.company.com /d:company.com -u:oshiro /g:rds.company.com
connected to rds.company.com:443
connected to rds.company.com:443
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
Could not open SAM file!
rts_connect error! Status Code: 401
HTTP/1.1 401 Unauthorized
Content-Type: text/plain
Server: Microsoft-IIS/7.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="rds.company.com"
X-Powered-By: ASP.NET
Date: Sun, 23 Mar 2014 10:40:30 GMT +12
Content-Length: 13
rts_connect error!
rpc_connect failed!
Error: protocol security negotiation or connection failure
sudo
呢?