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

Using the scologin administration script

Using the scologin administration script

The Graphical Environment provides a script, /etc/scologin, that allows system administrators to control the scologin process. The script must be run as root.

There are six options that you can use with this script:

start
starts the scologin process, which in turn reads the files Xconfig, Xservers, and Xresources, all located in /usr/lib/X11/scologin 

stop
stops the scologin process. Run scologin stop to halt all current sessions managed by scologin. For example, use the stop option if you want to reclaim scologin-managed ttys and restore getty processes.


NOTE: This option shuts down all scologin processes on your system, which results in the closure of any sessions running at the time you run the script. You should notify users before you run this script.

query
shows the current state of the scologin process

disable
stops the current scologin process and prevents scologin from starting when the system re-boots; re-enables getty processes on scologin-managed ttys

enable
ensures that scologin starts when the system re-boots and starts the scologin process if it is not already running 

init
if scologin is enabled, disables getty processes on screens that are configured for scologin. scologin init should only be run by init at boot time.