Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

To Recover a Session from Backup

When Session Manager saves a session, the session information is stored in the HomeDirectory/.dt/sessions directory or in the HomeDirectory/.dt/display directory if using a display-specific session. In these directories, Session Manager creates a subdirectory named current or home to store information for the respective current or home session. Before the session information is stored, Session Manager makes a backup of the prior session with that name and stores it in current.old or home.old.

  1. Log in using the Failsafe Session or Command Line Login from the login screen.

  2. Copy the backup session directory to the active name. For example, to recover the backup home session:

    	cp -r HomeDirectory/.dt/sessions/home.old \
     	HomeDirectory/.dt/sessions/home

    Display-specific sessions can be recovered in the same manner.