If you are using debian, you could also configure a startup script
to run those programs. (Although I'm not sure if it gets executed before or after X loads).
In (almost) all Linux flavors except Debian, there is a file called ~/.xsession which is executed every time you log in. On Debian, that file is called ~/.xinitrc .