Why does our VNC connection no longer work?

Posted July 31, 2018 2.1k views
Getting StartedUbuntu 16.04

I set up our new other Digital Ocean account up for VNC and had it working but now we can no longer connect using VNC. Simple SSH connecting to the droplet is fine. If it matters my boss and I were accessing the droplet from two different cities.

The error we are getting is “VNC connection failed: Too many authentication failures”.

Is this related to us not setting up a SSH key when we set up the droplet?

I find it odd it was working then suddenly stopped. After I set it up for the Gnome Desktop I had had 4-5 successful logins and I had thought the problem was solved.

1 comment
  • I used vncserver -kill :1 and reloaded the server with vncserver and VNC access was restored. Doesn’t explain why it went down in the first place though.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello friend!

VNC will protect itself against login attacks and prevent login after too many failed attempts. There are people out there who are scanning IP ranges for open VNC ports and then trying to brute force log in to them in order to gain control over your server. I found some advice on that here:

Kind Regards,