source: trunk/athena/etc/xdm/dm/dm.8 @ 12350

Revision 12350, 3.1 KB checked in by ghudson, 26 years ago (diff)
Some RCS ID cleanup: delete $Log$ and replace other RCS keywords with $Id$.
Line 
1.\" $Id: dm.8,v 1.8 1999-01-22 23:16:12 ghudson Exp $
2.TH DM 8 "30 April 1994"
3.ds ]W MIT Project Athena
4.SH NAME
5dm \- X display manager
6.SH SYNOPSIS
7dm \fIconfigfile logintty\fR [-noconsole] \fIconsoletty\fR
8.SH DESCRIPTION
9
10\fIDm\fR is intended to be run by \fIinit\fR to startup the X server,
11the X console, and X login.  It will read out of the specified config
12file the command lines for these three processes. 
13.PP
14This file consists of lines containing the program name, whitespace,
15and the commandline for the program.  The program names recognized are
16\fBdm\fB, \fBX\fR, \fBconsole\fR, and \fBlogin\fR.  Everything from a
17hash mark to the end-of-line will be ignored as a comment.  \fIDm\fR
18recognizes one command line option from this file, -display. If it
19is not specified, \fIdm\fR will default to :0.
20.PP
21The X server will be started first, using the SIGUSR1 handshake
22present in X11R4.  For security reasons, \fIdm\fR will then
23immediately open the X display and remove all hosts from the server's
24access control list, unless the file /etc/X*.hosts exists and has
25nonzero length (* represents the display number).  This serves to
26prevent any possible connections from other than the Unix domain socket.
27\fIDm\fR will keep this connection open to prevent the X server from
28inadvertently resetting should the user at some point have closed all
29X connections temporarily.  Next the console will be started, reading
30from the master side of the pseudo-tty specified as the
31\fIlogintty\fR.  If \fIlogintty\fR is already in use, another
32pseudo-tty will be chosen.  Then the login will be started, with stdin
33set to \fI/dev/null\fR and stdout and stderr set to \fIlogintty\fR.
34The display manager then waits for a change in the status of its
35children or a signal to arrive.  If the display manager encounters
36errors while starting up, it will initiate a console login.
37.PP
38If the console exits, another one will be started.  If the X server or
39xlogin exit, the display manager will clean up and exit.  This
40includes a call to \fIal_acct_revert(3)\fR to clean up the user's login
41session if necessary.  If xlogin exits with status 2, it is requesting
42that a raw console login be started.  If the display manager receives
43SIGFPE, it will kill its children and sleep forever (this is a way to
44shutdown the display during updates).
45.PP
46If the \fB-noconsole\fR switch is given, it will not do the special
47console handling.  This is necessary if more than one display manager
48is running on a machine.
49.SH FILES
50/etc/utmp, /usr/adm/wtmp, /etc/passwd, /etc/ptmp, /etc/X*.hosts,
51/var/athena/X*.pid, /var/athena/console.pid, /var/athena/dm.pid, /dev/mouse,
52/dev/cons, /var/athena/console.log, /dev/console
53
54.SH "SEE ALSO"
55Xserver(1), console(8), xlogin(8), config_console(1), init(8),
56al_acct_revert(3)
57
58.SH AUTHOR
59Mark Rosenstein, MIT Project Athena
60.br
61Copyright (c) 1990 Massachusetts Institute of Technology
62
63.SH BUGS
64Sometimes the console does not revert back to the real console when a
65console login is requested.
66
67Sometimes it is necessary to press SHIFT, CONTROL, and/or META before
68keys work normally when a console login is requested.
Note: See TracBrowser for help on using the repository browser.