home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / gnome / help / system-admin-guide / C / sessions.xml < prev    next >
Encoding:
Text File  |  2006-08-09  |  3.5 KB  |  95 lines

  1. <chapter id="sessions-0">
  2.   <title>Session Management</title>
  3.   <highlights>
  4.     <para>This chapter introduces session management, and describes
  5. how to set session defaults. The chapter also contains information on sessions
  6. and login scripts.</para>
  7.   </highlights>
  8.   <sect1 id="sessions-1">
  9.     <title>Introduction to Sessions</title>
  10.     <indexterm>
  11.       <primary>sessions</primary>
  12.       <secondary>introduction</secondary>
  13.     </indexterm>
  14.     <para>A session occurs between the time that a user logs in to
  15. the GNOME Desktop and the time that the user logs out. The session manager
  16. starts after the <application>Login Manager</application> authenticates the
  17. user. The session manager enables the user to manage the session. For example,
  18. a user can save the state of a session and return to that session the next
  19. time that the user logs in. </para>
  20.     <para>At a minimum, the following applications run in a session:</para>
  21.     <itemizedlist>
  22.       <listitem>
  23.         <para>The session manager, <command>gnome-session</command>.</para>
  24.       </listitem>
  25.       <listitem>
  26.         <para>The <application>GConf</application> X settings daemon, <command>gnome-settings-daemon</command>.</para>
  27.       </listitem>
  28.       <listitem>
  29.         <para>The <application>gnome-panel</application> application, which
  30. runs the panels in the GNOME Desktop.</para>
  31.       </listitem>
  32.       <listitem>
  33.         <para>The <application>Metacity</application> window manager.</para>
  34.       </listitem>
  35.     </itemizedlist>
  36.   </sect1>
  37.   <sect1 id="sessions-3">
  38.     <title>Setting Session Defaults</title>
  39.     <indexterm>
  40.       <primary>sessions</primary>
  41.       <secondary>setting defaults</secondary>
  42.     </indexterm>
  43.     <para>The following table lists the files that contain default
  44. session information:</para>
  45.     <informaltable frame="topbot">
  46.       <tgroup cols="2" colsep="0" rowsep="0">
  47.         <colspec colwidth="51.80*"/>
  48.         <colspec colwidth="48.20*"/>
  49.         <thead>
  50.           <row rowsep="1">
  51.             <entry>
  52.               <para>File</para>
  53.             </entry>
  54.             <entry>
  55.               <para>Description</para>
  56.             </entry>
  57.           </row>
  58.         </thead>
  59.         <tbody>
  60.           <row>
  61.             <entry valign="top">
  62.               <para>
  63.                 <filename>/usr/share/gnome/default.session</filename>
  64.               </para>
  65.             </entry>
  66.             <entry valign="top">
  67.               <para>Default session file.
  68. Default session details are stored in this file.</para>
  69.             </entry>
  70.           </row>
  71.           <row>
  72.             <entry valign="top">
  73.               <para>
  74.                 <filename>$HOME/.gnome2/session</filename>
  75.               </para>
  76.             </entry>
  77.             <entry valign="top">
  78.               <para>User session file. When a user modifies the session,
  79. the details are stored in this file.</para>
  80.             </entry>
  81.           </row>
  82.         </tbody>
  83.       </tgroup>
  84.     </informaltable>
  85. <!--The last row does not appear to be true in Mercury - check.-->
  86.     <para>To set default session details for all users, modify the default session
  87. file. </para>
  88.     <para>To restore the default session settings for a user, delete the session
  89. file from the home directory of the user. If no user session file is present,
  90. the default settings in <filename>/usr/share/gnome/default.session</filename>
  91. are used. </para>
  92.     <para>To save the current session as the default session, users can run the <command>gnome-session-save</command> command. </para>
  93.   </sect1>
  94. </chapter>
  95.