Hi, I successfully installed FreeBsd 8.0 as Guest in a VirtualBox 2.2.4 Win XP host. It works perfect, but I can't configure Xorg resolution above 800x600.
In /etc/X11/xorg.conf I added a mode for 1024x768, but when I startx, in XFCE's configuration I can only choose 800x600 or 640x480.
I know there isn't a VBoxGuestAdditions for FreeBSD, but can I use at least Vesa at 1024x768?
Thanks in advance.
[FreeBSD] Xorg screen resolution
-
- Posts: 5
- Joined: 14. Apr 2009, 02:11
- Primary OS: MS Windows XP
- VBox Version: PUEL
- Guest OSses: linux, freebsd, windows2003
-
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: PUEL
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: [FreeBSD] Xorg screen resolution
Yes you can.
In /etc/X11/xorg.conf or wherever you have it
In
Section "Monitor"
Add the following two lines:
To be even nicer you can define your own vesa-mode exactly as you want it.
From your host run:
VBoxManage setextradata your_machines_name CustomVideoMode1 <width>x<height>x<BPP>
my example:
VBoxManage setextradata Freebsd CustomVideoMode1 1144x696x16
Then in xorg.conf under the correct bit-depth (16)
add your mode:
Also at the top of the "Screen" section add
It should be possible to replace 16 with 24 but I have not managed to do that yet.
In /etc/X11/xorg.conf or wherever you have it
In
Section "Monitor"
Add the following two lines:
Code: Select all
HorizSync 31-80
VertRefresh 30-100
From your host run:
VBoxManage setextradata your_machines_name CustomVideoMode1 <width>x<height>x<BPP>
my example:
VBoxManage setextradata Freebsd CustomVideoMode1 1144x696x16
Then in xorg.conf under the correct bit-depth (16)
add your mode:
Code: Select all
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1144x696"
EndSubSection
Code: Select all
DefaultDepth 16
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
- Posts: 5
- Joined: 14. Apr 2009, 02:11
- Primary OS: MS Windows XP
- VBox Version: PUEL
- Guest OSses: linux, freebsd, windows2003
Re: [FreeBSD] Xorg screen resolution
Thanks baf! it worked!.
-
- Posts: 1
- Joined: 18. Jul 2009, 16:35
- Primary OS: MS Windows XP
- VBox Version: PUEL
- Guest OSses: FreeBSD, Windows XP
Re: [FreeBSD] Xorg screen resolution
Thank you very much. You reply cured my week-long headache with the resolution configuration on virtual FreeBSD 7.2.
-
- Posts: 4
- Joined: 30. Jun 2011, 07:38
- Primary OS: Ubuntu other
- VBox Version: OSE other
- Guest OSses: WindowsXP
Re: [FreeBSD] Xorg screen resolution
What a GREAT set of instructions! This worked like a charm. Thank you so much!