-# start the window manager
-if which quartz-wm 2>&1 >/dev/null; then
- quartz-wm --only-proxy &
+# Launch ssh-agent-manager
+if which ssh-agent-manager 2>&1 >/dev/null; then
+ eval `ssh-agent-manager -s`
+fi
+
+# Start X.org auxiliary utilities
+if which vmware-user-suid-wrapper >/dev/null 2>&1; then
+ echo "Open Virtual Machine Tools is available. Starting..."
+ vmware-user-suid-wrapper
+
+elif vmware-user >/dev/null 2>&1; then
+ echo "VMWare Tools is available. Starting..."
+ vmware-user &
+
+elif which VBoxClient >/dev/null 2>&1; then
+ echo "VirtualBox Guest Addon is available. Starting..."
+ VBoxClient --display
+ VBoxClient --clipboard
+fi
+
+# Start the window manager
+echo ".xinitrc is going to exec window manager..."
+#if which quartz-wm 2>&1 >/dev/null; then
+# quartz-wm --only-proxy &
+#fi
+if which fluxbox >/dev/null 2>&1; then
+ exec fluxbox