红联Linux门户
Linux帮助

在Ubuntu虚拟机中安装VMware tools异常中断

发布时间:2016-05-18 16:20:50来源:cnblogs.com/klcf0220作者:不止所见

前言:我用的是VMware 10.0.5和Ubuntu 14.04.1 LTS,host是Windows 7系统。


在VMware中装完Ubuntu后,为了与host之间互传文件,需要安装VMware tools。
在安装过程中出现报错,试了好几次都没有成功,报错信息如下:

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.13.0-32-generic
initctl: Unknown job: vmware-tools-thinprint
Unable to start services for VMware Tools

Execution aborted.


解决办法如下:
在root权限下,运行下面的命令
# sudo su -

然后按照之前的流程就可以
安装过程可参考Installing VMware Tools in an Ubuntu virtual machine:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1022525


安装成功后,可看的如下信息:
The configuration of VMware Tools 9.6.2 build-1688356 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 "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1.Manually start /usr/bin/vmware-user
2.Log out and log back into your desktop session; and,
3.Restart your X session.

Enjoy,

--the VMware team


本文永久更新地址:http://www.linuxdiyf.com/linux/20757.html