dtsession
CDE's session manager, which brings up the desktop after login and remembers which programs were open.
Once dtlogin has let the user in, dtsession takes over. It loads resources and colour palettes, starts the dtwm window manager, and then restores whatever was running at the last logout, on the same workspaces and in the same positions. CDE distinguished two sessions: the current one, saved automatically at every logout, and a home session the user froze explicitly — handy for anyone who wanted to start each day from the same clean slate regardless of how the previous one ended.
dtsession also handled screen locking and the screensaver. Restoring only worked for programs that could say how they had been started; anything that couldn't simply didn't come back — a problem XSMP later tried to solve more generally.