openbox-session runs an openbox session without any session manager. Without a session manager, you will not be able to save your state from one log in to the next.
openbox-session does not take any command line arguments.
On log in, openbox-session will run the ~/.config/openbox/autostart.sh script if it exists, and will run the system-wide script /etc/xdg/openbox/autostart.sh otherwise. You may place anything you want to run automatically in those files, for example:
xsetroot -solid grey & gnome-settings-daemon &
Make sure that each line is followed by a "&" or else the script will stop there and further commands will not be executed. You can use the /etc/xdg/openbox/autostart.sh file as an example for creating your own.
openbox(1), openbox-session(1), openbox-gnome-session(1).
The program's full documentation is available on the website: http://openbox.org/
Please report bugs to: http://bugzilla.icculus.org/
obxprop(1), openbox(1), openbox-kde-session(1).