Thanks for your help.
My understanding was that x11vnc was WebSockets-aware. But assuming it's not, I ran another test that was completely local - no tunnels, nothing fancy. This is the simplest configuration that I could make and it still failed. Here's what I did:
I start my VNC server with the command:
x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbport 5900 -shared
I verified that things are working by connecting with a VNC client from another computer on the network. Everything works - no firewall issues, no problems
I then installed noVNC on another computer on the network. I did this with apt install, so I presumably have the latest noVNC, WebSockify and a little web server all packaged up nicely. I go to
http://localhost:6080/vnc.html?host=192.168.1.122&port=5900and the noVNC interface comes up. However, if I try to connect, it just says "Connecting..." and never moves on.
In the x11vnc console it says:
04/08/2020 10:20:32 Got connection from client 192.168.1.131
04/08/2020 10:20:32 other clients:
04/08/2020 10:20:32 Got 'ws' WebSockets handshake
04/08/2020 10:20:32 - webSocketsHandshake: using base64 encoding
04/08/2020 10:20:32 - WebSockets client version hybi-13
04/08/2020 10:20:32 incr accepted_client=1 for
192.168.1.131:49052 sock=14
04/08/2020 10:20:33 copy_tiles: allocating first_line at size 41
04/08/2020 10:20:41 created selwin: 0x2a0002c
04/08/2020 10:20:41 called initialize_xfixes()
04/08/2020 10:20:48 selection_send: no send: uninitialized clients
04/08/2020 10:20:48 selection_send: no send: uninitialized clients
Not sure I understand what's going on. WebSockets seem to be used. My x11vnc seems to be fine since other clients successfully connect. I'm running the simplest test possible with noVNC.
Any ideas on what to do?