You could put this in your $HOME/.xinitrc file (plumber and factotum are optional)
""" plumber factotum exec rio """ It should run when you use 'startx' When I last used Ubuntu however .xinitrc seemed to be omitted from GDM. A quick google brings this up http://subforge.org/blogs/show/13