You can configure Ubuntu to "remember" the last opened programs and automatically open them at the next session.
- Go to System menu > Preferences > Startup Applications > Options tab.
- Check "Remember currently running applications"
This document, titled « Ubuntu - Automatically restore last opened programs at next sessi », is available under the Creative Commons
license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM