… change from VMSVGA to either VBoxVGA or VBoxSVGA …
Where guest additions are installed:
- VBoxSVGA is proper.
… change from VMSVGA to either VBoxVGA or VBoxSVGA …
Thanks a lot. The thing is, when you create a new Virtualbox FreeBSD 64-bit vm, it's configured with VMSVGA by default.Where guest additions are installed:
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254266#c7>
- VBoxSVGA is proper.
Thanks, tested and working. So my ~/.xinitrc looks like this now:Did some tests and this is actually not correct. The -x test fails because it doesn't receive a full path to the executable, apparently it did at some point because this was directly copied from a working system. Anyway, this should work better:
I am assuming every WM or DE gets started from an executable in /usr/local/bin, but I believe that's a fairly safe assumption.Code:[ -n "$1" ] && [ -x "/usr/local/bin/$1" ] && exec "/usr/local/bin/$1"
VBoxClient --display
[ -n "$1" ] && [ -x "/usr/local/bin/$1" ] && exec "/usr/local/bin/$1"
exec startxfce4
echo "exec startfluxbox" > ~/.xinitrc
… FreeBSD … VMSVGA by default.
… Guest auto-resize …
So they don't use desktop managers at all, only command line?Maybe an assumption, by developers of VirtualBox, that most users of FreeBSD will not use X.org (will not require guest additions), and so on.
With which version of guest additions?
FreeBSD isn't supported by the developers of VirtualBox at all:Maybe an assumption, by developers of VirtualBox, that most users of FreeBSD will not use X.org (will not require guest additions), and so on.
How do I get the version of guest additions?
pkg info -x virtualbox-ose-additions
… some VMs fell into a fairy tale sleep …
Apparently FreeBSD is supported as guest on Vmware Workstation:So what about Vmware Workstation, is that better?
HereMaybe an assumption, by developers of VirtualBox, that most users of FreeBSD will not use X.org (will not require guest additions), and so on.
With which version of guest additions?
$ pkg info -x virtualbox-ose-additions
virtualbox-ose-additions-legacy-5.2.44_3
This is default Virtualbox setup for any client not only for FreeBSD. I guess VB developers assumed that user will read manual.Thanks a lot. The thing is, when you create a new Virtualbox FreeBSD 64-bit vm, it's configured with VMSVGA by default.
Why not to install the latest version (6.22)?virtualbox-ose-additions-legacy-5.2.44_3
… you can change VMSVGA to VBoxSVGA and have 3D acceleration. …
How do I install version 6.22?I gather that FreeBSD developers are particularly vicious: I guess they provide each of FreeBSD potential users who want to run FBSD in VM with unique version of virtualbox-ose-additions for each user so each time are new unexpected problems.
Seriously: there are only few hardware variations provided by VirtualBox so if for some reason FBSD in VM will encounter problems with video setup it means that user made a mistake because all virtual hardware is really conservative.
This is default Virtualbox setup for any client not only for FreeBSD. I guess VB developers assumed that user will read manual.
Yes you can change VMSVGA to VBoxSVGA and have 3D acceleration.
Why not to install the latest version (6.22)?
remove previous version and runHow do I install version 6.22?
this is not a bug, this is by design setup.This seems to be a bug in the GUI. If you OK the combination then review the settings, you'll find that enabling 3D acceleration disables VBoxSVGA.
Instead:
- disable 3D acceleration
- switch to VBoxSVGA
- OK the settings.
Yeah but it's weird that apparently allows you to select both and after you hit OK you come back and only one is enabled. It should disable it in front of you. I hope I explain myself...this is not a bug, this is by design setup.
It will always revert to VMSVGA if 3D acceleration is enabled.
Setting is modified from the main screen of VirtualBox Manager:
1) open settings -> Display -> check 3D acceleration
2) do NOT change VMSVGA.
3) press OK
4) in the main screen of VirtualBox Manager select:
Display -> click on Graphic Controller: VMSVGA from pulldown menu select VBoxSVGA
The same way you can change Video Memory size
Remamber: any changes with setup will revert the selection, so you will have to change VMSVGA again from to VBoxSVGA
This is not a big deal as once setup, Settings are rarely modified
& 'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' clonehd FreeBSD-13.0-RELEASE-amd64.vdi FreeBSD-13.0-RELEASE-amd64.vmdk --format VMDK -variant standard
vmware-guestd_enable="yes"
vboxguest_enable="no"
vboxservice_enable="no"
FreeBSD with VboxSVGA and 3D.Tried the same installation on Vmware Workstation and is even worse: guest does not auto-resize. Even the program tells you FreeBSD is not supported:
VMware Workstation
Perl script-based VMware Workstation Tools installation for FreeBSD has been discontinued. FreeBSD systems are supported only through the open-vm-tools packages directly available from FreeBSD package repositories.
Did this:
1- Clone the virtual disk from Virtualbox to Vmware Workstation (no snapshots):
Code:& 'C:\Program Files\Oracle\VirtualBox\VBoxManage.exe' clonehd FreeBSD-13.0-RELEASE-amd64.vdi FreeBSD-13.0-RELEASE-amd64.vmdk --format VMDK -variant standard
2- Create a new vm on Vmware selecting Other --> FreeBSD 12 64bit, and choose as disk "FreeBSD-13.0-RELEASE-amd64.vmdk".
3- Launch the virtual machine, install "open-vm-tools", and edit "/etc/rc.conf":
Code:vmware-guestd_enable="yes" vboxguest_enable="no" vboxservice_enable="no"
Even with that after reboot, XFCE4 and Fluxbox don't auto-resize. Also you can't enable 3D acceleration.
Guides:
I can't set VBoxSVGA and 3D at the same time. Maybe it's host related, since I'm on Windows 10. Can you try with that host if you can keep VBoxSVGA with 3D?FreeBSD with VboxSVGA and 3D.
There are only two instances when resizing does not work:
use of VMSVGA
or
VboxSVGA without virtualbox-ose-additions installed. In this case however, resizing is still possible by creating monitor definition.
Unfortunately I don't have windows installed, but this is how selection looks like (see picture). I would think that windows would has better support than FreeBSD or linux (my host is linux)I can't set VBoxSVGA and 3D at the same time. Maybe it's host related, since I'm on Windows 10. Can you try with that host if you can keep VBoxSVGA with 3D?
Change the settings from the Settings wheel icon and hit OK.Unfortunately I don't have windows installed, but this is how selection looks like (see picture). I would think that windows would has better support than FreeBSD or linux (my host is linux)
yes, of course. This is standard option. However, it is difficult to imagine that linux or FreeBSD version of VirtualBox Manager has more options than Windows.Change the settings from the Settings wheel icon and hit OK.
Yeah but it's weird that apparently allows you to select both
this is not a bug as VB Manager is telling you exactly what is going to happen (hover mouse over icon warning "Invalid settings detected")That's what I mean by the bug.