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

From: Odhiambo Washington <odhiambo_at_gmail.com>
Date: Tue, 12 Mar 2024 10:38:31 UTC
Even with this, my mouse pointer doesn't work:

# Linux Guest
bhyve -S -c sockets=2,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 3,ahci-cd,/usr/local/bhyve-vms/.iso/debian-12.5.0-amd64-DVD-1.iso \
-s 4,virtio-blk,/usr/local/bhyve-vms/Debian/debian.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 \
debian



On Wed, Feb 14, 2024 at 3:47 PM Mario Marietto <marietto2008@gmail.com>
wrote:

> -s 3,fbuf,tcp=0.0.0.0:59 <http://0.0.0.0:5915>*15*,w=1600,h=950 \
> -s 10,virtio-net,tap*15* \
> *vm15* < /dev/null & sleep 2 && vncviewer *0:15*
>
> On Wed, Feb 14, 2024 at 1:19 PM Odhiambo Washington <odhiambo@gmail.com>
> 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
>>
>> 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]
>>
>
>
> --
> Mario.
>


-- 
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]