XINIT(1) — Unix Programmer’s Manual
NAME
xinit - X Window System initializer
SYNOPSIS
xinit [[client] options] [-- [server] [display] options]
DESCRIPTION
The xinit program is used to start the X Window System server and a first client program (usually a terminal emulator) on systems that cannot start X directly from /etc/init or in environments that use multiple window systems. When this first client exits, xinit will kill the X server and then terminate.
Unless otherwise specified on the command line, xinit assumes that there are programs called “X” and “xterm” in the current search path. It starts the server on display 0 and then runs an xterm using the following command line: xterm -geometry +1+1 -n login -display unix:0 (systems that don’t support Unix domain sockets will be started with hostname:0 instead).
An alternate client and/or server may be specified on the command line. The desired client program and its arguments should be given as the first command line arguments to xinit. To specify a particular server command line, append a double dash (--) to the xinit command line (after any client and arguments) followed by the desired server comand.
Both the client program name and the server program name must begin with a slash (/) or a period (.). Otherwise, they are treated as an arguments to be appended to their respective startup lines. This makes it possible to add arguments (for example, foreground and background colors) without having to retype the whole command line.
If an explicit server name is not given and the first argument following the double dash (--) is a digit, xinit will use that number as the display number instead of zero. All remaining arguments are appended to the server command line.
EXAMPLES
xinit -geometry =80x65+10+10 -fn 8x13 -j -fg white -bg navy xinit -e widgets -- Xsun -l -c xinit rsh fasthost cpupig -display workstation:1 -- 1 -a 2 -t 5
SEE ALSO
COPYRIGHT
Copyright 1988, Massachusetts Institute of Technology.
See X(1) for a full statement of rights and permissions.
AUTHOR
Bob Scheifler, MIT Laboratory for Computer Science
X Version 11 — 1 March 1988