resolution 1024x768 PCBSD guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mfaridi
Posts: 4
Joined: 23. Oct 2010, 09:17
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: PCBSD

resolution 1024x768 PCBSD guest

Post by mfaridi »

I install last virtualbox on Windows XP SP3 and install PC-BSD 8.1 with VirtualBOX .everything is good and PC-BSD work good and great , but I have big problem with resolution and and resolution is 800x600 and I can not change it 1024x768 or higher , I change Xorg.conf and put on it 1024x768 . but still I can not change it . and it is 800x600 , so I do not know what I must do , I see some document and I install virtualbox guest addintion from ports in PC-BSD , , but still I can not change resolution and use high resolution .
Do I need reconfigure xorg after install virtualbox-ose-additions and make new xorg.conf ?
.
My mainboard has onboard VGA and it is Intell and I use 128MB of RAM for VGA and enable 3D Acceleration in VirtualBOX for PC-BSD
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution 1024x768 PCBSD guest

Post by Perryg »

Since you installed the guest additions you probably need to remove any mode commands in the xorg.conf file. This usually makes VirtualBox refuse to change the resolution. Then use the mouse click and drag or the hot keys to change the screen in and out of full screen.
mfaridi
Posts: 4
Joined: 23. Oct 2010, 09:17
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: PCBSD

Re: resolution 1024x768 PCBSD guest

Post by mfaridi »

Perryg wrote:Since you installed the guest additions you probably need to remove any mode commands in the xorg.conf file. This usually makes VirtualBox refuse to change the resolution. Then use the mouse click and drag or the hot keys to change the screen in and out of full screen.
Thanks
Do I understand true ?
I must remove last xorg and reconfigure Xorg again and make new Xorg.conf
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution 1024x768 PCBSD guest

Post by Perryg »

Actually under normal use you should be able to comment out any line in the xorg that defines a screen resolution (mode) or default mode setting.
If VirtualBox see that you have defined these it will not load the auto-resize portion.

If you have problems post your xorg.conf and I will see where the problem might be.
mfaridi
Posts: 4
Joined: 23. Oct 2010, 09:17
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: PCBSD

Re: resolution 1024x768 PCBSD guest

Post by mfaridi »

Perryg wrote:Actually under normal use you should be able to comment out any line in the xorg that defines a screen resolution (mode) or default mode setting.
If VirtualBox see that you have defined these it will not load the auto-resize portion.

If you have problems post your xorg.conf and I will see where the problem might be.
Thanks ,
why this forums does not has thanks option , I will test your guide and put my xorg.conf here
mfaridi
Posts: 4
Joined: 23. Oct 2010, 09:17
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: PCBSD

Re: resolution 1024x768 PCBSD guest

Post by mfaridi »

mfaridi wrote:
Perryg wrote:Actually under normal use you should be able to comment out any line in the xorg that defines a screen resolution (mode) or default mode setting.
If VirtualBox see that you have defined these it will not load the auto-resize portion.

If you have problems post your xorg.conf and I will see where the problem might be.
Thanks ,
why this forums does not has thanks option , I will test your guide and put my xorg.conf here
this is my new Xorg.conf , make by Xorg -configure , but still I can not change resolution to 1024x768

Code: Select all

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/lib/X11/fonts/misc/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
    FontPath     "/usr/local/lib/X11/fonts/OTF"
    FontPath     "/usr/local/lib/X11/fonts/Type1/"
    FontPath     "/usr/local/lib/X11/fonts/100dpi/"
    FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
    Load  "extmod"
    Load  "record"
    Load  "dbe"
    Load  "glx"
    Load  "dri"
    Load  "dri2"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/sysmouse"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
    Identifier  "Card0"
    Driver      "vboxvideo"
    VendorName  "InnoTek Systemberatung GmbH"
    BoardName   "VirtualBox Graphics Adapter"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

what I must do right now , I install virtualbox-addition to and put

Code: Select all

vboxguest_enable="YES"
in rc.conf
file
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution 1024x768 PCBSD guest

Post by Perryg »

Try pressing the host+g toggle to turn on auto-resize and then host+f toggle to go in and out of full screen.
What happens when you go to full screen? Does it show full screen with black areas around the guest?

Hint: host=right Ctrl key unless you have changed the default.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: resolution 1024x768 PCBSD guest

Post by Perryg »

Sorry I just looked at http://www.virtualbox.org/wiki/Guest_OSes
PC-BSD 8.1 Works, no Additions available Requires VT-x or AMD-V hardware virtualization support.
You will need to set this using modes as you don't have the ability to install guest additions unless PC-BSD supports it and even then they would need to support this as we would have no way to know what they have done.
Post Reply