I cloned noVNC to my local vm:
$ git clone git://github.com/kanaka/noVNC
then I just ran what they said on their README.md
Use the launch script to start a mini-webserver and the WebSockets proxy (websockify). The --vnc option is used to specify the location of a running VNC server:
./utils/launch.sh --vnc localhost:5901
Point your browser to the cut-and-paste URL that is output by the launch script. Enter a password if the VNC server has one configured. Hit the Connect button and enjoy!
Which gets me here:
but when I hit connect, it says Server disconnected(code 1006) and in the server output in the terminal it says ignoring socket not ready.
Things I have tried:
sudo netstat -lnp --tcp --udp
to get the open ports and it shows the 6080 port as listening but it doesnt show 5901 as listening, which I am not sure if its even supposed to as 5091 would be the socket not the port..