Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231525 - app-emulation/open-vm-tools-0.0.20080515.93241: vmware-guestd don't start vmware-user
Summary: app-emulation/open-vm-tools-0.0.20080515.93241: vmware-guestd don't start vmw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-11 18:33 UTC by Alin Năstac (RETIRED)
Modified: 2008-10-19 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/X11/xinit/xinitrc.d/10-vmware-tools (10-vmware-tools,114 bytes, text/plain)
2008-08-17 00:05 UTC, Alin Năstac (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alin Năstac (RETIRED) gentoo-dev 2008-07-11 18:33:57 UTC
The vmware-guestd daemon starts, but nothing happens. /tmp/VMwareDnD/ remains empty and the daemon has no children (it should had a vmware-user child).

Reinstalling the old version while keeping all the configuration files from the new version fixes the problem. Something must be wrong in the new daemon. It starts very fast and without saying anything.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-07-12 11:29:17 UTC
Hiya Alin,

Could you please test the latest version bump in the vmware overlay.  It's three versions newer and uses their makefile for installation, so it should be a bit smoother, and hopefully will auto launch the vmware-user daemon again...  5:)
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-07-12 13:54:52 UTC
app-emulation/open-vm-tools-0.0.20080701.102166 does not fix the problem. vmware-guestd daemon still doesn't start vmware-user daemon.

However, if I run vmware-user manually as root, the guest works as usual.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2008-07-13 10:05:26 UTC
Hiya Alin,

Just spotted this on their documentation site:

X11 Autostart (Linux, FreeBSD)
A recent change for Linux to the Open VM Tools adjusted the nature of the relationship between the VMware Tools service (vmware-guestd) and the VMware user process (vmware-user). The two programs have been completely decoupled, and as such vmware-guestd no longer attempts to automatically start and stop vmware-user processes on users' behalf. (This behavior is consistent with that of FreeBSD and Solaris.)

So it looks like I just need to figure out how best to autostart it.  Do you happen to know the best method for this kind of thing?  Their site suggests using /etc/X11/autostart, but I don't know if that'll work for all desktop environments, and whether I should just add a note about starting vmware-user?

Let me know what you think...  5:)
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2008-07-13 11:58:48 UTC
X is not exactly my specialty, but /etc/X11/xinit/xinitrc.d seems like the right place to install a XX-vmware startup script. The script should launch vmware-user only if vmware-guestd daemon is started.

Please add an elog message which inform user about necessary actions he/she needs to perform in order to start the vmware-tools:
  1) start vmware-tools service
  2) start/restart the X session

Take care,
Alin
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2008-08-17 00:05:10 UTC
Created attachment 163092 [details]
/etc/X11/xinit/xinitrc.d/10-vmware-tools

The attached script seems to fix this bug except the drag-n-drop operation.
Comment 6 Mike Auty (RETIRED) gentoo-dev 2008-08-20 20:43:50 UTC
Thanks Mrness,

I've added the fixed file into the latest ebuild which is now in the vmware overlay.  Please give it some testing and let me know if there are any problems...  5:)
Comment 7 Mike Auty (RETIRED) gentoo-dev 2008-08-30 20:06:28 UTC
Ok, the latest version has just been bumped in the tree, so I'm gonna mark this as fixed.  Feel free to reopen if there's any issues with it...  5:)
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2008-08-31 06:56:52 UTC
The version open-vm-tools-0.0.20080808.109361 would probably work fine ... if ${FILESDIR}/10-vmware-tools would exist :)
Comment 9 Mike Auty (RETIRED) gentoo-dev 2008-08-31 10:23:43 UTC
Doh!  Sorry about that, hopefully that's now all fixed up, thanks for spotting that!  5;)
Comment 10 Mike Auty (RETIRED) gentoo-dev 2008-09-18 14:14:27 UTC
From Jocelyn Le Sage:

The file /etc/X11/xinit/xinitrc.d/10-vmware-tools should be installed by default with executable permission; else vmware-tools and vmware-user called in this script will not be automatically started!

Thanks, this is now in the overlay, and should I forget, do poke me until it gets into the tree...  5:)
Comment 11 Alin Năstac (RETIRED) gentoo-dev 2008-10-19 12:50:11 UTC
(In reply to comment #10)
> Thanks, this is now in the overlay, and should I forget, do poke me until it
> gets into the tree...  5:)

ping ;)
Comment 12 Mike Auty (RETIRED) gentoo-dev 2008-10-19 13:07:19 UTC
Thanks, good work on the prodding, I had completely forgotten (sorry!).  It should be bumped now.  Give me a shout if it causes any more trouble...