Ubuntu 9.04安装VMware tools成功安装却鼠标的光标无法从虚拟机桌面移动到宿机桌面

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
zhuktc
帖子: 1
注册时间: 2009-06-07 16:11

Ubuntu 9.04安装VMware tools成功安装却鼠标的光标无法从虚拟机桌面移动到宿机桌面

#1

帖子 zhuktc » 2009-06-07 16:30

Ubuntu 9.04安装VMware tools成功安装却鼠标的光标无法从虚拟机桌面移动到宿机桌面,还是需要按组合键ctrl+alt
虚拟机的版本是6.5正式版,宿机是windows 7 rc Build 7100
下面是安装过程,高手帮忙看一下那里有错误谢谢!
先运行终端,打开命令行
你看到的提示符应该是:
zhuxi@zhuxi-ubuntu:~$

按照下面的提示做,输入“$”后面的东西然后回车

zhuxi@zhuxi-ubuntu:~$cd 桌面/vmware-tools-distrib

zhuxi@zhuxi-ubuntu:~/桌面/vmware-tools-distrib$ sudo ./vmware-install.pl

会提示输入密码
输入就是。密码正确应该出现下面的

Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

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

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/init.d]

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

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

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

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

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

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

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


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.28-11-generic/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmemctl-only'
make -C /lib/modules/2.6.28-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /tmp/vmware-config0/vmmemctl-only/os.o
In file included from /tmp/vmware-config0/vmmemctl-only/os.c:40:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmemctl-only/os.c:40:
/tmp/vmware-config0/vmmemctl-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config0/vmmemctl-only/os.c: In function ‘os_init’:
/tmp/vmware-config0/vmmemctl-only/os.c:567: error: ‘struct proc_dir_entry’ has no member named ‘get_info’
make[2]: *** [/tmp/vmware-config0/vmmemctl-only/os.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmemctl-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [vmmemctl.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'
Unable to build the vmmemctl module.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmhgfs-only'
make -C /lib/modules/2.6.28-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /tmp/vmware-config1/vmhgfs-only/backdoor.o
CC [M] /tmp/vmware-config1/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/vmware-config1/vmhgfs-only/bdhandler.o
/tmp/vmware-config1/vmhgfs-only/bdhandler.c:15:27: error: asm/semaphore.h: No such file or directory
In file included from /tmp/vmware-config1/vmhgfs-only/dbllnklst.h:14,
from /tmp/vmware-config1/vmhgfs-only/vmrpc.h:17,
from /tmp/vmware-config1/vmhgfs-only/hgfsBd.h:14,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:29:
/tmp/vmware-config1/vmhgfs-only/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config1/vmhgfs-only/request.h:21,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:34:
/tmp/vmware-config1/vmhgfs-only/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config1/vmhgfs-only/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config1/vmhgfs-only/request.h:21,
from /tmp/vmware-config1/vmhgfs-only/bdhandler.c:34:
/tmp/vmware-config1/vmhgfs-only/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
make[2]: *** [/tmp/vmware-config1/vmhgfs-only/bdhandler.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you wish to have the shared folders feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

pcnet32 41092 0
Unloading pcnet32 module

Trying to find a suitable vmxnet module for your running kernel.

None of the pre-built vmxnet modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmxnet module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmxnet-only'
make -C /lib/modules/2.6.28-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /tmp/vmware-config2/vmxnet-only/vmxnet.o
In file included from /tmp/vmware-config2/vmxnet-only/vmxnet.c:37:
/tmp/vmware-config2/vmxnet-only/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
/tmp/vmware-config2/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_device’:
/tmp/vmware-config2/vmxnet-only/vmxnet.c:687: error: implicit declaration of function ‘SET_MODULE_OWNER’
make[2]: *** [/tmp/vmware-config2/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmxnet-only'
Unable to build the vmxnet module.

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

Trying to find a suitable vmblock module for your running kernel.

None of the pre-built vmblock modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmblock module
for your system (you need to have a C compiler installed on your system)?
[yes]

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmblock-only'
make -C /lib/modules/2.6.28-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /tmp/vmware-config3/vmblock-only/linux/block.o
In file included from /tmp/vmware-config3/vmblock-only/linux/os.h:21,
from /tmp/vmware-config3/vmblock-only/linux/block.c:12:
/tmp/vmware-config3/vmblock-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config3/vmblock-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config3/vmblock-only/linux/os.h:21,
from /tmp/vmware-config3/vmblock-only/linux/block.c:12:
/tmp/vmware-config3/vmblock-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config3/vmblock-only/linux/vmblockInt.h:26,
from /tmp/vmware-config3/vmblock-only/linux/block.c:15:
/tmp/vmware-config3/vmblock-only/./include/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
make[2]: *** [/tmp/vmware-config3/vmblock-only/linux/block.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmblock-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [vmblock.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/vmblock-only'
Unable to build the vmblock module.

The vmblock module enables dragging or copying files from within a host and
dropping or pasting them onto your guest (host to guest drag and drop and file
copy/paste). The rest of the software provided by VMware Tools is designed to
work independently of this feature (including guest to host drag and drop and
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution's installation CD.
[ Press Enter key to continue ]

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
provides a new communication capability with the Host, primarily for
development at the moment. Would you like to enable this feature? [no]



Detected X.org version 0.0.0.



No drivers for X.org version: 0.0.0.


Please choose one of the following display sizes that X will start with (1 -
15):

[1] "640x480"
[2] "800x600"
[3]< "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:

[3]

Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
DMA setup: done
Guest operating system daemon: done

The configuration of VMware Tools 6.0.2 build-59824 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To make use of the virtual printer, you will need to restart the CUPS service

Enjoy,

--the VMware team
头像
zongzw
帖子: 94
注册时间: 2008-03-31 16:12

Re: Ubuntu 9.04安装VMware tools成功安装却鼠标的光标无法从虚拟机桌面移动到宿机桌面

#2

帖子 zongzw » 2009-08-07 11:52

同问,我就纳了闷了,我装vmware-tools,就从来没有成功过!~~~~
头像
zongzw
帖子: 94
注册时间: 2008-03-31 16:12

Re: Ubuntu 9.04安装VMware tools成功安装却鼠标的光标无法从虚拟机桌面移动到宿机桌面

#3

帖子 zongzw » 2009-08-07 16:29

终于安装成功了。
执行./vmware-install.pl 安装vmtools,开始会设置一些选项,一路回车默认即可,之后,会去查找以下几个内核模块,如果有的话加载之,如果没有的话则开始编译生成这几个模块。代码及模块名称在下面这个目录中

代码: 全选

root@zongzw-desktop:~/vmware-tools-distrib/lib/modules/source# ls
vmblock.tar  vmci.tar  vmdesched.tar  vmhgfs.tar  vmmemctl.tar  vmsync.tar  vmxnet.tar
我以前安装总是出现的问题在于对这几个模块的编译过程上。这是由于编译过程和当前Linux的内核版本有很大关系,Linux内核不同版本之间代码差异较大,时常会出现某个结构多了个成员少了个成员之类的改动,造成vmware-tools在引用这个文件时出现编译错误。
解决方法:根据Linux内核版本的发布日期去找open-vm-tools,比如说你用的linux内核版本是2.6.27,发布时间是在2008.10月份,应该找open-vm-tools的日期为>10月份的最近的一个。可以在这个网站上下载到不同时期的open-vm_tools:http://mirror.isoc.org.il/pub/gentoo/distfiles/?C=M;O=Dopen-vm-tools都以日期标记了,例如open-vm-tools-2008.05.15-93241.tar.gz
找到之后,解开,把open-vm-tools/modules/linux里的vmhgfs目录改名成vmhgfs-only然后压成vmhgfs.tar, 替换vmware-tools-distrib/lib/modules/source下的同名文件,其他几个.tar文件的替换方法一样。
重新安装vmware-tools,如果还是出现编译问题,哪个模块出现问题,就去临近日期的open-vm-tools中搜一下,并安装同样的方法替换,重新安装vmware-tools。
以下是正常编译的过程。加重部分(。。[\b])可以看到各个模块的编译过程。

代码: 全选

root@zongzw-desktop:~/vmware-tools-distrib# ./vmware-install.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.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   Blocking file system:                                               done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done
   Guest memory manager:                                               done

File /etc/X11/xorg.conf is backed up to /etc/X11/xorg.conf.old.5.

File /etc/fstab is backed up to /etc/fstab.old.0.

File /etc/updatedb.conf is backed up to /etc/updatedb.conf.old.0.

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

Installing VMware Tools.  This may take from several minutes to over an hour 
depending upon its size.

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

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/init.d] 

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

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

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

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

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

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

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


Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   Blocking file system:                                               done
   Unmounting HGFS shares:                                             done
   Guest filesystem driver:                                            done
   Guest memory manager:                                               done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your 
running kernel.  Do you want this program to try to build the vmmemctl module 
for your system (you need to have a C compiler installed on your system)? 
[yes] 

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27-9-generic/build/include] 

Extracting the sources of the vmmemctl module.

[b]Building the vmmemctl module.[/b]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config35/vmmemctl-only'
make -C /lib/modules/2.6.27-9-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /tmp/vmware-config35/vmmemctl-only/backdoorGcc32.o
  CC [M]  /tmp/vmware-config35/vmmemctl-only/os.o
  CC [M]  /tmp/vmware-config35/vmmemctl-only/vmballoon.o
  LD [M]  /tmp/vmware-config35/vmmemctl-only/vmmemctl.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config35/vmmemctl-only/vmmemctl.mod.o
  LD [M]  /tmp/vmware-config35/vmmemctl-only/vmmemctl.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-9-generic'
make -C $PWD SRCROOT=$PWD/. postbuild
make[1]: 正在进入目录 `/tmp/vmware-config35/vmmemctl-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-config35/vmmemctl-only'
cp -f vmmemctl.ko ./../vmmemctl.o
make:离开目录“/tmp/vmware-config35/vmmemctl-only”
The module loads perfectly in the running kernel.

Extracting the sources of the vmhgfs module.

[b]Building the vmhgfs module.[/b]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config35/vmhgfs-only'
make -C /lib/modules/2.6.27-9-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /tmp/vmware-config35/vmhgfs-only/backdoor.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/backdoorGcc32.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/cpName.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/dentry.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/dir.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/file.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/filesystem.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/fsutil.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/inode.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/kernelStubsLinux.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/link.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/messageBackdoor.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/message.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/module.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/page.o
/tmp/vmware-config35/vmhgfs-only/page.c: 在函数‘HgfsDoWriteBegin’中:
/tmp/vmware-config35/vmhgfs-only/page.c:763: 警告: ISO C90 不允许混合使用声明和代码
  CC [M]  /tmp/vmware-config35/vmhgfs-only/request.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/rpcout.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/stubs.o
  CC [M]  /tmp/vmware-config35/vmhgfs-only/super.o
  LD [M]  /tmp/vmware-config35/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config35/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/vmware-config35/vmhgfs-only/vmhgfs.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-9-generic'
make -C $PWD SRCROOT=$PWD/. postbuild
make[1]: 正在进入目录 `/tmp/vmware-config35/vmhgfs-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-config35/vmhgfs-only'
cp -f vmhgfs.ko ./../vmhgfs.o
make:离开目录“/tmp/vmware-config35/vmhgfs-only”
The module loads perfectly in the running kernel.

Extracting the sources of the vmxnet module.

[b]Building the vmxnet module.[/b]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config35/vmxnet-only'
make -C /lib/modules/2.6.27-9-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /tmp/vmware-config35/vmxnet-only/vmxnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config35/vmxnet-only/vmxnet.mod.o
  LD [M]  /tmp/vmware-config35/vmxnet-only/vmxnet.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-9-generic'
cp -f vmxnet.ko ./../vmxnet.o
make:离开目录“/tmp/vmware-config35/vmxnet-only”
The module loads perfectly in the running kernel.

Extracting the sources of the vmblock module.

[b]Building the vmblock module.[/b]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-config35/vmblock-only'
make -C /lib/modules/2.6.27-9-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.27-9-generic'
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/control.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/dbllnklst.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/dentry.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/file.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/filesystem.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/inode.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/module.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/stubs.o
  CC [M]  /tmp/vmware-config35/vmblock-only/linux/super.o
  LD [M]  /tmp/vmware-config35/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config35/vmblock-only/vmblock.mod.o
  LD [M]  /tmp/vmware-config35/vmblock-only/vmblock.ko
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.27-9-generic'
make -C $PWD SRCROOT=$PWD/. postbuild
make[1]: 正在进入目录 `/tmp/vmware-config35/vmblock-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-config35/vmblock-only'
cp -f vmblock.ko ./../vmblock.o
make:离开目录“/tmp/vmware-config35/vmblock-only”
The module loads perfectly in the running kernel.

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service 
provides a new communication capability with the Host, primarily for 
development at the moment.  Would you like to enable this feature? [no] 



Detected X.org version 0.0.0.



No drivers for X.org version: 0.0.0.



Do you want to change the display size that X starts with? (yes/no) [no] 

Starting VMware Tools services in the virtual machine:
   Switching to guest configuration:                                   done
   Guest filesystem driver:                                            done
   Mounting HGFS shares:                                               done
   Guest memory manager:                                               done
   Guest vmxnet fast network device:                                   done
   Blocking file system:                                               done
   DMA setup:                                                          done
   Guest operating system daemon:                                      done

The configuration of VMware Tools 6.0.0 build-45731 for Linux for this running 
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking the following command: 
"/usr/bin/vmware-toolbox" during an X server session.

To use the vmxnet driver, restart networking using the following commands: 
/etc/init.d/networking stop
rmmod pcnet32
rmmod vmxnet
modprobe vmxnet
/etc/init.d/networking start

If you wish to configure any experimental features, please run the following 
command: "vmware-config-tools.pl --experimental".

Enjoy,

--the VMware team

phonemin
帖子: 1
注册时间: 2009-08-03 23:22

Re: Ubuntu 9.04安装VMware tools成功安装却鼠标的光标无法从虚拟机桌面移动到宿机桌面

#4

帖子 phonemin » 2009-08-09 17:46

LZ, 问一下,我的安装环境和你的一样,但是始终无法实现宿主机和虚拟机之间共享文件夹,这个是什么问题吗?

我是在XP上安装了WMware,然后安装Ubuntu的。而且硬盘只有一个分区,这个可能是原因吗?
回复