VBoxClient for window manager!

Greetings community!



How to load VBoxClient in ~/.xinitrc for window manager? The window manager like Fvwm or others like Fluxbox does not detect guest addition libraries, FreeBSD as guest in virtualbox, Xorg is configured by default and the guest edition port is installed.
 
I have the following in my ~/.xsession:

Code:
if [ -f /usr/local/bin/VBoxClient ]; then
    /usr/local/bin/VBoxClient --clipboard &
    /usr/local/bin/VBoxClient --display &
    /usr/local/bin/VBoxClient --seamless &
    /usr/local/bin/VBoxClient --draganddrop &
    start_sleep=2
fi

The start_sleep=2 bit is a delay to start sysutils/conky. Without this delay conyy windows start in the wrong place for me.
 
Can be a bit simpler:
Code:
[ -x /usr/local/bin/VBoxClient-all ] && /usr/local/bin/VBoxClient-all
No need to explicitly background it (&), they're all started in the background.
 
Can be a bit simpler:
Code:
[ -x /usr/local/bin/VBoxClient-all ] && /usr/local/bin/VBoxClient-all
No need to explicitly background it (&), they're all started in the background.
Is this added to the ~/.xinitrc file?
 
Back
Top