Gentoo Archives: gentoo-user

From: Xi Shen <davidshen84@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] run X.org inside VirtualBox
Date: Wed, 20 Jan 2010 08:24:57
Message-Id: 53e35fd51001200023s77861230m22007437199fda01@mail.gmail.com
In Reply to: Re: [gentoo-user] run X.org inside VirtualBox by Xi Shen
1 On Wed, Jan 20, 2010 at 12:46 PM, Xi Shen <davidshen84@××××××××××.com> wrote:
2 > On Wed, Jan 20, 2010 at 1:10 AM, Crístian Viana
3 > <cristiandeives@×××××.com> wrote:
4 >> so you set VIDEO_CARDS="vesa"? just that? and INPUT_DEVICES="keyboard
5 >> mouse"? I'm using "virtualbox" on both variables and it's not working. I'll
6 >> try that as you said.
7 >>
8 >> On Mon, Jan 18, 2010 at 3:01 AM, Xi Shen <davidshen84@××××××××××.com> wrote:
9 >>>
10 >>> On Mon, Jan 18, 2010 at 6:27 AM, Crístian Viana
11 >>> <cristiandeives@×××××.com> wrote:
12 >>> > hi!
13 >>> > I'm running Gentoo inside VirtualBox (on a Windows host, if that
14 >>> > matters)
15 >>> > and I can't make X.org work. when I try "X -configure" it says it can't
16 >>> > load
17 >>> > the vboxvideo library. according to some Google searches, that library
18 >>> > really doesn't work with the newest X.org. if that's really true, is
19 >>> > there
20 >>> > currently any combination of VirtualBox/X.org/Gentoo libraries to run
21 >>> > X.org
22 >>> > inside VirtualBox?
23 >>> > I'm running ~x86, so now I have =x11-base/xorg-server-1.7.4,
24 >>> > =app-emulation/virtualbox-guest-additions-3.1.0 (running at boot),
25 >>> > =x11-drivers/xf86-input-virtualbox-3.1.0 and
26 >>> > =x11-drivers/xf86-video-virtualbox-3.1.0. when I run "X -configure", the
27 >>> > error log shows:
28 >>> > List of video drivers:
29 >>> >         vboxvideo
30 >>> > dlopen: /usr/lib/xorg/modules/drivers/vboxvideo_drv.so: undefined
31 >>> > symbol:
32 >>> > resVgaShared
33 >>> > (EE) Failed to load /usr/lib/xorg/modules/drivers/vboxvideo_drv.so
34 >>> > (EE) Failed to load module "vboxvideo" (loader failed, 7)
35 >>> > any hep would be appreciated.
36 >>> > thanks!
37 >>> >
38 >>> > --
39 >>> > Crístian Deives dos Santos Viana [aka CD1]
40 >>> >
41 >>>
42 >>>
43 >>> maybe you can start the X without using the vboxvideo driver. that is
44 >>> what i did. actually i did not know we have a vboxvideo driver, so i
45 >>> just used the vesa, and it works very well. i can even enable the 3d
46 >>> acceleration and play with compiz fusion ;)
47 >>>
48 >>>
49 >>> --
50 >>> Best Regards,
51 >>> David Shen
52 >>>
53 >>> http://twitter.com/davidshen84/
54 >>> http://meme.yahoo.com/davidshen84/
55 >>>
56 >>
57 >>
58 >>
59 >> --
60 >> Crístian Deives dos Santos Viana [aka CD1]
61 >>
62 >
63 > yes, just VIDEO_CARDS="vesa" and INPUT_DEVICES="keyboard mouse". and
64 > have you installed the vbox additions? i had trouble when emerge the
65 > vbox specific drivers from gentoo portage. so i just install the
66 > binary from the vbox iso. and the installation tool will install the
67 > vboxvideo for you. and the X -configure can find it. but i did not
68 > notice any advantage using the vboxvideo driver. the 'vesa' driver
69 > works very well even with compiz fusion.
70 >
71 >
72 > --
73 > Best Regards,
74 > David Shen
75 >
76 > http://twitter.com/davidshen84/
77 > http://meme.yahoo.com/davidshen84/
78 >
79
80
81 i double checked my xorg.conf, and you cannot have compiz with 'vesa'
82 driver. i made a mistake. i think the issue you have relates to the
83 vboxvideo driver from the portage tree. unemerge them, and remove the
84 vbox* flag from your make.conf, then use the vbox additions from the
85 ISO file the vbox system provided.
86
87
88 --
89 Best Regards,
90 David Shen
91
92 http://twitter.com/davidshen84/
93 http://meme.yahoo.com/davidshen84/