cdesktopenv/cde/doc/C/guides/usersGuide/ch02.sgm

344 lines
12 KiB
Plaintext

<!-- $XConsortium: ch02.sgm /main/9 1996/09/08 19:42:38 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<Chapter Id="UG.LogIn.div.1">
<Title Id="UG.LogIn.mkr.1">Starting a Desktop Session</Title>
<Para>A desktop session occurs between the time
you log in and the time you log out.</Para>
<Para>The login screen, displayed by the Login Manager, is your gateway to the
desktop.<IndexTerm>
<Primary>login screen</Primary>
</IndexTerm>
It provides a place for you to type your login name and password.
The Options menu on the login screen lists your login options. In addition to
running a desktop session, you can run a failsafe session. You can
also select the language for your session.</Para>
<InformalTable Id="UG.LogIn.itbl.1" Frame="All">
<TGroup Cols="1">
<ColSpec Colname="1" Colwidth="4.0 in">
<TBody>
<Row Rowsep="1">
<Entry><Para><!--Original XRef content: 'Starting and Ending a Desktop Session35'--><XRef Role="JumpText" Linkend="UG.LogIn.mkr.2"></Para></Entry>
</Row>
<Row Rowsep="1">
<Entry><Para><!--Original XRef content: 'To Use a Session in a Different Language36'--><XRef Role="JumpText" Linkend="UG.LogIn.mkr.3"></Para></Entry>
</Row>
<Row Rowsep="1">
<Entry><Para><!--Original XRef content: 'Starting a Failsafe Session37'--><XRef Role="JumpText" Linkend="UG.LogIn.mkr.4"></Para></Entry>
</Row>
<Row Rowsep="1">
<Entry><Para><!--Original XRef content: 'Starting a Command-Line Session37'--><XRef Role="JumpText" Linkend="UG.LogIn.mkr.5"></Para></Entry>
</Row>
<Row Rowsep="1">
<Entry><Para><!--Original XRef content: 'Using a Home Session38'--><XRef Role="JumpText" Linkend="UG.LogIn.mkr.6"></Para></Entry>
</Row>
</TBody>
</TGroup>
</InformalTable>
<Sect1 Id="UG.LogIn.div.2">
<Title Id="UG.LogIn.mkr.2">Starting and Ending a Desktop Session</Title>
<Para>A desktop session starts when you log in. Session Manager is started after
Login Manager authenticates your login and password.</Para>
<Para>Session Manager provides the ability to <Emphasis>manage</Emphasis> sessions&mdash;to remember the
state of your most recent session and return you there the next time you log in.</Para>
<Para>Session Manager saves and restores:</Para>
<ItemizedList Remap="Bullet1">
<ListItem>
<Para>The appearance and behavior settings &ndash; for example, fonts, colors, and
mouse settings.</Para>
</ListItem>
<ListItem>
<Para>The window applications that were running &ndash; for example, your File
Manager and Text Editor windows. Certain types of applications can't be
saved and restored by Session Manager. For example, if you start the <Command>vi</Command>
editor from a command line in a Terminal window, Session Manager cannot
restore your editing session.</Para>
</ListItem>
</ItemizedList>
<Sect2 Id="UG.LogIn.div.3" Role="Procedure">
<Title>To Log In to a Desktop Session</Title>
<OrderedList>
<ListItem>
<Para>Type your login name and press Return or click OK.<IndexTerm>
<Primary>logging in</Primary>
</IndexTerm>
</Para>
</ListItem>
<ListItem>
<Para>Type your password and press Return or click OK.<IndexTerm>
<Primary>desktop session</Primary>
</IndexTerm>
</Para>
<Para>If Login Manager does not recognize your name or password, click Start
Over and start the log in process over again.</Para>
</ListItem>
</OrderedList>
<Para>Once you've logged in, Session Manager starts a session:</Para>
<ItemizedList Remap="Bullet1">
<ListItem>
<Para>If this is the first time you've logged in, you'll get a new session.</Para>
</ListItem>
<ListItem>
<Para>If you've logged in before, your previous session will be restored.</Para>
</ListItem>
</ItemizedList>
</Sect2>
<Sect2 Id="UG.LogIn.div.4" Role="Procedure">
<Title>To Log Out</Title>
<ItemizedList Remap="Bullet1">
<ListItem>
<Para>Click the Exit control in the Front Panel.<IndexTerm>
<Primary>logging out</Primary>
</IndexTerm><IndexTerm>
<Primary>Front Panel</Primary>
<Secondary>Exit control</Secondary>
</IndexTerm><IndexTerm>
<Primary>Exit control</Primary>
</IndexTerm>
</Para>
</ListItem>
<ListItem>
<Para><Emphasis>Or</Emphasis>, choose Log out from the Workspace menu.</Para>
</ListItem>
</ItemizedList>
<Para>When you log out of a regular desktop session, Session Manager saves
information about your current session so that it can be restored the next time
you log in. Information about non-desktop applications may not be saved.</Para>
</Sect2>
<Sect2 Id="UG.LogIn.div.5" Role="Procedure">
<Title Id="UG.LogIn.mkr.3">To Use a Session in a Different Language</Title>
<OrderedList>
<ListItem>
<Para>Choose Language from the Options menu on the login screen.<IndexTerm>
<Primary>language, setting for desktop session</Primary>
</IndexTerm>
</Para>
</ListItem>
<ListItem>
<Para>Choose the language group that includes the language you need.</Para>
</ListItem>
<ListItem>
<Para>Select a language.</Para>
</ListItem>
<ListItem>
<Para>Log in.</Para>
</ListItem>
</OrderedList>
<Para>The default language for your system is set by your system administrator. The
Options menu enables you to access other languages. Choosing a language in
the Options menu sets the LANG environment variable for your session. The
default language is restored at the end of the session.</Para>
</Sect2>
</Sect1>
<Sect1 Id="UG.LogIn.div.6">
<Title Id="UG.LogIn.mkr.4">Starting a Failsafe Session</Title>
<Para><IndexTerm>
<Primary>failsafe session</Primary>
</IndexTerm>A failsafe session is a session that starts a single Terminal window (and
optionally Workspace Manager). It is useful when you need access to a single
Terminal window to execute several commands before logging in to a desktop
session.</Para>
<Sect2 Id="UG.LogIn.div.7" Role="Procedure">
<Title>To Log In to a Failsafe Session</Title>
<OrderedList>
<ListItem>
<Para>Choose Session from the Options menu.</Para>
</ListItem>
<ListItem>
<Para>Choose Failsafe Session from the Session submenu.</Para>
</ListItem>
<ListItem>
<Para>Log in.</Para>
</ListItem>
</OrderedList>
</Sect2>
<Sect2 Id="UG.LogIn.div.8" Role="Procedure">
<Title>To Log Out of a Failsafe Session</Title>
<OrderedList>
<ListItem>
<Para>Type the <Command>exit</Command> command in a Terminal window.</Para>
</ListItem>
</OrderedList>
</Sect2>
</Sect1>
<Sect1 Id="UG.LogIn.div.9">
<Title Id="UG.LogIn.mkr.5">Starting a Command-Line Session</Title>
<Para>Command Line Login mode enables you to temporarily leave the desktop to
work in your operating system environment. Command Line Login mode is not
a desktop session. When your system is in Command Line Login mode, the
desktop is suspended. You log in using your operating system mechanism
rather than Login Manager. There are no windows because the X server is not
running.<IndexTerm>
<Primary>Command Line Login mode</Primary>
<Secondary>definition of</Secondary>
</IndexTerm>
</Para>
<Sect2 Id="UG.LogIn.div.10" Role="Procedure">
<Title>To Log In to and Out of a Command-Line Session</Title>
<Note>
<Para>Certain types of configurations (for example, X terminals) do not
provide a Command Line Login mode option.</Para>
</Note>
<Para>To enter Command Line Login mode:<IndexTerm>
<Primary>Command Line Login mode</Primary>
<Secondary>logging in to</Secondary>
</IndexTerm><IndexTerm>
<Primary>Command Line Login mode</Primary>
<Secondary>exiting</Secondary>
</IndexTerm><IndexTerm>
<Primary>starting</Primary>
<Secondary>Command Line Login Mode</Secondary>
</IndexTerm>
</Para>
<OrderedList>
<ListItem>
<Para>Choose Command Line Login from the Options menu.</Para>
<Para>The login screen disappears and is replaced by a console prompt.</Para>
</ListItem>
<ListItem>
<Para>Supply your login and password as prompted.</Para>
</ListItem>
</OrderedList>
<Para>To leave Command Line Login mode:</Para>
<OrderedList>
<ListItem>
<Para>Type <Command>exit</Command> at a command-line prompt.</Para>
</ListItem>
</OrderedList>
</Sect2>
</Sect1>
<Sect1 Id="UG.LogIn.div.11">
<Title Id="UG.LogIn.mkr.6">Using a Home Session</Title>
<Para>Ordinarily, the desktop saves session information when you log out and uses
that information to start your next session. If you start or stop applications
during your session, or use Style Manager to change the appearance and
behavior of your system, changes you make are reflected in your next session.
This type of session is called a <Emphasis>current session</Emphasis>.<IndexTerm>
<Primary>current session</Primary>
<Secondary>definition of</Secondary>
</IndexTerm><IndexTerm>
<Primary>home session</Primary>
<Secondary>definition of</Secondary>
</IndexTerm><IndexTerm>
<Primary>session</Primary>
<Secondary>current</Secondary>
</IndexTerm><IndexTerm>
<Primary>session</Primary>
<Secondary>home</Secondary>
</IndexTerm>
</Para>
<Para>The desktop also provides a <Emphasis>home session</Emphasis>. A home session is a session that you
explicitly save. It's like taking a snapshot of your current session at some point
in time. Once you've saved a home session, you can specify that logging in
always restores that session instead of the current session.</Para>
<Sect2 Id="UG.LogIn.div.12" Role="Procedure">
<Title>To Save a Home Session</Title>
<OrderedList>
<ListItem>
<Para>Click the Style Manager control in the Front Panel.<IndexTerm>
<Primary>home session</Primary>
<Secondary>setting</Secondary>
</IndexTerm>
</Para>
</ListItem>
<ListItem>
<Para>Click the Startup control in Style Manager.</Para>
<Para>The Startup dialog box is displayed.</Para>
</ListItem>
<ListItem>
<Para>Click Set Home Session in the Startup dialog box.</Para>
</ListItem>
<ListItem>
<Para>Click OK in the confirmation dialog box that appears.</Para>
<Para>This saves the current state of your session.</Para>
</ListItem>
</OrderedList>
</Sect2>
<Sect2 Id="UG.LogIn.div.13" Role="Procedure">
<Title>To Automatically Start the Home Session at Login</Title>
<OrderedList>
<ListItem>
<Para>Click the Style Manager control in the Front Panel.<IndexTerm>
<Primary>home session</Primary>
<Secondary>starting automatically at login</Secondary>
</IndexTerm><IndexTerm>
<Primary>starting</Primary>
<Secondary>home session automatically at login</Secondary>
</IndexTerm>
</Para>
</ListItem>
<ListItem>
<Para>Click the Startup control in Style Manager.</Para>
<Para>The Startup dialog box is displayed.</Para>
</ListItem>
<ListItem>
<Para>Select Return to Home session.</Para>
</ListItem>
<ListItem>
<Para>Click OK.</Para>
</ListItem>
</OrderedList>
<Para>When you choose Return to Home session, Session Manager will <Symbol Role="Variable">not</Symbol> save your
session at logout.</Para>
</Sect2>
<Sect2 Id="UG.LogIn.div.14" Role="Procedure">
<Title>To Choose Which Session to Start</Title>
<OrderedList>
<ListItem>
<Para>On the Login screen, click the Options button.<IndexTerm>
<Primary>session</Primary>
<Secondary>determining at login</Secondary>
</IndexTerm>
</Para>
</ListItem>
<ListItem>
<Para>Click Session. The Session menu lists the available sessions:
</para>
<variablelist>
<varlistentry><term>Current</term>
<listitem>
<para>Starts your most recent session.</para>
</listitem>
</varlistentry>
<varlistentry><term>Home</term>
<listitem>
<para>Starts your home session (if you set one).</para>
</listitem>
</varlistentry>
<varlistentry><term><emphasis>display-name</emphasis> - Current</term>
<listitem>
<para>Creates a new session specific to your display and starts your display-specific
home session (if you created one), your generic home session (if one exists),
or a new user session.
</para>
</listitem>
</varlistentry>
<varlistentry><term><emphasis>display-name</emphasis> - Home</term>
<listitem>
<para>Creates a new session specific to your display and starts either
your generic home session (if one exists) or a new user session.
</para>
</listitem>
</varlistentry>
<varlistentry><term>Failsafe Session</term>
<listitem>
<para>Starts a failsafe session.</para>
</listitem>
</varlistentry>
</variablelist>
</listitem>
<listitem>
<para>Click on the session you want to start.
</para>
</ListItem>
</OrderedList>
</Sect2>
</Sect1>
</Chapter>
<!--fickle 1.14 mif-to-docbook 1.7 01/02/96 10:57:19-->