Solved question about bhyve vm with novnc in freebsd14.3 ?

Dear all:
i have installed freebsd14.3 bhyve in my host , and create linux vm with vncviewer . i can use vncviwer connect linux vm . now i want to use chromium to connect my linux vm . what i need to do ? thanks .
1. i have saw some documents about novnc . the bhyve can create linux vm vnc server in 0.0.0.0:5900 . how to use web browser access this linux vm? do we have some way to configure bhyve support websock , and transfer vnc server from tcp to websock ? thanks.
 
when install novnc in my host . we will find all tools in below folder :
/usr/local/libexec/novnc/
but when you run
./utils/novnc_proxy --vnc localhost:5901
this tools will download websockify ,then configure vnc websock. that is not so good. what is the easy way to install some app for websock ? thanks.
 
noVNC follows the standard VNC protocol, but unlike other VNC clients it does require WebSockets support. Many servers include support (e.g. x11vnc/libvncserver, QEMU, and MobileVNC), but for the others you need to use a WebSockets to TCP socket proxy. noVNC has a sister project websockify that provides a simple such proxy.
bhyve(8)'s VNC doesn't support WebSockets.
 
thanks for all reply, if i want to use web browser access my linux vm through bhyve vnc. what is your best sulotion. thanks.
 
Back
Top