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 VNC server set up on a Mint machine and need to have 1 or 2 users access a program on the server. It's all working except that the port is getting NUMEROUS attempts to login to VNC from all over the world, clearly not my 1 or 2 users. After some number of failed attempts, VNC just shuts down and refuses all access attempts. I then have to stop and restart the service. The bogus logins usually cause VNC to lock up within a half hour of restarting. I don't want to have to manually do this everytime a valid user tries to login and I already put a couple of kill/start instructions in crontab but having crontab doing this every hour seems wrong. Is there a way to have VNC lockout bogus login attempts without locking everyone out? Is there a way to whitelist specific IP addresses?

share|improve this question

1 Answer 1

You could try changing the VNC server port to something different to prevent most of the bogus logins.

Additionally, use the firewall on the VNC server to whitelist only certain IP from connecting to the VNC ports

share|improve this answer

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.