I don't know if this fits into the picture, but if you open System Preferences/Security you will see a check box that lets you automatically log out after a set number of minutes of inactivity (the default value is 60). Make sure this is unchecked if you want to be sure the system doesn't log out on you without your permission. jg