Saturday 19 October 2024 Working mouse in VNC with vm-bhyve on FreeBSD ============================================= On FrreeBSD vm-bhyve is a great tool to create, install and manage virtual machines. vm-bhyve is designed to work with ZFS, which makes it very easy to create new vm's, and make ZFS snapshots of those. For a project I created a Ubuntu virtual machine with a graphical desktop. Mouse problem with VNC ---------------------- On FreeBSD the mouse is sometimes troublesome in VNC. It behaves irratic, and some areas of the VM's display are unreachable. Go full screen and use an xhci mouse ------------------------------------ On my Thinkpad X270, I now have the following configuration in .templates/ubuntu.conf: loader="uefi" cpu=1 memory=4G graphics="yes" graphics_res="1920x1080" xhci_mouse="yes" network0_type="virtio-net" network0_switch="public" disk0_type="ahci-hd" disk0_name="disk0.img" Note: the resolution "1920x1080" in this config is exactly the same resolution of the display of the laptop. With this setup, the mouse appears to work fine. Happy vm-ing! Last edited: $Date: 2024/10/19 08:27:11 $