Add support for a session start up script.

This script is used to source /etc/profile and .bash_profile etc to set
environment correctly and then starts the desktop environment.