1, 首先大家把ip配好,可以让主机和VM相通
2, 下载显卡驱动
3, 在主机上通过FTP把该文件传到VM的Solaris上,path随便
例如: FTP> put c:sunwxf86-vmware.tar.gz
注: root用户可能不能使用ftp,可修改 /etc/ftpd/ftpusers文件,找到root,用“#屏蔽掉
4, 在Solaris中,找到刚才上传的文件路径,执行一下命令
# gzip -d sunwxf86-vmware.tar.gz
# tar xvf sunwxf86-vmware.tar
# ls
SUNWxf86r SUNWxf86u sunwxf86-vmware.tar
# pkgadd -d . SUNWxf86u
# pkgadd -d . SUNWxf86r 注意大小写
5, 设置显卡文件 /etc/openwin/server/etc/OWconfig,不会用VI的可以通过file manager找到该文
件直接打开修改
package="RESERVED-unassigned"
class="XSCREEN" name="SFWxf86.vmware"
ddxHandler="ddxSFWxf86.vmware.so.1"
ddxInitFunc="SFWxf86Init"
AdapterManufacturer="XF86-VMWARE"
AdapterModel="VMware virtual video adapter";
class="XSCREENCONFIG" name="vmware"
device="SFWxf86.vmware"
res="800x600"
defdepth="24"
size="17-inch (43cm)"
board="xf86/vmware.xqa"
monitor="mfreq/svga.vda"
dpix="58"
dpiy="58"
desktop="800x600"
DisplayChksum="0xcd2e6ec"
hz="56"
MonitorManufacturer="Super VGA"
MonitorModel="35.5 kHz (800x600 @ 56Hz and 1024x768 Interlaced)"
dcm="Adapter";
class="XDISPLAY" name="0"
coreKeyboard="IKBD"
corePointer="ps22b"
listOfScreens="vmware";
class="XINPUT" name="ps22b"
csize="0"
emulTimeout="25"
buttons="3"
strmod="vuid2ps2"
ddxInitFunc="ddxSUNWmouseProc"
ddxHandler="ddxSUNWmouse.so.1"
dev="/dev/kdmouse"
ptrfile="ps22b3be025.ptr"
MouseManufacturer="Built-in"
MouseModel="PS/2 Mouse (2 Button+ 25ms 3 Button Emulation)"
PtrChksum="0x45cafda9";
保存 然后重启solaris,就OK了
#reboot
标签: