安装VmwareTools的问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
lynnpierrer
帖子: 6
注册时间: 2008-10-20 10:10

安装VmwareTools的问题

#1

帖子 lynnpierrer » 2008-10-20 10:30

不知道怎么回事,在网上下载下来的iso都不能用,总是提示:
root@anx-desktop:/home/anx# cd vmware-tools-distrib
root@anx-desktop:/home/anx/vmware-tools-distrib# ./*.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

Uninstalling the tar installation of VMware Tools.

The removal of VMware Tools 6.0.3 build-80004 for Linux completed successfully.
Thank you for having tried this software.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
What is the directory that contains the init scripts? [/etc]

The file /etc/vmware-tools that this program was about to install already
exists. Overwrite? [yes] no

In which directory do you want to install the daemon files?
[/sbin]

In which directory do you want to install the library files?
[/lib/vmware-tools]

The path "/lib/vmware-tools" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes] yes

In which directory do you want to install the documentation files?
[/doc/vmware-tools] /doc

The path "/doc" does not exist currently. This program is going to create it,
including needed parent directories. Is this what you want? [yes] yes

The installation of VMware Tools 6.0.3 build-80004 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/vmware-config-tools.pl". Do you want this
program to invoke the command for you now? [yes] yes


sh: /etc/vmware-tools: Permission denied
Making sure services for VMware Tools are stopped.

Unable to stop services for VMware Tools

Execution aborted.

root@anx-desktop:/home/anx/vmware-tools-distrib#

这要怎么解决啊?



还有,也试过网上一位仁兄的做法但发现好像有个文件应该不一样,现在也不知道要怎么办~~~~ :em20
晕了,弄了一整天



下面是他的日志:
================================================
以前的虚拟机又崩溃了,转到Ubuntu,整了一天的VmwareTools,终于弄好了。以后就安心用吧。下面记

录一下自己的步骤:
1.编译环境
sudo apt-get install build-essential libgtk2.0-dev

sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
2.解压
tar xzvf VMware*.gz
tar xzvf open-vm-tools-2008.04.14-87182.tar.gz
3.编译
cd open-vm-tools-2008.04.14-87182/./configure && makecd modules/linux/
4.替换原来vmtools的包
for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
这一个步骤工作就是将目录下的四个包改名成×-only,然后利用tar -cf *tar *-only进行压缩,
cd ../../..mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-

distrib/lib/modules/source/
将vmware-tools-distrib/lib/modules/source/目录下的.tar包替换为open-vm-tools-2008.04.14-

87182/modules/linux/目录下的那几个包
5.安装
cd vmware-tools-distrib/sudo ./vmware-install.pl
安装完vmware tools后一般会有鼠标滚轮不能使用的情况,请按如下解决:
修改xorg.conf配置文件:
sudo gedit /etc/X11/xorg.conf
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "Protocol" "ImPS/2"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
================================================
头像
lynnpierrer
帖子: 6
注册时间: 2008-10-20 10:10

Re: 安装VmwareTools的问题

#2

帖子 lynnpierrer » 2008-10-20 13:00

没有人回答吗? :em06
头像
☆逍遥☆
帖子: 2
注册时间: 2008-10-20 16:26

Re: 安装VmwareTools的问题

#3

帖子 ☆逍遥☆ » 2008-10-20 16:51

安装vmware tool
1、解压文件
2、sudo ./vnware-install.pl
头像
lynnpierrer
帖子: 6
注册时间: 2008-10-20 10:10

Re: 安装VmwareTools的问题

#4

帖子 lynnpierrer » 2008-10-20 22:57

弄来弄去始终是那句
sh: /etc/vmware-tools: Permission denied
Making sure services for VMware Tools are stopped.

Unable to stop services for VMware Tools

Execution aborted.

气死我了!
少见多怪
帖子: 45
注册时间: 2008-10-18 19:30

Re: 安装VmwareTools的问题

#5

帖子 少见多怪 » 2008-10-20 23:48

说你的vmtools没有许可?是版本问题吧。你是在虚拟机的ubuntu系统里装的vmware-tools吗?好像不用这么复杂的吧,直接加载vmtools到桌面,进去解压后得到vmware-tools-distrib文件,在终端里切换到vmware-tools-distrib目录,输入sudo ./vmware-install.pl,跟着就全Enter了。很简单的,你怎么要这么复杂的?要注意的就是路径了。希望对你有帮助。
头像
lynnpierrer
帖子: 6
注册时间: 2008-10-20 10:10

Re: 安装VmwareTools的问题

#6

帖子 lynnpierrer » 2008-10-21 13:06

路径有哪些要注意的?我一般都是回车,该YES就YES,over write就填NO,可能是版本问题吧。
回复