Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:open_vm_tools [2013/06/19 11:08] – andyj | wiki:open_vm_tools [2013/06/19 13:48] (current) – andyj | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Open VM Tools Background and Assumptions ====== | ====== Open VM Tools Background and Assumptions ====== | ||
- | |||
- | This page is under construction. Proceed at your own peril. May be ready on 2013-06-19. | ||
The procedure for making the proprietary VMWare Tools and Open VM Tools are very similar. As it turns out, the Open VM Tools package is incomplete, and so we must fill in the gaps based on what we know from VMWare Tools. In particular, two files in the ''/ | The procedure for making the proprietary VMWare Tools and Open VM Tools are very similar. As it turns out, the Open VM Tools package is incomplete, and so we must fill in the gaps based on what we know from VMWare Tools. In particular, two files in the ''/ | ||
Line 38: | Line 36: | ||
- Create Initialization Scripts | - Create Initialization Scripts | ||
- Create TCZ extension | - Create TCZ extension | ||
+ | - Install TCZ extension | ||
===== Compile Open VM Tools ===== | ===== Compile Open VM Tools ===== | ||
Line 79: | Line 78: | ||
ln -s / | ln -s / | ||
</ | </ | ||
- | The Open VM Tools also wants to know what distribution and release it's running on. Because TinyCore doesn' | + | The Open VM Tools also wants to know what distribution and release it's running on: |
< | < | ||
- | echo "TinyCore | + | sed -e 's/^/TinyCore |
</ | </ | ||
Move the files to LIBDIR subdirectories and create links in the BINDIR and SBINDIR directories: | Move the files to LIBDIR subdirectories and create links in the BINDIR and SBINDIR directories: | ||
Line 189: | Line 188: | ||
load_module vmsync | load_module vmsync | ||
- | # Start vmtoolsd in .xsession | + | # Start vmtoolsd |
+ | if pidof vmtoolsd &>/ | ||
+ | echo vmtoolsd already running | ||
+ | else | ||
+ | rm -f / | ||
+ | / | ||
+ | fi | ||
+ | # Start vmware-user | ||
# Use ethtool to optimize vmxnet | # Use ethtool to optimize vmxnet | ||
Line 238: | Line 244: | ||
rm -rf $TCZROOT/ | rm -rf $TCZROOT/ | ||
</ | </ | ||
+ | |||
===== Create TCZ Extension ===== | ===== Create TCZ Extension ===== | ||
Line 258: | Line 265: | ||
EOF | EOF | ||
</ | </ | ||
+ | |||
+ | ===== Install TCZ Extension ===== | ||
+ | |||
These extensions and their dependencies should be copied to the system that will be using the open-vm-tools extension before it's loaded. | These extensions and their dependencies should be copied to the system that will be using the open-vm-tools extension before it's loaded. | ||
Then add '' | Then add '' | ||
Line 264: | Line 274: | ||
Add the following line to your .xsession file after mouse initialization: | Add the following line to your .xsession file after mouse initialization: | ||
< | < | ||
- | [ $(which vmware-checkvm) ] && [ vmware-checkvm | + | [ $(which vmware-checkvm) ] && [ vmware-checkvm ] && vmware-user & |
</ | </ | ||
Reboot and enjoy. | Reboot and enjoy. |