I have been worried for a few days because I cannot install vmtools. In fact, there are other alternative solutions. If I am not sure, I still have to worry about using the Ubuntu14.0464-bit VMware7 package, there were a lot of errors during the installation of vmtools. I checked a lot of information and could only use the shared clipboard function. My goal was to enable the shared folder. I searched for the latest version of VMware this morning and found 10, it is also a Chinese version, and I plan to try it on the convenience. After the installation, the errors reported by VMware7 are none.
I have been worried for a few days because I cannot install vm tools. In fact, there are other alternatives, but I still have a flaw in my mind.
I used 64-bit Ubuntu14.04 in VMware7. I had a lot of errors when installing vm tools. I checked a lot of information and only used the shared clipboard function. My goal is to enable the shared folder.
I searched for the latest version of VMware this morning and found 10 in the Chinese version. I plan to try it again in the casual installation. After the installation, I did not find any errors reported by VMware7, on the contrary, there are several new errors, and after the installation, even the most basic shared clipboard function is gone. Continue to query the information and finally find the answer in google
1-Run: apt-get install dkms linux-headers-$ (uname-r) build-essential psmisc
2-Run: git clone https://github.com/rasa/vmware-tools-patches.git
3-Run: cd vmware-tools-patches/patches
4-Remove every folder into t "vmhgfs ".
5-Get the last version of VMwareTools clicking on VMWare Bar> VM> Install/Reinstall VMWare Tools. It will open a virtual CD containing the "tar" file.
6-Copy VMwareTools-9.2.4-1398046.tar.gz to "vmware-tools-patches" folder.
7-On "vmware-tools-patches" folder, run:./untar-and-patch-and-compile.sh
After the restart, the resolution is adaptive and the clipboard can be used normally. Enter lsmod | grep vm to see vmhgfs. However, in the shared directory/mnt/hgfs, the system prompts that the folder is not a directory.
I found the VMware10 Bug on the Internet. It was fixed in 10.0.2 and is being downloaded. I will try again tomorrow.
After the restart, the resolution is adaptive and the clipboard can be used normally. Enter lsmod | grep vm to see vmhgfs. However, in the shared directory/mnt/hgfs, the system prompts that the folder is not a directory.
I found the VMware10 Bug on the Internet. It was fixed in 10.0.2 and is being downloaded. I will try again tomorrow.
Creating a new initrd boot image for the kernel.
Update-initramfs: Generating/boot/initrd. img-3.13.0-24-generic
Initctl: Unknown task: vmware-tools-thinprint
Unable to start services for VMware Tools
Execution aborted.
I checked some information about printing. I don't need the printing function anyway. Just delete it.
Root @ www.linuxidc.com:/etc/init # rm vmware-tools-thinprint.conf
Restart the service
Root @ www.linuxidc.com:/etc/vmware-tools #./services. sh restart
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
VMware User Agent (vmware-user): done
Blocking file system: done
Unmounting HGFS shares: done
Guest filesystem driver: done
VM communication interface: done
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
VM communication interface: done
Guest filesystem driver: done
Mounting HGFS shares: done
Blocking file system: done
VMware User Agent: done
Guest operating system daemon: done
View shared directories
Root @ www.linuxidc.com:/etc/vmware-tools # df
File System 1K-blocks available in use % mount point
/Dev/sda1 19478204 4487716 13978008 25%/
None 4 0 4 0%/sys/fs/cgroup
Udev 1010624 4 1010620 1%/dev
Tmpfs 204276 1072 203204 1%/run
None 5120 0 5120 0%/run/lock
None 1021364 152 1021212 1%/run/shm
None 102400 56 102344 1%/run/user
/Dev/sr0 61542 61542 0 100%/media/yufan/VMware Tools
. Host:/186165244 47665228 138500016 26%/mnt/hgfs
Root @ www.linuxidc.com:/etc/vmware-tools # cd/mnt/hgfs
Root @ www.linuxidc.com:/mnt/hgfs # ls
WindowsShare
Root @ www.linuxidc.com:/mnt/hgfs # cd WindowsShare/
Root @ www.linuxidc.com:/mnt/hgfs/WindowsShare # ls
Abc la Rada txt
Finally!
-----------------------------------------------------
Sudo mount-t vmhgfs. host: // mnt/hgfs
Vmware-hgfsclient.host:/shared/home/pnuts/shared vmhgfs defaults 0 0
Install VMware Tools http://www.linuxidc.com/Linux/2012-05/60472p2.htm in Ubuntu 12.04
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-05/101545.htm