Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Displaying a Login Screen on a Local Display

Upon startup, the login server checks the Xservers file to determine if an X server needs to be started and to determine if and how login screens should be displayed on local or network displays.

To modify Xservers, copy Xservers from /usr/dt/config to /etc/dt/config. After modifying /etc/dt/config/Xservers, tell the login server to reread Xservers by typing:

/usr/dt/bin/dtconfig -reset

This issues the command kill -HUP login_server_process_ID

The format of an Xservers line is:

display_name display_class display_type X_server_command 

where

display_name--tells the login server the connection name to use when connecting to the X server (:0 in the following example). A value of * (asterisk) is expanded to host name:0. The number specified must match the number specified in the X_server_command connection number.

display_class--identifies resources specific to this display (Local in the following example).

display_type--tells the login server whether the display is local or a network display, and how to manage the Command Line Login option on the login screen (local@console in the following example).

X_server_command--identifies the command line, connection number, and other options the login server will use to start the X server (/usr/bin/X11/X: 0 in the following example). The connection number specified must match the number specified in the display_name.

The default Xservers line is similar to:

:0 Local local@console /usr/bin/X11/X :0