this is from (Micked) on the old forum and still works
make you not have to type startx every time you boot, it goes right to desktop.
Using this on backtrack 4 Pre Final persistent changes.
ctrl+o #WriteOut (o=letter, NOT a zero)
all done!! reboot and try it out.
you can put all kind of things you want to autostart in this file, like me, I have put "start-network" and "wicd-client" so that I have working network every time I boot.