WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Open vm tools copy/paste  (Read 12801 times)

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
[SOLVED] Open vm tools copy/paste
« on: January 08, 2013, 08:17:22 PM »
I've built an extension for the latest open-vm-tools 9.2.2 and everything works except copy/paste to/from host/vm. I also have a vmware-tools 9.2.2 extension I made where it does work. They are in the same VM, so I can set either one in onboot.lst. Has anyone gotten the open-vm-tools copy/paste working?

Andy
« Last Edit: January 10, 2013, 01:36:59 PM by andyj »

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: Open vm tools copy/paste
« Reply #1 on: January 09, 2013, 10:33:36 PM »
Please remember that newer platforms disable this feature in the name of security.  I believe everything in the last 2-4 years is under than umbrella.  Care to mention the product, version and build?

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Open vm tools copy/paste
« Reply #2 on: January 10, 2013, 01:01:35 PM »
Almost solved: It's a "all the files and links have to be in a certain spot in the file system" thing. I figured it out for VMware's tools, and I had it working a few minutes ago with the open-vm-tools. I made my changes to my extension and rebooted, and now it's not working again. DOH! But I know it CAN work, so I'll have to play with it a little while longer.

Andy

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
[SOLVED] Re: Open vm tools copy/paste
« Reply #3 on: January 10, 2013, 01:36:28 PM »
There is a dependency on gtkmm. It doesn't give an error if it doesn't find the library, it just doesn't work.

Andy

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: [SOLVED] Open vm tools copy/paste
« Reply #4 on: January 10, 2013, 02:07:38 PM »
Did you build it on 32-bit or pure64?

I am struggling to get Vmware Tools start on pure 64

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: [SOLVED] Open vm tools copy/paste
« Reply #5 on: January 10, 2013, 04:26:56 PM »
My setup:
Host: Slackware 64 14.0
VM: VMware Player 5.0.1 build 894247
Guest: TC 4.7.2 32-bit
VM tools #1: VMware client tools 9.2.2 build 893683, modules built in VM, programs/libraries are binaries from VMware, extension builds out at 14M as it includes dependent libraries from VMware.
VM tools #2: Open VM tools 9.2.2 build 893683, modules, programs, and libraries built in VM, extension builds out at 608k, but has a lot of dependencies.

I've learned that the compiled modules are interchangeable between the two, and my copy/paste problem was because of vmtoolsd, not the modules. It's picky about how it's installed. I haven't tried anything with 64-bit VM's or clients. Copy/paste to/from host/vm works, resizing the window and X automagically resizes the desktop, mounting host folders, mouse autograb/autorelease and time sync work. I haven't tested thinprint or drag and drop

Getting VMware tools working was hard. I had to move a lot of stuff around.
1. See the attachment for the file list. The links are important. If you see a link, it needs to be a link. Don't copy files. vmware-user-suid-wrapper checks for this.
2. vmware-user-suid-wrapper needs to be suid.
3. Blacklist pcnet32 in your extlinux.conf file.
4.  A lot of files need to be edited or added. I don't remember all of them right now, but here's a few:
/etc/vmware-tools/locations (attached)
/etc/X11/xorg.conf (configure for vmware video and vmmouse)
/etc/init.d/vmware-tools (fix a few things to work with the busybox versions of commands)
/etc/release ("TinyCore 4.7.2" is what I put, but you need to have something)
/usr/local/tce.installed/vmware-tools (/etc/init.d/vmware-tools start)
/home/tc/.xsession (not in extension, start client tools in here)

Good luck,

Andy

Offline sebus

  • Jr. Member
  • **
  • Posts: 96
Re: [SOLVED] Open vm tools copy/paste
« Reply #6 on: January 10, 2013, 05:12:27 PM »
Thanks, will give it a go & report back

edit
Had play with it, it almost worked (vmci did not start, vmxnet also, as I did not blacklist pcnet32, fuse is missing in pure64 version)
I hope somebody else spends more time on it & gets a working .tcz for pure64

sebus
« Last Edit: January 12, 2013, 10:12:07 AM by sebus »

Offline deckard

  • Newbie
  • *
  • Posts: 2
Re: [SOLVED] Open vm tools copy/paste
« Reply #7 on: February 23, 2013, 06:36:35 AM »
could anyone upload a working copy extension of open-vm-tools 9.2.2 to TCL 4.x repositories or send me a link to download it? I really need this. Thanks

Offline druf

  • Newbie
  • *
  • Posts: 2
Re: [SOLVED] Open vm tools copy/paste
« Reply #8 on: March 23, 2013, 04:57:58 AM »
Any chance, that this extension is getting published?

Offline lapawa

  • Newbie
  • *
  • Posts: 7
Re: [SOLVED] Open vm tools copy/paste
« Reply #9 on: March 23, 2013, 08:27:32 AM »
I'm currently working on a package. I've managed to compile the open-vm-tools kernel modules for tiny core 4 32bit.
But the packaging and the init.d scipts needs some more time.
Build your own VMware tools for TinyCoreLinux
https://github.com/lapawa/tc5-open-vm-tools

Offline lapawa

  • Newbie
  • *
  • Posts: 7
Re: [SOLVED] Open vm tools copy/paste
« Reply #10 on: March 28, 2013, 08:33:59 AM »
Hello tinycore users,

since I will not have much time to complete the task the next days. I'll post some informations about the actual state.
Have a look at the github repository lapawa/tc4-open-vm-tools for detailed build instructions. (Can't post the complete url. The forum prevents it  :'( )

The result is splitted into two tcl extension.
 * open-vm-tools-modules-3.0.21.tinycore.tcz contains kernel modules.
    vmci, vmhgfs, vmxnet, vsock, vmblock is included.
   
 * open-vm-tools.tcz - VMware tools with vmtoolsd, init script and examples of custom power state scripts.
    The script poweroff script will initiate a backup before shutting the linux system down.
   
Some limitations or points to be aware of:
 * vmtoolsd is configure in debug mode and spits out a lot of informations into /var/log/vm*.log
 * pvscsi - the module for the vmware paravirtualized SCSI controller is missing.
 * Functionality with the Xorg server has not been tested

To be continued...


PS: Who has configured this forum in such a paranoia mode. I can't attach the extension to this message because of their file size  :o
Build your own VMware tools for TinyCoreLinux
https://github.com/lapawa/tc5-open-vm-tools

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: [SOLVED] Open vm tools copy/paste
« Reply #11 on: March 28, 2013, 08:54:04 AM »
pvscsi is included in our builds, there is no need to get it from the vmware packages.
The only barriers that can stop you are the ones you create yourself.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: [SOLVED] Open vm tools copy/paste
« Reply #12 on: March 28, 2013, 10:49:22 AM »
Hi lapawa
Quote
(Can't post the complete url. The forum prevents it
You'll be able to post links and use code tags once you have a couple more posts to your credit.
Quote
I can't attach the extension to this message because of their file size
Even if you could, the  Forum Rules and Guidelines  prohibit attaching binaries/extensions. See rule # 2 here:
http://forum.tinycorelinux.net/index.php/topic,7738.0.html

Offline druf

  • Newbie
  • *
  • Posts: 2
Re: [SOLVED] Open vm tools copy/paste
« Reply #13 on: April 20, 2013, 05:35:34 PM »
Amazing. Your build Instructions work very well. But as you said, there are still some issues with the init.d-scripts.
Please continue your great work.

Offline lapawa

  • Newbie
  • *
  • Posts: 7
Re: [SOLVED] Open vm tools copy/paste
« Reply #14 on: May 07, 2013, 03:01:15 PM »
I've modified the build script to work with the recently released version of open-vm-tools 9.2.3-1031360.
Additional it uses ezremaster to build an iso image with the created packages.
Build your own VMware tools for TinyCoreLinux
https://github.com/lapawa/tc5-open-vm-tools