我已将服务器上的默认 RDP 端口从 3389 更改为 1687。
这是我尝试连接的命令:
xfreerdp /u:administrator /v:177.8.130.250 /p:1687 /size:1280x700
但它返回此错误:
[01:11:14:846] [23825:23826] [INFO][com.freerdp.client.common.cmdline] - loading channel cliprdr
[01:11:14:019] [23825:23826] [ERROR][com.freerdp.core.transport] - BIO_should_retry returned a system error 32: Broken pipe
[01:11:14:019] [23825:23826] [ERROR][com.freerdp.core.nego] - Protocol Security Negotiation Failure
[01:11:14:019] [23825:23826] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_SECURITY_NEGO_CONNECT_FAILED [0x2000C]
[01:11:14:019] [23825:23826] [ERROR][com.freerdp.core.connection] - Error: protocol security negotiation or connection failure
[01:11:14:019] [23825:23826] [ERROR][com.freerdp.client.x11] - Freerdp connect error exit status 1
答案1
不是 的用户xfreerdp
,但是医生说,这/p:
是密码选项而不是端口选项。要连接到不同的端口,请使用/port:<port>
或/v:<host>:<port>