GhostBSD Window Size on VirtualBox

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
mushroom
Posts: 12
Joined: Wed Mar 03, 2021 5:23 am

GhostBSD Window Size on VirtualBox

Post by mushroom »

Hi all,
I'm having trouble getting GhostBSD's guest window to reboot into a set resolution (1400x1050). Each time I reboot, it reverts to 800x600.

Here's the situation:
Host system: Windows 10
Guest: GhostBSD with VB settings:
  • 4096 mb base RAM
  • 128 mb video RAM
  • Graphics Controller: VBoxSVGA (this actually results in an error message from VB, but leaving it at the default yields a max. resolution of 1024x768)
I've also installed (on the GhostBSD guest):
  • virtualbox-ose-additions-5.2.44_3
  • virtualbox-ose-kmod-5.2.44_4
Lastly, there's a typo in one of the base files inherited from FreeBSD — (/usr/local/bin/VBoxClient-all[/code)
This line:

Code: Select all

/usr/bin/VBoxClient/ --vmsvga-xll
Should be:

Code: Select all

/usr/local/bin/VBoxClient/ --vmsvga-x11

The procedure I used (taken from this thread on the VirtualBox forum):
  • run VBoxManage setextradata "GhostBSD" "GUI/LastGuestSizeHint"
  • started the GhostBSD guest
  • set the resolution to 1400x1050
  • shutdown the GhostBSD VM
    At this point, issuing the VBoxManage command:
    VBoxManage getextradata "GhostBSD" "GUI/LastGuestSizeHint"
    reports:
    Value: 1400, 1050
    I then boot up the GhostBSD VM. It does open a 1400x1050 window, but before the boot process is finished, it reverts to 800x600. Checking with VBoxManage again shows the resolution value has changed back:
    Value: 800, 600

    Can anyone suggest something I've missed?
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: GhostBSD Window Size on VirtualBox

Post by ericbsd »

Did you try http://download.us.ghostbsd.org/releases/amd64/latest/ we fixed a couple of problems with VirtualBox?
mushroom
Posts: 12
Joined: Wed Mar 03, 2021 5:23 am

Re: GhostBSD Window Size on VirtualBox

Post by mushroom »

ericbsd wrote: Fri Mar 05, 2021 8:17 am Did you try http://download.us.ghostbsd.org/releases/amd64/latest/ we fixed a couple of problems with VirtualBox?
Nope. I missed that. I'll check it out.
Thanks!
mushroom
Posts: 12
Joined: Wed Mar 03, 2021 5:23 am

Re: GhostBSD Window Size on VirtualBox

Post by mushroom »

ericbsd wrote: Fri Mar 05, 2021 8:17 am Did you try http://download.us.ghostbsd.org/releases/amd64/latest/ we fixed a couple of problems with VirtualBox?
Alas. No change.
Which Graphics Controller should I be using in Settings > Display? Not that I haven't tried them all, but nailing this down will at least reduce the variables I'm juggling.
mushroom
Posts: 12
Joined: Wed Mar 03, 2021 5:23 am

Re: GhostBSD Window Size on VirtualBox

Post by mushroom »

According to a person on the VB forum:
The current VMSVGA (Linux guests) and VBoxSVGA (Windows guests) came out with VirtualBox 6.0, so using either of these is not supported with VirtualBox Guest Additions < 6.0.
So that answers my last question. I'm wasting far too much time on this, so if I can't solve this soon, I may have to just roll back to VM 5.
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

VBoxSVGA for emulators/virtualbox-ose-additions 6.1.18

Post by grahamperrin »

mushroom wrote: Sat Mar 06, 2021 6:08 am … Which Graphics Controller should I be using in Settings > Display? …
With emulators/virtualbox-ose-additions 6.1.18: VBoxSVGA.

If the version of guest additions is significantly inferior to the version of VirtualBox on the host (i.e. 5.2.44_3 with 6.1.18 or 6.1.20): I don't know.

6.1.18 additions installed (from ports) … good for window size but (for me) not yet for mouse integration.
grahamperrin
Posts: 105
Joined: Sun Sep 04, 2016 6:06 am

Re: VBoxSVGA for emulators/virtualbox-ose-additions 6.1.18

Post by grahamperrin »

grahamperrin wrote: Sat Apr 24, 2021 10:31 pm … 6.1.18 additions installed (from ports) … good for window size but (for me) not yet for mouse integration.
I abandoned the installation above, which was based on 12-RELEASE.

Expect things to be fine with 13-RELEASE 👍
Post Reply