Date: Tue, 12 Mar 2024 16:43:53 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Mario Marietto <marietto2008@gmail.com> Cc: FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: VNC Viewer on Windows: Unable to access VMs GUI Message-ID: <CAAdA2WPBiNS4gLrn2JpTo1aatJwRO4nqpo-5R%2BE7AWzEk7A5-g@mail.gmail.com> In-Reply-To: <CA%2B1FSijpmsAoDXdsdSH8F7mW5Y4HLPWcmjJ7TJZ2yOfgsbDweQ@mail.gmail.com> References: <CAAdA2WNpP0eRbgXeZsyWa3H=3VEbWWP-X-oR6TmA%2BWPWZMpFBg@mail.gmail.com> <CA%2B1FSih2U2h27=feu79MjagGomS8su6fHfB33fE%2Br1dORaU%2Bvw@mail.gmail.com> <CAAdA2WOsw0swFr5C28siwcfjE68Vd-99gdh04b4-p-kzPmvdqQ@mail.gmail.com> <CA%2B1FSiinFDHAzrTB1mT%2B7qZ-7cH6hr4ekRJnaCt6m7piFinVyQ@mail.gmail.com> <CAAdA2WOwkC3fh5jpNAQ9GbuJjstOfJe7jqKLZ-naOY3VWtYy5A@mail.gmail.com> <CA%2B1FSijYM5OoABy2CLc0ftbk4Nz%2BAcU%2Bj-2rYoaWqVhXTtxdiw@mail.gmail.com> <CA%2B1FSijpmsAoDXdsdSH8F7mW5Y4HLPWcmjJ7TJZ2yOfgsbDweQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I run 14-RELEASE and would not like to go to -STABLE.
On Tue, Mar 12, 2024 at 3:00 PM Mario Marietto <marietto2008@gmail.com>
wrote:
> Try the procedure explained below to have the latest bhyve version well
> patched. Lets create these script files :
>
> 1) build_branch_releng-140 :
>
> set -e
> set -u
>
> readonly script_path="$(cd "$(dirname "${0}")" && pwd)"
> readonly branch="${1?Missing <branch>$(usage)}"
> shift
> echo $branch
>
> cd /usr/corvin-src-releng-140
> git fetch --all --prune
> git checkout -f "${branch}"
>
> ${script_path}/build_releng_140 "$@"
>
>
> 2) build_releng_140 :
>
>
> #!/bin/sh
> usage() {
> cat >&2 << EOF
> Usage: ${0} [--no-bhf] [--reboot] [--verbose] [--without-kernel]
> Builds bhyve
> EOF
> exit 1
> }
>
> build_module() {
> local _path
> _path="${1}"
>
> # change to module path
> cd "${_path}"
>
> # clean module
> if test "${clean}" = "true"; then
> make clean > "${cmd_redirect}" 2>&1
> fi
>
> # build module
> make > "${cmd_redirect}" 2>&1
>
> # install module
> make install > "${cmd_redirect}"
> }
>
> build() {
> build_module "${src_dir}/include"
> build_module "${src_dir}/lib/libvmmapi"
> build_module "${src_dir}/sys/modules/vmm"
>
> # build kernel
> if test "${with_kernel}" = "true"; then
> cd "${src_dir}"
> local kern_opts
> kern_opts="-j$(sysctl -n hw.ncpu)"
> if test "${with_bhf}" = "true"; then
> kern_opts="${kern_opts} KERNCONF=BHF"
> fi
> if ! test "${clean}" = "true"; then
> kern_opts="${kern_opts} NO_CLEAN=YES"
> fi
> make kernel ${kern_opts} > "${cmd_redirect}" 2>&1
> fi
>
> build_module "${src_dir}/usr.sbin/bhyve"
> build_module "${src_dir}/usr.sbin/bhyvectl"
> build_module "${src_dir}/usr.sbin/bhyveload"
>
> if test "${with_reboot}" = "true"; then
> reboot
> fi
> }
>
> set -e
> set -u
>
> while test $# -gt 0; do
> case "${1-}" in
> --clean)
> clean="true"
> shift
> ;;
> --reboot)
> with_reboot="true"
> shift
> ;;
> --src-dir=*)
> src_dir="${1#*=}"
> shift
> ;;
> --verbose)
> cmd_redirect="/dev/stdout"
> shift
> ;;
> --without-bhf)
> with_bhf="false"
> shift
> ;;
> --without-kernel)
> with_kernel="false"
> shift
> ;;
> *)
> usage
> ;;
> esac
> done
>
> readonly clean="${clean-"false"}"
> readonly cmd_redirect="${cmd_redirect-"/dev/null"}"
> readonly src_dir="${src_dir-"/usr/corvin-src-releng-140"}"
> echo $src_dir
> readonly with_bhf="${with_bhf-"true"}"
> readonly with_kernel="${with_kernel-"true"}"
> readonly with_reboot="${with_reboot-"false"}"
> build
>
>
> 3) compile-bhyve-releng-140 :
>
>
> cd /usr/
> mv src src-old
> git clone https://github.com/beckhoff/freebsd-src
> /usr/corvin-src-releng-140
> cd /usr/corvin-src-releng-140
> /build_branch_releng-140 origin/phab/corvink/14.0/nvidia-wip --without-bhf
> --verbose
>
>
> and run : ./compile-bhyve-releng-140 (on FreeBSD 14.0)
>
> On Tue, Mar 12, 2024 at 12:53 PM Mario Marietto <marietto2008@gmail.com>
> wrote:
>
>> Maybe because some patches haven't been upstreamed to 14.0 branch.
>>
>> On Tue, Mar 12, 2024 at 12:49 PM Odhiambo Washington <odhiambo@gmail.com>
>> wrote:
>>
>>> Actually, I am trying to figure out why they do not work after upgrade
>>> from FreeBSD 13 to 14. They used to work before.
>>> History:
>>> 1. My FreeBSD host lives in a Data Centre several kilometers from me. I
>>> only access it via SSH.
>>> 2. My FreeBSD host does not have a keyboard, mouse, or screen attached
>>> to it.
>>> 3. I use VNC Viewer to connect to the VMs like HOST_IP:PORT
>>>
>>>
>>> On Tue, Mar 12, 2024 at 2:36 PM Mario Marietto <marietto2008@gmail.com>
>>> wrote:
>>>
>>>> Hello my friend Odhiambo,
>>>>
>>>> you can try to pass your keyboard and mouse to a specific USB to pci
>>>> adapter,using an USB splitter to attach both the input devices. Actually
>>>> I'm using the one integrated on my nvidia gpu,RTX 2080 ti,that's :
>>>>
>>>> 02:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce
>>>> RTX 2080 Ti]
>>>> 02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio
>>>> Controller
>>>> *02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host
>>>> Controller*
>>>> 02:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI
>>>> Controller
>>>>
>>>> For sure you will add the PCI address of the board between your bhyve
>>>> parameters,for example in my case :
>>>>
>>>> -s 8:2,passthru,2/0/2 \
>>>>
>>>> A single hardware solution would be a pcie riser which splits the pcie
>>>> port.
>>>>
>>>>
>>>> I've asked for a good USB controller some time ago :
>>>>
>>>>
>>>>
>>>> https://forums.freebsd.org/threads/im-looking-for-a-good-usb-controller-3-0-4-ports-self-powered-compatible-with-freebsd.83323/
>>>>
>>>>
>>>> If it’s only mouse and keyboard you could use bhyves virtio-input
>>>> emulation.
>>>>
>>>>
>>>> Corvin included virtio-input support in his github.
>>>>
>>>>
>>>> He committed virtio-input to 13.2 and 14.0 upstream.
>>>>
>>>>
>>>> From “man bhyve”
>>>>
>>>>
>>>>
>>>> https://www.freebsd.org/cgi/man.cgi?query=bhyve&apropos=0&sektion=8&manpath=FreeBSD+14.0-CURRENT&arch=default&format=html
>>>> ):
>>>>
>>>>
>>>> Virtio input device backends:
>>>>
>>>>
>>>>
>>>> */dev/input/eventX*
>>>>
>>>> Send input events of */dev/input/eventX* to
>>>> guest
>>>>
>>>> by VirtIO Input Interface.
>>>>
>>>> On Tue, Mar 12, 2024 at 11:39 AM Odhiambo Washington <
>>>> odhiambo@gmail.com> wrote:
>>>>
>>>>>
>>>>> 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
>>>>> <marietto2008@gmailcom>> 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]
>>>>>
>>>>
>>>>
>>>> --
>>>> 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]
>>>
>>
>>
>> --
>> Mario.
>>
>
>
> --
> 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]
[-- Attachment #2 --]
<div dir="ltr">I run 14-RELEASE and would not like to go to -STABLE.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 3:00 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Try the procedure explained below to have the latest bhyve version well patched. Lets create these script files :<br>
<br>
1) build_branch_releng-140 :<br>
<br>
set -e<br>
set -u<br>
<br>
readonly script_path="$(cd "$(dirname "${0}")" && pwd)"<br>
readonly branch="${1?Missing <branch>$(usage)}"<br>
shift<br>
echo $branch<br>
<br>
cd /usr/corvin-src-releng-140<br>
git fetch --all --prune<br>
git checkout -f "${branch}"<br>
<br>
${script_path}/build_releng_140 "$@"<br>
<br>
<br>
2) build_releng_140 :<br>
<br>
<br>
#!/bin/sh<br>
usage() {<br>
cat >&2 << EOF<br>
Usage: ${0} [--no-bhf] [--reboot] [--verbose] [--without-kernel]<br>
Builds bhyve<br>
EOF<br>
exit 1<br>
}<br>
<br>
build_module() {<br>
local _path<br>
_path="${1}"<br>
<br>
# change to module path<br>
cd "${_path}"<br>
<br>
# clean module<br>
if test "${clean}" = "true"; then<br>
make clean > "${cmd_redirect}" 2>&1<br>
fi<br>
<br>
# build module<br>
make > "${cmd_redirect}" 2>&1<br>
<br>
# install module<br>
make install > "${cmd_redirect}"<br>
}<br>
<br>
build() {<br>
build_module "${src_dir}/include"<br>
build_module "${src_dir}/lib/libvmmapi"<br>
build_module "${src_dir}/sys/modules/vmm"<br>
<br>
# build kernel<br>
if test "${with_kernel}" = "true"; then<br>
cd "${src_dir}"<br>
local kern_opts<br>
kern_opts="-j$(sysctl -n hw.ncpu)"<br>
if test "${with_bhf}" = "true"; then<br>
kern_opts="${kern_opts} KERNCONF=BHF"<br>
fi<br>
if ! test "${clean}" = "true"; then<br>
kern_opts="${kern_opts} NO_CLEAN=YES"<br>
fi<br>
make kernel ${kern_opts} > "${cmd_redirect}" 2>&1<br>
fi<br>
<br>
build_module "${src_dir}/usr.sbin/bhyve"<br>
build_module "${src_dir}/usr.sbin/bhyvectl"<br>
build_module "${src_dir}/usr.sbin/bhyveload"<br>
<br>
if test "${with_reboot}" = "true"; then<br>
reboot<br>
fi<br>
}<br>
<br>
set -e<br>
set -u<br>
<br>
while test $# -gt 0; do<br>
case "${1-}" in<br>
--clean)<br>
clean="true"<br>
shift<br>
;;<br>
--reboot)<br>
with_reboot="true"<br>
shift<br>
;;<br>
--src-dir=*)<br>
src_dir="${1#*=}"<br>
shift<br>
;;<br>
--verbose)<br>
cmd_redirect="/dev/stdout"<br>
shift<br>
;;<br>
--without-bhf)<br>
with_bhf="false"<br>
shift<br>
;;<br>
--without-kernel)<br>
with_kernel="false"<br>
shift<br>
;;<br>
*)<br>
usage<br>
;;<br>
esac<br>
done<br>
<br>
readonly clean="${clean-"false"}"<br>
readonly cmd_redirect="${cmd_redirect-"/dev/null"}"<br>
readonly src_dir="${src_dir-"/usr/corvin-src-releng-140"}"<br>
echo $src_dir<br>
readonly with_bhf="${with_bhf-"true"}"<br>
readonly with_kernel="${with_kernel-"true"}"<br>
readonly with_reboot="${with_reboot-"false"}"<br>
build<br>
<br>
<br>
3) compile-bhyve-releng-140 :<br>
<br>
<br>
cd /usr/<br>
mv src src-old<br>
git clone <a href="https://github.com/beckhoff/freebsd-src" rel="noreferrer" target="_blank">https://github.com/beckhoff/freebsd-src</a> /usr/corvin-src-releng-140<br>
cd /usr/corvin-src-releng-140<br>
/build_branch_releng-140 origin/phab/corvink/14.0/nvidia-wip --without-bhf --verbose<br>
<br>
<br>
and run : ./compile-bhyve-releng-140 (on FreeBSD 14.0)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 12:53 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Maybe because some patches haven't been upstreamed to 14.0 branch.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 12:49 PM Odhiambo Washington <<a href="mailto:odhiambo@gmail.com" target="_blank">odhiambo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Actually, I am trying to figure out why they do not work after upgrade from FreeBSD 13 to 14. They used to work before.</div><div>History:</div><div>1. My FreeBSD host lives in a Data Centre several kilometers from me. I only access it via SSH.</div><div>2. My FreeBSD host does not have a keyboard, mouse, or screen attached to it.</div><div>3. I use VNC Viewer to connect to the VMs like HOST_IP:PORT</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 2:36 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello my friend Odhiambo,</div><div><br></div><div>you can try to pass your keyboard and mouse to a specific USB to pci adapter,using an USB splitter to attach both the input devices. Actually I'm using the one integrated on my nvidia gpu,RTX 2080 ti,that's :<br></div><div><br></div><div>02:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 2080 Ti]<br>02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Controller<br><b>02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller</b><br>02:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI Controller</div><div><div><br></div><div>For sure you will add the PCI address of the board between your bhyve parameters,for example in my case :</div><div><br></div></div><div>-s 8:2,passthru,2/0/2 \</div><div><br></div><p class="MsoNormal">A single hardware solution would be a pcie riser which splits the pcie port.</p>
<p class="MsoNormal"><br></p><p class="MsoNormal">I've asked for a good USB controller some time ago :<br></p>
<p class="MsoNormal"><br></p><p class="MsoNormal"><a href="https://forums.freebsd.org/threads/im-looking-for-a-good-usb-controller-3-0-4-ports-self-powered-compatible-with-freebsd.83323/" target="_blank">https://forums.freebsd.org/threads/im-looking-for-a-good-usb-controller-3-0-4-ports-self-powered-compatible-with-freebsd.83323/</a></p>
<p class="MsoNormal"><br></p><p class="MsoNormal"></p><p class="MsoNormal"></p><p class="MsoNormal"></p>
<p class="MsoNormal">If it’s only mouse and keyboard you could use bhyves virtio-input emulation.</p><p class="MsoNormal"><br></p>
<p class="MsoNormal"></p>
<p class="MsoNormal">Corvin included virtio-input support in his github.</p>
<p class="MsoNormal"><br></p>
<p class="MsoNormal">He committed virtio-input to 13.2 and 14.0 upstream.</p>
<p class="MsoNormal"><br></p><p class="MsoNormal"></p>
<p class="MsoNormal">From “man bhyve” <br></p><p class="MsoNormal"><br></p><p class="MsoNormal"><a href="https://www.freebsd.org/cgi/man.cgi?query=bhyve&apropos=0&sektion=8&manpath=FreeBSD+14.0-CURRENT&arch=default&format=html" target="_blank">https://www.freebsd.org/cgi/man.cgi?query=bhyve&apropos=0&sektion=8&manpath=FreeBSD+14.0-CURRENT&arch=default&format=html</a>):</p>
<p class="MsoNormal" style="background:white"><span style="font-size:12pt;font-family:"Courier New";color:black"><br></span></p><p class="MsoNormal" style="background:white"><span style="font-size:12pt;font-family:"Courier New";color:black"> Virtio input device backends:</span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12pt;font-family:"Courier New";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12pt;font-family:"Courier New";color:black">
</span><i><span style="font-size:12pt;font-family:"Courier New";color:green">/dev/input/eventX</span></i><span style="font-size:12pt;font-family:"Courier New";color:black"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12pt;font-family:"Courier New";color:black"> Send input events of
</span><i><span style="font-size:12pt;font-family:"Courier New";color:green">/dev/input/eventX</span></i><span style="font-size:12pt;font-family:"Courier New";color:black"> to guest<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:12pt;font-family:"Courier New";color:black"> by VirtIO Input Interface.</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 12, 2024 at 11:39 AM Odhiambo Washington <<a href="mailto:odhiambo@gmail.com" target="_blank">odhiambo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div>Even with this, my mouse pointer doesn't work:</div><div><br></div><div dir="ltr"># Linux Guest<br>bhyve -S -c sockets=2,cores=2,threads=2 -m 4G -w -H -A \<br>-s 0,hostbridge \<br>-s 3,ahci-cd,/usr/local/bhyve-vms/.iso/debian-12.5.0-amd64-DVD-1.iso \<br>-s 4,virtio-blk,/usr/local/bhyve-vms/Debian/debian.img \<br>-s 5,virtio-net,tap4 \<br>-s 8,hda,play=/dev/dsp,rec=/dev/dsp \<br>-s 29,fbuf,tcp=<a href="http://0.0.0.0:5905" target="_blank">0.0.0.0:5905</a>,w=1024,h=768 \<br>-s 30,xhci,tablet \<br>-s 31,lpc -l com1,stdio \<br>-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \<br>debian<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 14, 2024 at 3:47 PM Mario Marietto <<a href="mailto:marietto2008@gmailcom" target="_blank">marietto2008@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span style="font-family:monospace">-s 3,fbuf,tcp=<a href="http://0.0.0.0:5915" target="_blank">0.0.0.0:59</a><b>15</b>,w=1600,h=950 \</span></div><div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">-s 10,virtio-net,tap<b>15</b> \</span></span></div><span style="font-family:monospace"><b>vm15</b> < /dev/null & sleep 2 && vncviewer <b>0:15</b></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 14, 2024 at 1:19 PM Odhiambo Washington <<a href="mailto:odhiambo@gmail.com" target="_blank">odhiambo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hellos,<div><br></div><div>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.</div><div>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.</div><div>I start all my VMs the same way:</div><div><br></div><div>bhyve -c N -m NG -w -H \<br>-s 0,hostbridge \<br>-s 4,virtio-blk,/usr/local/bhyve-vms/DISTRONAME/distroname.img \<br>-s 5,virtio-net,tapN \<br>-s 8,hda,play=/dev/dsp,rec=/dev/dsp \<br>-s 29,fbuf,tcp=0.0.0.0:59XX,w=1680,h=1050 \<br>-s 30,xhci,tablet \<br>-s 31,lpc -l com1,stdio \<br>-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \<br>distroname</div><div><br></div><div>I would then connect to a.b.c.d:59xx using VNC Viewer and I'd get the Linux/Windows Desktop.</div><div>Not anymore!</div><div><br clear="all"><div>Is there something I need to do to fix the issue?</div><div><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223</div><div><span style="color:rgb(34,34,34)"> In </span><span style="color:rgb(34,34,34)">an Internet failure case, the #1 suspect is a constant: DNS.</span><br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">", </span><span style="font-size:12.8px">egrep -v '^$|^.*#' </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:"Lucida Console",Consolas,"Courier New",monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223</div><div><span style="color:rgb(34,34,34)"> In </span><span style="color:rgb(34,34,34)">an Internet failure case, the #1 suspect is a constant: DNS.</span><br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">", </span><span style="font-size:12.8px">egrep -v '^$|^.*#' </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:"Lucida Console",Consolas,"Courier New",monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223</div><div><span style="color:rgb(34,34,34)"> In </span><span style="color:rgb(34,34,34)">an Internet failure case, the #1 suspect is a constant: DNS.</span><br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">", </span><span style="font-size:12.8px">egrep -v '^$|^.*#' </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:"Lucida Console",Consolas,"Courier New",monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223</div><div><span style="color:rgb(34,34,34)"> In </span><span style="color:rgb(34,34,34)">an Internet failure case, the #1 suspect is a constant: DNS.</span><br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">", </span><span style="font-size:12.8px">egrep -v '^$|^.*#' </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:"Lucida Console",Consolas,"Courier New",monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WPBiNS4gLrn2JpTo1aatJwRO4nqpo-5R%2BE7AWzEk7A5-g>
