VNC连接Too many security failures
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 fail
·
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秒
vncconfig -display :1 -set BlacklistTimeout=6000 -set BlacklistThreshold=10
设置后停止vnc服务,然后再次重启一次
2.可能是因为VNC关闭了,重新启动一下VNC服务。
service vncserver restart
3.重新设置一个vnc登陆密码。(把windows登陆清理),重启。
4.杀掉vncserver进程,重新启动,再次重新登录。
sudo vncserver -kill :1
sudo vncserver :1
更多推荐
所有评论(0)