bhyve FreeBSD 14.1 as guest and VNC

Hi...
could not find anything like that on the web... so maybe someone can direct me to some docs or give feedback. thanks..

I use FreeBSD 14.1 as host and have Windows10 Guest running inside bhyve for only one reason. Running a proprietary Software created with Xojo. I want to try to run this software with 'emulators/wine' inside a bhyve-virtualized FreeBSD.

I´m quite new (again) to FreeBSD... coming from mainly from OpenBSD and some Linux.
Basically I setup bhyve with vm(8) and the provided templates.

my FreeBSD.conf looks like this. the commented lines are just experiments to get VNC running.

Code:
loader="bhyveload"
#loader="uefi"
cpu="8"
memory="8G"
network0_type="virtio-net"
network0_switch="public"
disk0_type="nvme"
disk0_name="disk0.img"
uuid="7dd26346-9ee7-11ef-8016-4c38d51f1543"
network0_mac="58:9c:fc:00:83:a8"

xhci_mouse="yes"
#graphics="yes"
#graphics_port="5901"
#graphics_res="1600x900"
#bhyve_options="-vnc :0"
vnc_port="5902"
vnc_password="deadbeef"
 
okay. thanks... I thought that.. but missed some parameters in the config.
Just in case someone is searching, here my config. I had to reinstall FreeBSD after switching from

loader="bhyveload" to loader="uefi"

Code:
loader="uefi"
cpu="8"
memory="8G"
network0_type="virtio-net"
network0_switch="public"
disk0_type="nvme"
disk0_name="disk0.img"
uuid="7dd26346-9ee7-11ef-8016-4c38d51f1543"
network0_mac="58:9c:fc:00:83:a8"

graphics="yes"
xhci_mouse="yes"
graphics_listen="0.0.0.0"
graphics_port="5901"
graphics_res="1600x900"
vnc_password="deadbeef"
 
Back
Top