Vnc server 1006

Hi everyone,
i have a problem, i’m trying to create an environment opennebula with this guide, http://docs.opennebula.org/4.14/design_and_installation/quick_starts/qs_ubuntu_kvm.html1.
I doing step by step and I was stuck.
When I want to connect to my machine via VNC I get an error : Failed to connect to server (code: 1006)

Help me solve this problem. Thanks!

most probably, you’ve set VNC to SSL enabled and use a selfsigned cert ?

If so, this is your solution: Help:VNC Failed to connect to server (code: 1006)

go to: https://<SUNSTONE>:29876 

(replace <SUNSTONE> with ur IP or url) 

if you use a selfsigned cert, you should get a browser warning, accept the cert, try again.
Or disable SSL for VNC in oned.conf