Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from serverfault.com Jun 15 '12 at 17:11

This question came from our site for professional system and network administrators.

1 Answer 1

"VNC conenction failed: vncserver too many security failures"

Means that someone tried to log in with incorrect credentials too frequently within a specified period of time. What that number and time is vary depending on what VNC Server you're using.

Someone's probably running a script trying to log into anything it can find listening on the standard VNC ports, and you'll need to find out what ip this is coming from and block it. Either way, this is really off-topic here - ask again over at SuperUser.

share|improve this answer
    
I know it already. this might be one of 100 causes. how to find it and how to block it? and wait a second, it cannot be "someone" but my ip, because it works for particular ip. how could be otherwise: than I could receive this error if anybody was trying to login, and I wolud have no way to login. –  AB_ Jun 15 '12 at 17:17
    
another question: how to login as root? is it possible? when logging you are asked only about IP and password, so how to login as root to see root session? –  AB_ Jun 17 '12 at 22:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.