现在的位置: 首页 > 综合 > 正文

在VMWare5.5.2上安装ubuntu6.10

2013年02月01日 ⁄ 综合 ⁄ 共 1786字 ⁄ 字号 评论关闭

  之前用VMWare5.5.1下安装完成了ubuntu6.10 ,但是无论如何,都不能把VMWare-tools安装上去。VMWare-tools是VMWare环境下的驱动程序,如果不能安装成功,就相当于Linux没有装驱动的效果。我的1280*800的屏幕分辨率就只能在默认的1024*768的低分辨率下跑,显得十分模糊。

  今天重装了VMWare,升级到5.5.2的版本后,重新在ubuntu6.10下安装VMWare-tools,就OK了。这里篇关于如何安装的讲解文章(http://www.linuxblog.cn/archives/91),还是需要一个patch补丁。

给vmware-config-tools.pl打补丁:

wget http://mtnbike.org/vmware/vmware-config-tools-5.5.2-patch-diff.txt
sudo chmod u+w /usr/bin/vmware-config-tools.pl
sudo patch /usr/bin/vmware-config-tools.pl vmware-tools-config-5.5.2-patch-diff.txt
sudo /usr/bin/vmware-config-tools.pl

 其中,这个patch补丁,我已经下载下来了。很简单,就是如下内容:

4489a4490,4511
>     # Pick up 7.1 Xorg
>     elsif ($minor == 1) { 
>       my $xorg_modules_dir = xorg_find_modules_dir();
>       $gXMouseDriverFile = $xorg_modules_dir . '/input/vmmouse_drv.so';
>       # Existing vmware_drv.so driver in default build. Commented following line
>       # $gXVideoDriverFile = $xorg_modules_dir . '/drivers/vmware_drv.so';
>       
>       # If there is an existing driver replace it by ours, backing up the existing
>       # driver.
>       # Existing vmware_drv.so driver in default build. Commented following line
>       # backup_file_to_restore($gXVideoDriverFile, 'OLD_X4_DRV');
>       backup_file_to_restore($gXMouseDriverFile, 'OLD_X4_MOUSEDRV');                        
>       my %p;
>       undef %p;
>       # Existing vmware_drv.so driver in default build. Commented following three lines
>       # install_file(db_get_answer('LIBDIR')  . '/configurator/XOrg/7.0' .
>     #       ($gIs64BitX ? '_64' : '') . '/vmware_drv.so',
>     #       $gXVideoDriverFile, %p, 1);
>       install_file(db_get_answer('LIBDIR')  . '/configurator/XOrg/7.0' .
>            ($gIs64BitX ? '_64' : '') . '/vmmouse_drv.so',
>            $gXMouseDriverFile, %p, 1);
>     }
  最后,就是安装成功VMWare-tools的运行截图:
 
 

抱歉!评论已关闭.