debian 5.0 在vmware6.0中安装vmwaretools终结篇

这个小问题困扰我多时,终于今天有个了结!
问题关键是vmware以及vmwaretools版本太低!本想装个高版本的vmware无耐公司512根本奈何不了6.5。就是家里的1G也勉强,NND
环境:vmware6.0
debian版本:debian5.0
遇到的问题:
1.安装gcc编译环境,本blog有记载。
2.接下来进行编译安装(拷贝文件我就省略了),由于debian5.0默认的编译版本过高不能进行编译,需要安装并指定编译器版本(4.1版本,get-apt install gcc-4.1)
3.安装缺失头文件,参照相关blog文章内容(Debian/Linux装上VMware-tools)。
//4.编译安装勉强通过,最后鼠标可以自动穿越,但是不能实现主机和虚拟机文件的共享。这是编译过程中出现的一些错误产生的。关键
//问题是vmwaretools版本太低。
5.下载高版本的vmware6.5(下载方法本见相关blog文章)。然后想办法弄出vmwaretools这个时候是高版本的了。(我的办法很衰,呵呵,没办法到网上找好久没有找到vmwaretools高版本遂使用这个办法。由于原来使用过低版本的vmware5.0的,在那上面安装了redhat9.0,vmwaretools也很好安装。用vmware6.0打开原先redhat9.0虚拟机,文件共享可以直接使用,遂将vmwaretools拷贝到主机上。然后制作ISO文件。在vmware6.0下用虚拟光驱打开,遂获得了高版本的vmwaretools -_-!!另外办法通过mount U盘将其拷入U盘应该也可以)
#./vmware-tools-distrib/vmware-install.pl
6.编译安装没有出现错误。安装成功后实现文件共享。
7.鼠标不能穿越虚拟机边界郁闷!!
郁闷几天
8.网上找到相关资料如下文。将Option          "CorePointer"加入,restart ,鼠标实现自由穿越!
gameover!
----------------------------------------------------------------------------------
vmware下debian安装vmware-tools及安装后带来的鼠标滚轮问题
2008-06-06 09:51

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"
        Identifier      "Configured Mouse"
        Driver          "vmmouse"
        Option          "CorePointer"              #这一行可以让鼠标穿出虚拟机
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ps/2"
        Option          "Emulate3Buttons"       "true"
EndSection

这样会带来鼠标滚轮不可用问题。

要使鼠标滚轮可用,可以在/etc/X11/xorg.conf中这样设置,

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver         "vmmouse" 

        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

 

===========================================

上面无效再试这个

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

===========================================

 

 
 

 

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

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值