How to restore a Gnome 3 session?
Restoring GNOME Session State GNOME can automatically restore your session—reopening all applications and windows that were running when you last logged out. This differs from autostart scripts, which launch specific programs on every login regardless of what was running before. Automatic Session Restoration To enable automatic session restoration in GNOME: Open Settings → General (or…