Na Xgl stačí vytvořit ~/.Xsession soubor a nastavit mu práva na spuštění (chmod 744 .Xsession), nicméně Xgl, lépe řečeno compiz se mi zdá být zatím celkem nepoužitelný.
Obsah souboru .Xsession:
#!/bin/sh
# Start up Xgl, compiz, and GNOME
# Run Xgl server on :1, on top of normal X
Xgl :1 -fullscreen -ac -accel xv -accel glx:pbuffer &
# Tell subsequent X programs to access the Xgl server at :1
DISPLAY=:1
# Start Compiz window manager
gnome-window-decorator &
compiz gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher &
# Start GNOME
exec gnome-session