January 6, 2005

用VMware安装GentooLinux时配置显卡的方法

备忘。
环境:VMware Workstation 4.5.2build8848
安装完Gentoo基本环境后安装xorg-x11和kde后,运行Xorg -configure,会生成/root/xorg.conf.new。将该文件复制到/etc/x11/改名为xorg.conf。
然后去VMWARE官方站点下载VMware SVGA的驱动
修改/etc/x11/xorg.conf:Device段改为
Section "Device"
Identifier "VMware SVGA"#跟Monitor段一致
Driver "vmware"
BusID "PCI:0:15:0"
EndSection

然后emerge ddcxinfo-knoppix
运行ddcxinfo-knoppix -monitor。运行结果保存到临时文件mon
然后修改/etc/xorg.conf,将Monitor段替换位临时文件mon的内容
修改"Screen"段,类似下面的内容:
Section "Screen"
Identifier "Screen0"
Device "VMware SVGA"
Monitor "Monitor0"
DefaultDepth 24# 这句一定要加上,否则VMWARE会启动一个好大的桌面
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Posted by liyi at 3:32 PM | TrackBack