LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-03-2018, 10:17 AM   #1
lagavulin16
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Rep: Reputation: Disabled
open-vm-tools.SlackBuild correct install.


Happy New Year, dear folks!
open-vm-tools installed correctly (https://slackbuilds.org/repository/1...open-vm-tools/) and I'm trying to find the right way to start it. There's only one rc.vmtoolsd starting script for it, but there are a lot more binaries under /usr/bin that needs to be running for correct functioning (resizing, drag'n'drop). Can they be added in rc.local like shell-scripts? Or there can be another way?
 
Old 01-03-2018, 01:52 PM   #2
lagavulin16
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Nobody knows?
 
Old 01-03-2018, 04:00 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,531

Rep: Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278Reputation: 3278
Quote:
Originally Posted by lagavulin16 View Post
Nobody knows?
It's been on the forum for less than 4 hours. This is an international forum with members from all over the world. Somebody who may have the answer may have not logged in since you posted your request.

I've never used this program, so take what I say with a grain of salt... but are you sure they need to be run? If so, you may want to contact the SlackBuild maintainer to have them added to the rc script so they're started when the rc script is run. That being said, you can add anything that needs to be run during startup to rc.local. That's what it is there for I would ensure these commands are added after the command to start rc.vmtoolsd to ensure that it is running before those commands are ran (if that is a requirement).
 
Old 01-03-2018, 07:15 PM   #4
janas03
LQ Newbie
 
Registered: Apr 2008
Location: Warsaw, Poland
Distribution: Slackware64 14.2
Posts: 29

Rep: Reputation: 4
Right now I am in bed without access to my computer but if noone is faster I will post the solution tomorrow cause I had to patch the Slackbuilds.org script and source in order to get it working. After these modifications it is working as expected on vmware workstation 12.x.

EDIT:
At work my host system is Windows 7 64bit and guest is Slackware64 14.2. I am using VMware Workstation Pro 12.1.1 and open-vm-tools-10.1.15-6677369. I saw that there is new release but haven't build it yet. So in order to enable screen resizing, drag&drop you must:
1. Download open-vm-tools from slackbuilds.org
2. Download open-vm-tools source (my tested version click)
3. Download and install dependencies from SBo: libmspack, xml-security-c, libdnet and xerces-c
4. Edit open-vm-tools.SlackBuild and change configure section to
Code:
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --without-pam \
  --with-x \
  --build=$ARCH-slackware-linux
5. Build and install resulting package
6. Make sure that the /etc/rc.d/rc.vmtoolsd file has 755 permissions
7. Optionally reboot or if you don't want to reboot just start /etc/rc.d/rc.vmtoolsd

In order to enable X Window features (like screen resize, drag&drop, copy&paste) run (as a regular user)
Code:
$ vmware-user-suid-wrapper
I don't have automatic startup script as I seldom shutdown my VMs. I usually suspend them. But if I need to reboot or shutdown I run this suid wrapper command once I log in into X. You can make it start automatically if you want to.

Notice:
The VMware package has static versions of libs included. I tried to get rid of them by using --disable-static and --enable-static=no but with no effect. I know I could just delete them before the actual package is created but decided to leave it as it is. Maybe I should email maintainer?

Last edited by janas03; 01-04-2018 at 10:39 AM.
 
1 members found this post helpful.
Old 01-04-2018, 06:42 PM   #5
lagavulin16
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by janas03 View Post
In order to enable X Window features (like screen resize, drag&drop, copy&paste) run (as a regular user)
Code:
$ vmware-user-suid-wrapper
I don't have automatic startup script as I seldom shutdown my VMs. I usually suspend them. But if I need to reboot or shutdown I run this suid wrapper command once I log in into X. You can make it start automatically if you want to.

Notice:
The VMware package has static versions of libs included. I tried to get rid of them by using --disable-static and --enable-static=no but with no effect. I know I could just delete them before the actual package is created but decided to leave it as it is. Maybe I should email maintainer?
Thanks a lot, I will try it. By the way, i emailed the maintainer two days ago, he's keeping silence.
 
Old 01-05-2018, 05:44 AM   #6
slalik
Member
 
Registered: Nov 2014
Location: Moscow, Russia
Distribution: Slackware
Posts: 151

Rep: Reputation: 80
A few days ago I compiled the fresh version https://github.com/vmware/open-vm-to.../stable-10.2.0. I used the same configure section as above, but I had to add the line
Code:
LIBS=-lcrypt \
just before configure to get rid of the "undefined reference to `crypt'" error. I wrote to the maintainer and he answered that he will care of this asap.

I use open-vm-tools in a server on a vps hosted on vmware. The hosting provides a template for Debian, which I studied before changing to Slackware. On Debian they run vmtoolsd and VGAuthService.
 
1 members found this post helpful.
Old 01-05-2018, 09:18 AM   #7
lagavulin16
LQ Newbie
 
Registered: Aug 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by slalik View Post
A few days ago I compiled the fresh version https://github.com/vmware/open-vm-to.../stable-10.2.0. I used the same configure section as above, but I had to add the line
Code:
LIBS=-lcrypt \
just before configure to get rid of the "undefined reference to `crypt'" error. I wrote to the maintainer and he answered that he will care of this asap.

I use open-vm-tools in a server on a vps hosted on vmware. The hosting provides a template for Debian, which I studied before changing to Slackware. On Debian they run vmtoolsd and VGAuthService.
I have edited SlackBuild according to your instructions - and it compiles and works like a charm! With the fresh 10.2.0 version I didn't even need to edit rc.vmtoolsd or start services manually, fullscreen resizing and drag'n'drop work out of the box after upgrading package! I noticed there are two processes called "vmtoolsd" after upgrade and there was the only one before. I think that the cause of error was:

--without-x \

Anyway, thank a lot to all!

Last edited by lagavulin16; 01-05-2018 at 09:22 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] open-vm-tools-stable-10.0.5 install problem anak_bawang Linux From Scratch 3 01-24-2016 09:59 PM
"can't open file 'install.py'" when attempting to install Eric from Slackbuild AdiLQ123 Slackware 2 09-18-2015 04:57 PM
problem with alsa-tools Slackbuild plutek Studio 13.37 1 06-20-2013 04:28 PM
Any Interest in a SlackBuild for The Generic Mapping Tools tronayne Slackware 5 01-19-2010 08:39 PM
LXer: Install open-vm-tools on Debian 4.0 (Etch) LXer Syndicated Linux News 0 09-29-2008 11:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration