D
Deleted member 65953
Guest
I am using FreeBSD inside VirtualBox (I downloaded "FreeBSD-12.2-RELEASE-amd64.vhd.xz"). I increased the size of the VirtualBox disk in order to accomodate X.Org, then I installed X.Org using
Then I shut down FreeBSD.
In order to make X use the vboxvideo driver, I had to change a display setting through the VirtualBox GUI on the host: I changed the "Graphics Controller" (Left click on the VM list > Settings > Display > Graphics Controller) from "VMSVGA" to "VBoxSVGA" (I ignore "Invalid settings detected" warning that VirtualBox gives about this change).
After configuring all the above, I booted FreeBSD, logged-in, and started X (
After starting X,
I have also attached Xorg.0.log and Xorg.1.log to this post.
The host is Ubuntu 20.04 running VirtualBox 6.1.16.
I am new to FreeBSD, and I hope there is a simple solution to this problem. Thank you in advance.
pkg install xorg
. After that, I installed VirtualBox Guest Additions: pkg install virtualbox-ose-additions
. I followed the instructions in the handbook and added these lines to /etc/rc.conf:
Code:
vboxguest_enable="YES"
vboxservice_enable="YES"
vboxservice_flags="--disable-timesync"
Then I shut down FreeBSD.
In order to make X use the vboxvideo driver, I had to change a display setting through the VirtualBox GUI on the host: I changed the "Graphics Controller" (Left click on the VM list > Settings > Display > Graphics Controller) from "VMSVGA" to "VBoxSVGA" (I ignore "Invalid settings detected" warning that VirtualBox gives about this change).
After configuring all the above, I booted FreeBSD, logged-in, and started X (
startx
). However, the screen size is only 800x600 even though View > Auto-size Guest Display is enabled. That is the problem. The screen is not resizing. What did I do wrong?After starting X,
xrandr
outputs:
Code:
Screen 0: minimum 64 x 64, current 800 x 600, maximum 32766 x 32766
VGA-0 connected primary 800x600+0+0 0mm x 0mm
1366x660 60.00 +
2560x1600 60.00
2560x1440 60.00
2048x1536 60.00
1920x1600 60.00
1920x1080 60.00
1600x1200 60.00
1680x1050 60.00
1400x1050 60.00
1280x1024 60.00
1024x768 60.00
800x600 60.00*
640x480 60.00
I have also attached Xorg.0.log and Xorg.1.log to this post.
The host is Ubuntu 20.04 running VirtualBox 6.1.16.
I am new to FreeBSD, and I hope there is a simple solution to this problem. Thank you in advance.
Attachments
Last edited by a moderator: