Re: VNC Viewer on Windows: Unable to access VMs GUI

From: Corvin Köhne <corvink_at_FreeBSD.org>
Date: Wed, 14 Feb 2024 12:59:45 UTC
On Wed, 2024-02-14 at 15:18 +0300, Odhiambo Washington wrote:
> Hellos,
> 
> When I was still on FreeBSD 13.2-RELEASE I was able to access some
> Linux VMs GUI using VNC Viewer on my Windows PC.
> After I upgraded to 14-RELEASE, this changed: I can connect to the
> VMs, but the GUI desktop is frozen. The mouse cursor isn't moving at
> all and the Desktop doesn't load like before.
> I start all my VMs the same way:
> 
> bhyve -c N -m NG -w -H \
> -s 0,hostbridge \
> -s 4,virtio-blk,/usr/local/bhyve-vms/DISTRONAME/distroname.img \
> -s 5,virtio-net,tapN \
> -s 8,hda,play=/dev/dsp,rec=/dev/dsp \
> -s 29,fbuf,tcp=0.0.0.0:59XX,w=1680,h=1050 \
> -s 30,xhci,tablet \
> -s 31,lpc -l com1,stdio \
> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
> distroname

Could you please try to add the `-A` flag to your cmdline?

> 
> I would then connect to a.b.c.d:59xx using VNC Viewer and I'd get the
> Linux/Windows Desktop.
> Not anymore!
> 
> Is there something I need to do to fix the issue?
> 
> 
> -- 
> 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]


-- 
Kind regards,
Corvin