>>> On 2/12/2009 at  9:16 AM, "Dominique Leuenberger"
<dominique.leuenber...@tmf-group.com> wrote: 
> I'm not entirely sure how symlinking the two together will help, considering 
> that vmware-user-suid-wrapper is starting vmware-user. Having them
> symlinked sounds like  weird look. But for some reasons apparently it seems 
> to work out for you.
> I think I'll replace the startup of vmware-user-suid-wrapper with a script 
> that 
> is trying test if the start succeeded, and if not try to restart it
> for a few times, with a sleep of 1 second or the like.

A possible solution I just implemented here:
A script that tests for the existence of /proc/fs/vmblock/dev, if not there 
sleeps for a short time (increasing) and then retries again.

This seems to help me out for all the cases and it seemed (so far) always to 
sleep long enough. The script is attached, so if you see something
completely weird / wrong, please let me know.
Always willing to improve it further.

This script is now used in the /etc/xdg/autostart/vmware-user desktop instead 
of vmware-user-suid-wrapper directly. So having one more abstraction
layer in between, taking care of everything working out the way it should.

Dominique

Attachment: vmware-user-autostart-wrapper
Description: Binary data

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to