>>> On 4/14/2009 at 11:24 , William Cattey <w...@mit.edu> wrote: > I have joined the open-vm-tools-devel list in the hopes of providing > some improvements to the vmware-user-suid-wrapper. > > I am using open-vm-tools under Ubuntu 8.10. There were some problems > but most were corrected with the fixes rolled out as per Ubuntu LP > 302226: https://bugs.launchpad.net/bugs/302226 > > There remains one problem: Now that vmware-user is properly > starting, drag and drop does not work. This is because vmblock is > not being properly started. > > I apologize in advance for being a first-time poster but disagreeing > with an answer given previously on the list. I think Dmitry Torokhov > may have given an incorrect answer to Dominique Leuenberger on > 2/11/2009. I am looking at the open-vm-tools-2009.03.18-15458 > download and it appears that the code in vmware-user-suid-wrapper to > load/unload the vmblock kernel module is missing.
I ended up then creating a shell script that is lainched instead of the vmware-suid-wrapper. on openSUSE, we have an rc.d script that takes care of loading the vmblock module, but still ended up in a race condition(gnome starting up faster than the module initialized). so the shell script vmware-user-autostart-wrapper looks like ### #!/bin/sh MAX_RETRY=8 RETRY=0 SLEEP=1 while [ $RETRY -lt $MAX_RETRY ]; do if [ -f /proc/fs/vmblock/dev ]; then /usr/bin/vmware-user-suid-wrapper exit 0 else logger "Try $RETRY/$MAX_RETRY : /proc/fs/vmblock/dev not available. sleeping for $SLEEP seconds" sleep $SLEEP RETRY=$[ $RETRY + 1 ] SLEEP=$[ $SLEEP * 2 ] fi done ### This helped me get around the issues at hand back then (which was pretty close to what Dmitry suggested). Dominique ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel