XSYSTEM(8X10) COMMAND REFERENCE XSYSTEM(8X10) NAME xsystem - X Window System SYNOPSIS /etc/xsystem This is supported. DESCRIPTION xsystem is a program that starts up the X window system at system start-up (when the workstation is booted or right after a user logs off the workstation from the workstation's display). It reads the first line of the file /etc/X.conf to determine whether if the X Window system is enabled for the workstation. If the enable line of X.conf is "yes", the specified X server, console emulator, and login terminal emulator are started. In the case where the workstation is enabled for X, after xsystem brings up the X window system, it waits for any of the started processes to terminate. If either the X server or the login emulator terminal emulator window terminates, the X window system is terminated. If the console terminal emulator terminates then it will be restarted by xsystem. If the first line of the file X.conf is "no" (X is not enabled for the workstation), or if xsystem encounters any errors, then /etc/getty is executed to allow a user to login to a full UTek screen. In any case, any error messages are recorded in the log file /usr/adm/xsystem.log. xsystem is invoked automatically at start-up time, or can be invoked by a user on a command line. When invoked at start- up time, it is invoked by the process init. When invoked by init, the command field for the console entry in the ttys file must be "xsytem y" and the enable line in the X.conf file must be "yes" (see xconfig(8x10) to allow xsystem to restart the X window system. However, when xsystem is invoked by a user on a command line (after logging into a full screen), the enable line in the X.conf file is ignored and xsystem will start up the X window system. However if xsystem encounters any errors it will exit. The correct way to change any of the workstation's configurations for the X the window system is to run xconfig and then log out of the login window (and if the user logged into a full screen, the user must also log out of the full screen). When the login window terminates, xsystem shuts Printed 4/6/89 1
XSYSTEM(8X10) COMMAND REFERENCE XSYSTEM(8X10) down the window system and terminates itself. init will restart xsystem and the cycle continues again. The xsystem program also creates a lock file in the /tmp directory for xenv to use. Once xsystem is running, xenv can be run only once, and only by the user who logged in to the X window system or started the X window system from a full screen command line. SIGHUP and SIGTERM signal cause xsystem to shut down the window system gracefully. FILES X.conf(5x10) Created by xconfig(8x10) and used by xsystem(8x10). ttys(5) Controls the process started by init(8). xsystem.log Error messages are recorded in /usr/adm/xsystem.log SEE ALSO xenv(1x10), ttys(5), X.conf(5x10), xconfig(8x10), init(8), getty(8). REFERENCES Appendix A of the X11 User Manual Printed 4/6/89 2
%%index%% na:384,77; sy:461,253; de:714,3171;4341,822; fi:5163,438; se:5601,247; re:5848,201; %%index%%000000000117