Solved bhyve / vnc

I am attempting to setup Alpine Linux with a GUI, but am not succeeding. I have bhyve setup on my host which is a minimal FreeBSD OS - I have 2 jails on the host, 1 for routing, and 1 for workstation (X11, I will move to wayland eventually, but that is a separate issue). Eventually, once I have the GUI working in Alpine, I will vnc to it from my workstation. I can ssh to the host system, so this should be a trivial matter once I sort out VNC.

I am using vm-bhyve to configure and provision the VM and this is my configuration:

loader="grub"
guest="linux"

cpu=1

memory=512M
network0_type="virtio-net"
network0_switch="public"
disk0_type="virtio-blk"
disk0_name="disk0.img"
grub_install0="linux /boot/vmlinuz-virt initrd=/boot/initramfs-virt alpine_dev=cdrom:iso9660 modules=loop,squashfs,sd-mod,usb-storage,sr-mod"
grub_install1="initrd /boot/initramfs-virt"
grub_run0="linux /boot/vmlinuz-lts root=/dev/vda3 modules=ext4"
grub_run1="initrd /boot/initramfs-lts"

network0_mac="58:9c:fc:0f:de:05"
uuid="57af1ad5-b625-11ef-a6da-b8ca3a7a30ac"

# https://www.cyberciti.biz/faq/how-to-install-linux-vm-on-freebsd-using-bhyve-and-zfs/
# -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait \
graphics="yes"
graphics_port="5900"
graphics_listen="0.0.0.0"
graphics_res="1024x768"
graphics_wait="auto"
xhci_mouse="yes"

I do not see port 5900 opening up whatsoever, additional, vm list does not show vnc in the output. Am I missing something?
 
Back
Top