There seems to be some quirk in one of the (default, and recommended) graphics controller provided by Virtualbox 7.0 that causes XFCE to core dump and not load any of the GUI panels necessary for a usable environment.
Ensure Virtualbox Guest Additions is installed on the FreeBSD guest after you have performed the basic operating system installation:-
After that, install LightDM and XFCE, along with unregistered dependencies which won't install automatically:-
Update the file /etc/rc.conf as necessary using your favorite text editor.
Add in the following lines:-
Shut down the virtual machine
Open the VirtualBox Manager screen on your host machine, right-click on your FreeBSD VM and click Settings.
Under display, ensure the Graphics Controller is set to VBoxSVGA.
Note: the Settings pane will say that these settings are invalid, and when installing the Virtualbox OSE Additions on the FreeBSD guest it will suggest different settings to those set. They may work well for other situations and environments, but this is the combination that seems to work best for XFCE.
Ensure Virtualbox Guest Additions is installed on the FreeBSD guest after you have performed the basic operating system installation:-
sudo pkg install virtualbox-ose-additions
After that, install LightDM and XFCE, along with unregistered dependencies which won't install automatically:-
sudo pkg install xfce lightdm xorg lightdm-gtk-greeter dbus
Update the file /etc/rc.conf as necessary using your favorite text editor.
Add in the following lines:-
Code:
dbus_enable="YES"
lightdm_enable="YES"
vboxguest_enable="YES"
vboxservice_enable="YES"
Shut down the virtual machine
poweroff
Open the VirtualBox Manager screen on your host machine, right-click on your FreeBSD VM and click Settings.
Under display, ensure the Graphics Controller is set to VBoxSVGA.
Note: the Settings pane will say that these settings are invalid, and when installing the Virtualbox OSE Additions on the FreeBSD guest it will suggest different settings to those set. They may work well for other situations and environments, but this is the combination that seems to work best for XFCE.