You are not logged in.

#1 2010-02-09 22:30:51

Nixxx
Member
From: Poland
Registered: 2009-08-01
Posts: 85

[SOLVED]Xorg+Virtualbox

Hi all. I've launched latest Arch on my Windows 7 using Virtualbox. I've installed KDE and used hal method (without xorg.conf) to autodetect all the components. Evertyhing works fine, KDE lunches as on my second machine where Archlinux is native OS, but I'm unable to set the resolution higher then 800x600. Shoud I use a video driver or create xorg.conf? Please help. Thnx

Last edited by Nixxx (2010-02-10 20:37:40)

Offline

#2 2010-02-09 22:35:11

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: [SOLVED]Xorg+Virtualbox

you should install the virtualbox guest additions to get networking/video drivers/input drivers - you'll probably need the kernel26-headers along with base-devel and possibly some other packages first

EDIT: there are some guest additions packages in the community repo (pacman -Ss virtualbox), you'll have to add the modules to rc.conf

Last edited by thestinger (2010-02-09 22:36:57)

Offline

#3 2010-02-10 11:42:32

Nixxx
Member
From: Poland
Registered: 2009-08-01
Posts: 85

Re: [SOLVED]Xorg+Virtualbox

thnx, I did all you've suggested but still the same. X -xonfigure generates default xorg but resolution remains the same. I've used hwd, it sets desired resolutin but freezes mouse and keyboard.

Offline

#4 2010-02-10 13:19:25

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED]Xorg+Virtualbox

Nixxx wrote:

thnx, I did all you've suggested but still the same. X -xonfigure generates default xorg but resolution remains the same. I've used hwd, it sets desired resolutin but freezes mouse and keyboard.

Nixxx,

I run Vbox inside ARCH and one of the virtual machines is itself Arch. Its not exactly what you have, but inside the
virtual machine it should be the same environment.

Having 'xf86-input-evdev' installed, 'hal' in the DAEMONS line of '/etc/rc.conf', my xorg.conf is as follows:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
EndSection

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

Section "Device"
        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     24
        EndSubSection
EndSection

No problems whatsoever with resolution, in my case 1900x1200.

Hope it somehow helps.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2010-02-10 13:34:04

Nixxx
Member
From: Poland
Registered: 2009-08-01
Posts: 85

Re: [SOLVED]Xorg+Virtualbox

@Mektub - Thnx, i think this is an xorg proper configuration issue. The Arch lunches in 1024x768 mode when i set GRUB parameter "vga=792" but when xorg starts it goes back to 800x600. Hal is launched I'm not sure about xf86-input-evdev - but the screen freezes only when using hwd ( i will chcek after i finish my job smile Have you generated your xorg automatically by X -configure or/and edited it manually?

Offline

#6 2010-02-10 13:36:50

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

Re: [SOLVED]Xorg+Virtualbox

Check this thread too, I was having the same issue: http://bbs.archlinux.org/viewtopic.php?id=90497


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

#7 2010-02-10 13:52:02

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED]Xorg+Virtualbox

Nixxx wrote:

Have you generated your xorg automatically by X -configure or/and edited it manually?

I can't remember, it was over a year ago. I did go thru the forum a lot, so most probably I got it from some other
post. I doubt I would have found by myself that the device driver is called vboxvideo.

Also I am using virtualbox_bin, not virtualbox-ose, but I don't know if such differences exist when you install it
on a Window$ host.

The guest additions installation are a MUST.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#8 2010-02-10 16:28:24

Nixxx
Member
From: Poland
Registered: 2009-08-01
Posts: 85

Re: [SOLVED]Xorg+Virtualbox

@rentOn - I've tried - doesn't work
@Mektub - The things I've done on Arch:
1. pacman -S virtualbox-additions
2. DAEMONS=(syslog-ng network netfs crond alsa rc.vboxadd)
3. $ pacman -S kernel26-headers gcc make
$ mount and install VirtualBox guest additions
$ X -configure
$ change the mouse driver from "mouse" to "vboxmouse" in /root/xorg.conf.new
$ mv /root/xorg.conf.new /etc/X11/xorg.conf
$ add hal to DAEMONS in rc.conf

Maybe I've missed something?

Last edited by Nixxx (2010-02-10 16:28:39)

Offline

#9 2010-02-10 20:37:23

Nixxx
Member
From: Poland
Registered: 2009-08-01
Posts: 85

Re: [SOLVED]Xorg+Virtualbox

Ok, I've solved the problem - my mistake. I thought that i can install "pacman -S virtualbox-additions" instead of "sh /media/cdrom/VBoxLinuxAdditions-x86.run". So I've reached 1024x768, after reboot even without creating xorg.conf. Later i will try to reach my native resolution 1280x1024 but for me the problem is solved. Thnx for help

Offline

#10 2010-02-10 20:41:59

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED]Xorg+Virtualbox

Nixxx,

glad you managed to solve it.

Mektub

PS: just remembered, you should install the additions from inside X (a terminal application, for example),
or not all will be installed.

Last edited by Mektub (2010-02-10 20:44:41)


Follow me on twitter: https://twitter.com/johnbina

Offline

#11 2010-02-10 22:05:47

Nixxx
Member
From: Poland
Registered: 2009-08-01
Posts: 85

Re: [SOLVED]Xorg+Virtualbox

I've installed from KDE terminal so it shoud be ok? smile

Offline

#12 2010-02-10 23:14:55

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED]Xorg+Virtualbox

Nixxx,


yes, that should be ok.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

Board footer

Powered by FluxBB