X Version 11 1
XINIT(1) USER COMMANDS XINIT(1)
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, a primary client program (usually a terminal emula-
tor), and (additionally via an .xinitrc file) secondary
clients (e.g., xsetroot, xrdb, window manager) on systems
that cannot start X directly from /etc/init or in environ-
ments that use multiple window systems. When the primary
client exits, xinit will kill the X server and then ter-
minate. If the X server exits, xinit will kill the primary
client 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 +10+20 -n login -display unix:0
An alternate primary 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 argu-
ments 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 argu-
ment 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.
An .xinitrc file can be used to start secondary clients.
xinit looks for this file in the users home directory. If
the file exists it is either executed directly or passed to
the shell. The format of this file is typically:
client_a &
client_b &
X Version 11 Last change: 24 March 1988 1
XINIT(1) USER COMMANDS XINIT(1)
...
EXAMPLES
xinit -geometry =80x65+10+10 -fn 8x13 -j -fg white -bg navy
xinit -e widgets -- ./Xsun -l -c
xinit /usr/ucb/rsh fasthost cpupig -display workstation:1 --
1 -a 2 -t 5
Files
${HOME}/.xinitrc
SEE ALSO
X(1), Xserver(1), xterm(1)
COPYRIGHT
Copyright 1988, Massachusetts Institute of Technology.
Copyright 1988, AT&T
See X(1) for a full statement of rights and permissions.
AUTHOR
Bob Scheifler, MIT Laboratory for Computer Science Modified
by Richard Smolucha, AT&T
X Version 11 Last change: 24 March 1988 2