GhostBSD 22.06.18 on ESXi 7.0

Questions about the installation of FreeBSD
Post Reply
unmesh59
Posts: 2
Joined: Wed Feb 22, 2023 1:24 am

GhostBSD 22.06.18 on ESXi 7.0

Post by unmesh59 »

Using the ISO, I've been able to create and boot GhostBSD into the GUI but the mouse pointer won't move and only the right mouse click button works, not the left one. With right click, I can open a terminal window and the keyboard works too. I've tried all the different video drivers with the same behavior.

Any suggestions for how to get this working?

Thanks
wb7odyfred
Posts: 206
Joined: Sat Nov 12, 2016 5:44 pm

Try 23.02.02 Re: GhostBSD 22.06.18 on ESXi 7.0

Post by wb7odyfred »

First thank you for giving this GhostBSD a test drive. Glad you are here. Try the latest version https://ghostbsd.org/download
Made some improvements in the Graphics Card driver.
Second some USB mouse tricks, remove and plug back in the USB cord for the mouse?
dmesg | tail -40
usbconfig list
less /var/log/Xorg.0.log

pciconf -lv

You do know that you can burn the .ISO file into a USB Flash drive and boot the live image from USB flash drive stick with out installation.
Thinking about other solutions for now.
Look at the contents of these 2 files /boot/loader.conf /etc/rc.conf

What does using ESXi 7.0 gain in your PC System for running GhostBSD? What Graphics Card are you using?
https://t.me/ghostbsd https://t.me/ghostbsd_gamers Visit us on Telegram if you wish too.
unmesh59
Posts: 2
Joined: Wed Feb 22, 2023 1:24 am

Re: GhostBSD 22.06.18 on ESXi 7.0

Post by unmesh59 »

Tried the latest image; same behavior.

In the VM, it is not a real mouse but rather a virtual mouse in their console so no opportunity to unplug and replug.

dmesg says mouse is a PS/2 at psm0 and is GIANT-LOCKED. Two finger scrolling works in terminal (as does right-click mentioned in the OP)

I'm running on ESXi since it is a learning environment for me; I have several OSes as VMs on my server.
wb7odyfred
Posts: 206
Joined: Sat Nov 12, 2016 5:44 pm

Moused setup on ESXi 7.0

Post by wb7odyfred »

kldstat List kernel modules to see what the mouse driver is being loaded into memory and being used.
service moused restart

Wonder if there is some interplay between ESXi virtual usage of the mosue and the GhostBSD using the mouse. Your question is specific to the left mouse button.
https://henvic.dev/posts/homelab/ ESXi and FreeBSD on an Intel NUC 10.
Note: while you can passthrough your video card control to your guest operating system, you can’t passthrough your mouse and keyboard. If you want your virtual machine to control them, you’ll have to passthrough an entire USB controller. Unfortunately, you won’t find a slot for an extra PCI USB controller in such a small computer.
https://vincerants.com/freebsd-on-esxi- ... -hardware/
USB Virtual Mouse (ums)
https://www.freebsd.org/cgi/man.cgi?query=ums&sektion=4

The vmmouse driver, or virtual machine mouse driver, will not work by default due to missing the USB Mouse driver. To load the USB Mouse driver, add the following to your /boot/loader.conf file and reboot your FreeBSD VM.

ums_load="YES"

https://youtu.be/cszTSrcOMec?t=235 Robonuggie talking about moused_enable="YES" in the file /etc/rc.conf
Post Reply