Re: Accessing a VMs GUI

From: Corvin Köhne <corvink_at_FreeBSD.org>
Date: Mon, 27 May 2024 06:21:48 UTC
On Fri, 2024-05-24 at 17:08 +0300, Odhiambo Washington wrote:
> FreeBSD 14-RELEASE.
> 
> I am completely unable to get my mouse working on ALL my bhyve VMs.
> This used to work before I upgraded to FreeBSD 14 RELEASE.
> 
> How I start my VM:
> 
> # Linux Guest
> /usr/sbin/bhyve -A -D -H -P -S -u -w -c 8 -m 8G \
> -s 0,hostbridge \
> -s 4,virtio-blk,/usr/local/bhyve-vms/Ubuntu/ubuntu.img \
> -s 5,virtio-net,tap4 \
> -s 8,hda,play=/dev/dsp,rec=/dev/dsp \
> -s 29,fbuf,tcp=0.0.0.0:5905,w=1024,h=768 \
> -s 30,xhci,tablet \
> -s 31,lpc -l com1,stdio \
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
> ubuntu
> 
> 
> Now I wonder what happened. No amount of changing w=,h= can help. I
> have even tried 800x600.
> Even during the installation of a new VM, I have to rely completely
> on the keyboard.
> 
> My VMs are on a remote server so I use VNCViewer to access them via
> public_ip:XXXX.
> 
> Is this a problem with bhyve or my VNCViewer guys?
> 
> I really need help with this.
> 
> 
> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
>  In an Internet failure case, the #1 suspect is a constant: DNS.
> "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
> [How to ask smart
> questions: http://www.catb.org/~esr/faqs/smart-questions.html]

Looks like a recent fix for XHCI [1] is missing in releng/14.0. It will
be included in 14.1 which is close to be released.


[1]
https://github.com/freebsd/freebsd-src/commit/0c243cd4a3671bf728f33378ac593c08d8367bc2


-- 
Kind regards,
Corvin