#!/bin/bash Xgl :1 -ac -accel xv:pbuffer -accel glx:pbuffer & dbus-launch --auto-syntax --exit-with-session & sleep 2 DISPLAY=:1 compiz --replace gconf & DISPLAY=:1 cgwd --replace & sleep 5 DISPLAY=:$1 xfce-mcs-manager & DISPLAY=:$1 cgwd --replace & DISPLAY=:$1 xfdesktop & DISPLAY=:$1 exec xfce4-panel