1、安装vmware-tools 准备条件:vmware-tools (在设置vmware光驱为物理光驱后,选“install vmware tools”在debian的光驱中可以看到)和 linux-header (用 uname -a 查看当前kernel版本后,下载相应的linux-header) 安装:解压缩vmware-tools,到解压后的文件夹中执行 ./vmware-install.pl 除了linux-header路径要选择,刚安装的linux-header所在路径外,其余都可以默认。 2、配置 鼠标 安装 vmware-tools后,/etc/X11/xorg.conf 鼠标的设置会被改成如下方式: Section "InputDevice" 这样会带来鼠标滚轮不可用问题。 要使鼠标滚轮可用,可以在/etc/X11/xorg.conf中这样设置, Section "InputDevice" Option "CorePointer"
=========================================== 上面无效再试这个 Section "InputDevice" ===========================================
|
Section "Screen"
Identifier "Default Screen"
Device "VMware SVGA"
Monitor "vmware"
# Don't specify DefaultColorDepth unless you know what you're
# doing. It will override the driver's preferences which can
# cause the X server not to run if the host doesn't support the
# depth.
Subsection "Display"
# VGA mode: better left untouched
Depth 4
Modes "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 8
Modes "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600"
ViewPort 0 0
EndSubsection
EndSection
Section "Monitor"
Identifier "vmware"
VendorName "VMware, Inc"
HorizSync 1-10000
VertRefresh 1-10000
EndSection