Installation Virtualbox上的Gentoo安装,startx失败

Installation Virtualbox上的Gentoo安装,startx失败,installation,virtualbox,xorg,gentoo,Installation,Virtualbox,Xorg,Gentoo,我遵循Gentoo,基本系统安装在virtualbox上。我希望里面有侏儒。文档说我需要安装hal。但是emerge说没有满足“hal”的ebuild。我做了eselect profile list,然后做了eselect profile set 4,这是[4]默认值/linux/x86/10.0/desktop/gnome。然后我做到了 emerge-e系统,耗时数小时,下载了大量文件。在那之后,我重新启动并startx失败,甚至Xorg-configure也失败了。说 (EE) Failed

我遵循Gentoo,基本系统安装在virtualbox上。我希望里面有侏儒。文档说我需要安装
hal
。但是
emerge
没有满足“hal”的ebuild
。我做了
eselect profile list
,然后做了
eselect profile set 4
,这是
[4]默认值/linux/x86/10.0/desktop/gnome
。然后我做到了
emerge-e系统
,耗时数小时,下载了大量文件。在那之后,我重新启动并
startx
失败,甚至
Xorg-configure
也失败了。说

(EE) Failed to load module "vmwgfx" (module does not exist, 0)
(EE) vmware: Please ignore the above warnings about not being able to to load module/driver vmwgfx
(EE) vmware: Unexpected failure while loading the "vmwlegacy" driver. Giving up.
(EE) Failed to load module "vmware" (a required submodule could not be loaded, -1077713160)
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) open /dev/fb0: No such file or directory

我对gentoo很陌生。我不明白我现在应该搬到哪里去。

文档上说你需要在哪里安装hal?诚然,《快速指南》在使用标志中提到了哈尔,但仅此而已。hal现在已经过时,应该完全避免

您是否安装了xf86视频vmware?这是X需要的视频驱动程序

更新:很抱歉,我感到困惑,因为错误提到了VMware,即使您在VirtualBox下运行。您应该删除xf86视频vmware并增加virtualbox客户机,这将引入xf86视频virtualbox。有关更多信息,请参阅

# eix xf86-video -S virtual 
* x11-drivers/xf86-video-virtualbox
     Available versions:  4.1.4 ~4.1.6-r1 ~4.1.8 {dri kernel_linux}
     Homepage:            http://www.virtualbox.org/
     Description:         VirtualBox video driver

# emerge x11-drivers/xf86-video-virtualbox 
 * Last emerge --sync was Wed Jan 11 10:35:01 2012.
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 5) sys-devel/bin86-0.16.17
>>> Installing (1 of 5) sys-devel/bin86-0.16.17
>>> Emerging (2 of 5) sys-power/iasl-20090123
>>> Installing (2 of 5) sys-power/iasl-20090123
>>> Emerging (3 of 5) sys-devel/dev86-0.16.17-r6
>>> Installing (3 of 5) sys-devel/dev86-0.16.17-r6
>>> Emerging (4 of 5) dev-util/kbuild-0.1.9998_pre20110817
>>> Installing (4 of 5) dev-util/kbuild-0.1.9998_pre20110817
>>> Emerging (5 of 5) x11-drivers/xf86-video-virtualbox-4.1.4
>>> Installing (5 of 5) x11-drivers/xf86-video-virtualbox-4.1.4
>>> Recording x11-drivers/xf86-video-virtualbox in "world" favorites file...

 * Messages for package x11-drivers/xf86-video-virtualbox-4.1.4:

 * You need to edit the file /etc/X11/xorg.conf and set:
 * 
 *   Driver  "vboxvideo"
 * 
 * in the Graphics device section (Section "Device")
 * 
 * To use the kernel drm video driver, please add:
 * "vboxvideo" to:
 * /etc/conf.d/modules
 * 
vim /etc/X11/xorg.conf (or some other text editor)

  Section "Device"
       Identifier     "Fake card"
       Driver         "vboxvideo"
       VendorName     "VirtualBox"
       BoardName      "Fake board"
   EndSection

Section "Screen"

   # Removed Option "metamodes" "DFP: nvidia-auto-select +0+0"
   # Removed Option "TwinView" "0"
   # Removed Option "metamodes" "DFP: 1680x1050_60 +0+0"
       Identifier     "BottomDisplay"
       Device         "Fake card"
 (...)

保存文件。运行startxwiki上有一个页面描述了这一点


看看“Linux来宾”部分吧

甚至出现了
app仿真/openvm工具
,但运气并不好