Graphical Environment Guide
Chapter 3, Customizing startup of the Graphical Environment

Running scologin

Running scologin

The scologin display manager provides graphical login windows to local and remote X servers, as well as services that are similar to those provided by login or getty. In particular, scologin:


NOTE: See ``Customizing scologin'' for information on modifying scologin to manage multiple displays, including X terminals.

The scologin client is started as a daemon from the P86scologin script in /etc/rc2.d. By default, scologin controls the display on the second multiscreen, /dev/tty02.

The scologin window appears on the screens of all active X servers for which scologin is configured to manage. The scologin window contains two fields into which you enter your login name and password. The box also contains three buttons: Login, Restart, and Help. To start your session, enter your login and password, then press <Enter> or click on Login. To restart the X server and redisplay the scologin window, click on Restart.

If the login is successful, the following environment variables are set: $DISPLAY, $HOME, and $PATH. If you run the Desktop client, the $LANG environment variable is also set. These variables are discussed in ``Using environment variables''.

Once a user is successfully authenticated, several scripts are executed. These scripts are located in /usr/lib/X11/scologin and are listed in Table 3-1, ``scologin session scripts''. 

Table 3-1 scologin session scripts

 ---------------------------------------------------------------------------
 Configuration file   Description
 ---------------------------------------------------------------------------
 Xstartup             a startup script that defines actions scologin takes
                      before beginning the user's session
 Xsession,            defines the nature of the user's X server session by
 Xsession-csh,        running the /usr/bin/startx script, which starts
 Xsession-ksh,        scosession 
 Xsession-sh 
 Xreset               defines the actions that scologin takes when the user
                      ends a session

See also: