10
3
I have installed Win7 and Ubuntu both on this machine.
When I try to connect to my vncserver running on CentOS from my home computer behind a firewall, I get an error:
VNC conenction failed: vncserver too many security failures
... even when loging with right credentials (I reset passwd
on CentOS).
Is this caused by attempting to log in as root? I think it is also important to note I have to login to remote Centos through port 6050 - no other port works for me.
Do I have to do something with other ports? I see that vncserver is listening on 5901, 5902 if another added - and I consider connection is established because from time to time (long time) the passwd prompt appears... right?
Even if prompt appeared and I put correct password I get an authentication failure.
How to disable this lockout for testing purposes?
1This did work. It is possible to use vncconfig command right away again, like
vncconfig -display :5 -set BlackListTimeout=600 -set BlackListThresholds=10
, to enable the protection again after resetting it. – Zrin – 2015-12-03T21:30:45.033Thanks, It works for me (ubuntu 1404), I do not need to kill and restart vncserver again and again. – bronze man – 2019-11-09T01:46:22.730