You are not logged in.

#1 2010-02-07 17:33:08

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

[Solved] Set 1280x800 resolution in VirtualBox

Hi,

I'm setting up an Arch Linux i686 Virtual Machine with VirtualBox on my Arch Linux x86_64 host system.

The problem is that I'm stuck with a 1024x768 resolution instead of the native 1280x800 resolution of my laptop.
Of course, I have already installed the VirtualBox Guest Additions as suggested in the wiki and they are loaded at each boot.
The install is pretty basic: wmii, urxvt, vim and nothing else.

I really don't know what to do...how can I set the right resolution on the Arch guest OS?
Any help is much appreciated! smile

Last edited by rent0n (2010-02-09 12:12:52)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#2 2010-02-09 12:09:54

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Solved] Set 1280x800 resolution in VirtualBox

Solved!
I created /etc/X11/xorg.conf with Xorg -configure and then added the Modes "1280x800" in the last Display subsection of the Screen section:

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

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

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

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

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    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
                Modes "1280x800"
    EndSubSection
EndSection

Last edited by rent0n (2010-02-10 13:37:34)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

Board footer

Powered by FluxBB