#!/bin/sh /usr/bin/Xgl :1 -ac -accel xv:fbo -accel glx:pbuffer & wait 5 export DISPLAY=:1 gnome-terminal &