VNC连接出现错误:Too many security failures
使用VNC连接出现错误
连接建立失败!Unable to connect to the server. Error was: Connection Failed. The server rejected the connection for the following reason: Too many security failures[(安全故障太多)]
解决方法
1. 密码被人暴力破解,触发了VNC的安全保护机制,重置一下即可
vncconfig -display :1 -set BlacklistTimeout=0 -set BlacklistThreshold=1000000
- display :指定桌面号
- BlacklistTimeout : 设置黑名单的过期时间
- BlacklistThreshold : 允许的失败次数
重新登录之后记得还原黑名单设置,默认时间为600秒