


DM(8)                 MAINTENANCE COMMANDS                  DM(8)



NAME
     dm - X display manager

SYNOPSIS
     dm _c_o_n_f_i_g_f_i_l_e _l_o_g_i_n_t_t_y [-noconsole] _c_o_n_s_o_l_e_t_t_y

DESCRIPTION
     _D_m is intended to be run by _i_n_i_t to startup  the  X  server,
     the  X console, and X login.  If will read out of the speci-
     fied  config  file  the  command  lines  for   these   three
     processes.

     This file consists of lines  containing  the  program  name,
     whitespace,  and  the commandline for the program.  The pro-
     gram names recognized are X, console, and login.  Everything
     from  a  hash  mark  to the end-of-line will be ignored as a
     comment.

     The X server  will  be  started  first,  using  the  SIGUSR1
     handshake  present  in  X11R4.   Then  the  console  will be
     started, reading from the  master  side  of  the  pseudo-tty
     specified  as  the _l_o_g_i_n_t_t_y.  If _l_o_g_i_n_t_t_y is already in use,
     another pseudo-tty will be chosen.  Then the login  will  be
     started,  with  stdin set to /_d_e_v/_n_u_l_l and stdout and stderr
     set to _l_o_g_i_n_t_t_y.  The  display  manager  then  waits  for  a
     change  in the status of its children or a signal to arrive.
     If the display manager encounters errors while starting  up,
     it will initiate a console login.

     If the console exits, another one will be started.  If the X
     server or xlogin exit, the display manager will clean up and
     exit.  If xlogin exits with status 2, it is requesting  that
     a  raw  console  login  be  started.  If the display manager
     receives SIGFPE, it will kill it's children and  sleep  for-
     ever (this is a way to shutdown the display during updates).
     If it receives SIGUSR2, this means that xlogin added a  user
     to  /etc/passwd and the display manager should clean that up
     on exit.

     If the -noconsole switch is given, it will not do  the  spe-
     cial  console  handling.  This is necessary if more than one
     display manager is running on a machine.

FILES
     /etc/utmp,    /usr/adm/wtmp,     /etc/passwd,     /etc/ptmp,
     /usr/tmp/X0.pid,                    /etc/athena/console.pid,
     /etc/athena/dm.pid,          /dev/mouse,          /dev/cons,
     /usr/tmp/console.log, /dev/console


SEE ALSO
     Xserver(1),   console(8),   xlogin(8),    config_console(1),



MIT Project AthenaLast change: 16 November 1990                 1






DM(8)                 MAINTENANCE COMMANDS                  DM(8)



     init(8)


AUTHOR
     Mark Rosenstein, MIT Project Athena
     Copyright (c) 1990 Massachusetts Institute of Technology


BUGS
     Sometimes the console does not revert back to the real  con-
     sole when a console login is requested.

     Sometimes it is necessary to press  SHIFT,  CONTROL,  and/or
     META  before  keys  work  normally  when  a console login is
     requested.








































MIT Project AthenaLast change: 16 November 1990                 2



