18108eb18SmrgREADME file for the X Session Manager (xsm) 28108eb18Smrg------------------------------------------- 38108eb18Smrg 48108eb18Smrgxsm is a session manager. A session is a group of applications, each 58108eb18Smrgof which has a particular state. xsm allows you to create arbitrary 68108eb18Smrgsessions - for example, you might have a "light" session, a "development" 78108eb18Smrgsession, or an "xterminal" session. Each session can have its own set of 88108eb18Smrgapplications. Within a session, you can perform a "checkpoint" to save 98108eb18Smrgapplication state, or a "shutdown" to save state and exit the session. When 108108eb18Smrgyou log back in to the system, you can load a specific session, and you can 118108eb18Smrgdelete sessions you no longer want to keep. 128108eb18Smrg 138108eb18SmrgSome session managers simply allow you to manually specify a list of 148108eb18Smrgapplications to be started in a session. xsm is more powerful because it 158108eb18Smrglets you run applications and have them automatically become part of the 168108eb18Smrgsession. On a simple level, xsm is useful because it gives you this ability 178108eb18Smrgto easily define which applications are in a session. The true power of 188108eb18Smrgxsm, however, can be taken advantage of when more and more applications 198108eb18Smrglearn to save and restore their state. 208108eb18Smrg 218108eb18SmrgThis README file discusses the necessary steps you must take to run xsm. To 228108eb18Smrglearn more about the details of xsm's functionality, read the xsm man page. 238108eb18Smrg 248108eb18SmrgBefore building xsm, you should make sure you have the following libraries 251a650d1eSmrgbuilt on your system: 268108eb18Smrg 278108eb18SmrglibICE - the Inter Client Exchange Library 288108eb18SmrglibSM - the Session Management Library 298108eb18SmrglibXt - the X Toolkit with support for session management 308108eb18Smrg 318108eb18SmrgOnce you are sure all of the required libraries are built, you are ready 328108eb18Smrgto build xsm. 338108eb18Smrg 348108eb18SmrgBefore you can run xsm, you must make sure that the following programs are 351a650d1eSmrgbuilt and installed on your system: 368108eb18Smrg 378108eb18Smrgsmproxy - the session manager proxy for applications that don't support 388108eb18Smrg R6 style session management 398108eb18Smrgiceauth - handles storing/retrieving ICE authentication information 408108eb18Smrgrstart - allows xsm to start applications on remote machines 418108eb18Smrgtwm - window manager that support R6 style session management - takes 428108eb18Smrg care of saving window configurations in a session 438108eb18Smrg 448108eb18SmrgNote that to install rstart, you will need to have root privileges because 458108eb18Smrgthe program must be installed in a system wide default path. 468108eb18Smrg 478108eb18Smrg*** rstart and iceauth should be installed on each machine that you expect 488108eb18Smrg to run applications on that will be part of your session *** 498108eb18Smrg 508108eb18SmrgAlso note that twm is the default window manager that xsm starts up. If you 518108eb18Smrgwould like to use a different window manager, follow the instructions in the 528108eb18Smrgxsm man page for defining the default startup applications. Be aware that if 538108eb18Smrgthe window manager you choose has not been modified to support R6 style 548108eb18Smrgsession management, window configurations will not be saved in your sessions. 558108eb18Smrg 568108eb18SmrgOnce again, for more information about actually using xsm, please read the 578108eb18Smrgxsm man page. 588108eb18Smrg 598108eb18SmrgTo learn more about making your applications "session aware", consult the 608108eb18SmrgX Toolkit Intrinsics documentation. 61