README revision 8108eb18
18108eb18Smrg$Xorg: README,v 1.3 2000/08/17 19:55:04 cpqbld Exp $ 28108eb18Smrg 38108eb18SmrgREADME file for the X Session Manager (xsm) 48108eb18Smrg------------------------------------------- 58108eb18Smrg 68108eb18Smrgxsm is a session manager. A session is a group of applications, each 78108eb18Smrgof which has a particular state. xsm allows you to create arbitrary 88108eb18Smrgsessions - for example, you might have a "light" session, a "development" 98108eb18Smrgsession, or an "xterminal" session. Each session can have its own set of 108108eb18Smrgapplications. Within a session, you can perform a "checkpoint" to save 118108eb18Smrgapplication state, or a "shutdown" to save state and exit the session. When 128108eb18Smrgyou log back in to the system, you can load a specific session, and you can 138108eb18Smrgdelete sessions you no longer want to keep. 148108eb18Smrg 158108eb18SmrgSome session managers simply allow you to manually specify a list of 168108eb18Smrgapplications to be started in a session. xsm is more powerful because it 178108eb18Smrglets you run applications and have them automatically become part of the 188108eb18Smrgsession. On a simple level, xsm is useful because it gives you this ability 198108eb18Smrgto easily define which applications are in a session. The true power of 208108eb18Smrgxsm, however, can be taken advantage of when more and more applications 218108eb18Smrglearn to save and restore their state. 228108eb18Smrg 238108eb18SmrgThis README file discusses the necessary steps you must take to run xsm. To 248108eb18Smrglearn more about the details of xsm's functionality, read the xsm man page. 258108eb18Smrg 268108eb18SmrgBefore building xsm, you should make sure you have the following libraries 278108eb18Smrgbuilt on your system with all fix-trackers patches applied: 288108eb18Smrg 298108eb18SmrglibICE - the Inter Client Exchange Library 308108eb18SmrglibSM - the Session Management Library 318108eb18SmrglibXt - the X Toolkit with support for session management 328108eb18Smrg 338108eb18SmrgTo build these libraries, you would change your current directory to 348108eb18Smrglib/ICE, lib/SM, or lib/Xt and do the following: 358108eb18Smrg 368108eb18Smrgmake Makefile 378108eb18Smrgmake includes 388108eb18Smrgmake depend 398108eb18Smrgmake 408108eb18Smrg 418108eb18Smrg 428108eb18SmrgOnce you are sure all of the required libraries are built, you are ready 438108eb18Smrgto build xsm. 448108eb18Smrg 458108eb18SmrgChange your current directory to workInProgress 468108eb18Smrg 478108eb18Smrgmake Makefiles SUBDIRS=xsm 488108eb18Smrgcd xsm 498108eb18Smrgmake includes 508108eb18Smrgmake depend 518108eb18Smrgmake install 528108eb18Smrg 538108eb18Smrg 548108eb18SmrgBefore you can run xsm, you must make sure that the following programs are 558108eb18Smrgbuilt and installed on your system with all fix-trackers patches applied: 568108eb18Smrg 578108eb18Smrgsmproxy - the session manager proxy for applications that don't support 588108eb18Smrg R6 style session management 598108eb18Smrgiceauth - handles storing/retrieving ICE authentication information 608108eb18Smrgrstart - allows xsm to start applications on remote machines 618108eb18Smrgtwm - window manager that support R6 style session management - takes 628108eb18Smrg care of saving window configurations in a session 638108eb18Smrg 648108eb18SmrgTo build and install these programs, you would change your current directory 658108eb18Smrgto programs/smproxy, programs/iceauth, programs/rstart, or programs/twm and 668108eb18Smrgdo the following: 678108eb18Smrg 688108eb18Smrgmake Makefile 698108eb18Smrgmake includes 708108eb18Smrgmake depend 718108eb18Smrgmake install 728108eb18Smrg 738108eb18Smrg 748108eb18SmrgNote that to install rstart, you will need to have root privileges because 758108eb18Smrgthe program must be installed in a system wide default path. 768108eb18Smrg 778108eb18Smrg*** rstart and iceauth should be installed on each machine that you expect 788108eb18Smrg to run applications on that will be part of your session *** 798108eb18Smrg 808108eb18SmrgAlso note that twm is the default window manager that xsm starts up. If you 818108eb18Smrgwould like to use a different window manager, follow the instructions in the 828108eb18Smrgxsm man page for defining the default startup applications. Be aware that if 838108eb18Smrgthe window manager you choose has not been modified to support R6 style 848108eb18Smrgsession management, window configurations will not be saved in your sessions. 858108eb18Smrg 868108eb18SmrgOnce again, for more information about actually using xsm, please read the 878108eb18Smrgxsm man page. 888108eb18Smrg 898108eb18SmrgTo learn more about making your applications "session aware", consult the 908108eb18SmrgX Toolkit Intrinsics documentation. 91