I have a script that I need to start up after the user logs in via a nx client. From what I understand, Gnome starts up after a user logs in (correct me if I am wrong here).
In gnome3, if you prefer a GUI based approach you could run the command: ALT + F2, then type in the window that pop ups:
gnome-session-properties