DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Customizing startup of the Graphical Environment

Defining X server sessions

After executing the startup script, scologin searches for a script that defines the X server session. First, it looks for a file called .xsession in the user's home directory.

If no user-specific file is found, scologin looks for /usr/lib/X11/scologin/Xsession-SHELL, where SHELL is the user's current shell. For example, a session that is running csh would use the Xsession-csh file.

The Xsession files are started as login shells, which set any environment variables that are specified in the user's .profile or .login file. Then the Xsession files run the startx -t script. Basically, scologin passes the responsibility for session management to the startx script, which then passes control to the scosession client. For more information on these next stages of session startup, see ``Running the startx script''.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005