Bug 7342 - No documentation for xdmshell
Summary: No documentation for xdmshell
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xdm (show other bugs)
Version: git
Hardware: All All
: low normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Keywords: janitor
Depends on:
Reported: 2006-06-27 10:55 UTC by Alan Coopersmith
Modified: 2011-02-19 16:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Alan Coopersmith 2006-06-27 10:55:50 UTC
From the old (and I do mean OLD) X.Org/X Consortium bug tracker db:

 Date: Mon, 30 Sep 91 20:46:00 EDT
 From: Stephen Gildea <gildea@expo.lcs.mit.edu>
 Subject: xdmshell: missing manual page
 ### bug number:   4559
 ### area:         xdm
 ### severity:     documentation
 ### comments:     
     R5, public-patch-3
     There is no manual page for the xdmshell program.
     Watch people ask questions about xdmshell on xpert.

And even in the xdm.man.cpp in the current modular tree, it says:
.\" .IR chooser (1), \" except that there isn't a manual for it yet
.\" .IR xdmshell (1), \" except that there isn't a manual for it yet
Comment 1 Daniel Stone 2007-02-27 01:32:40 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Alan Coopersmith 2009-09-21 18:30:50 UTC
I've never actually known what xdmshell is for, but I finally found
this in the X11R4 release notes:

Many servers set the keyboard to do non-blocking  I/O  under
the assumption that they are the only programs attempting to
read from the keyboard.   Unfortunately,  some  versions  of
/etc/getty  (A/UX's  in  particular)  will immediately see a
continuous stream of zero-length reads which they  interpret
as  end-of-file indicators.  Eventually, /etc/init will dis-
able logins on that line until somebody types the  following
as root:

        #  kill -HUP 1

Under A/UX, one alternative is to disable logins on the con-
sole  and  always  run xdm from /etc/inittab.  However, make
sure that you save a copy of the old  /etc/inittab  in  case
something  goes  wrong  and  you have to restore logins from
over the network or from single-user mode.

Another less drastic approach is to set up an account  whose
shell  is  the  xdmshell  program found in mit/clients/xdm/.
This program is  not  installed  by  default  so  that  site
administrators  will  examine  it  to  see if it meets their
needs.  The xdmshell utility makes sure that it is being run
from the appropriate type of terminal, starts xdm, waits for
it to finish, and then resets the console if necessary.   If
the     xdm     resources    file    (specified    by    the
DisplayManager*resources entry in the xdm-config file)  con-
tains  a  binding to the abort-display action similar to the

        xlogin*login.translations: #override  Ctrl<Key>R: abort-display()

the console can then by restored by pressing  the  indicated
key  (Control-R  in the above example) in the xdm login win-

The xdmshell program is usually installed setuid to root but
executable  only by members of a special group, of which the
account which has xdmshell as its shell is the only member:

        %  grep xdm /etc/passwd
        x:aB9i7vhDVa82z:101:51:Account for starting up X:/tmp:/etc/xdmshell
        %  grep 51 /etc/group
        %  ls -lg /etc/xdmshell
        -rws--x---   1 root     xdmgrp     20338 Nov  1 01:32 /etc/xdmshell

If the xdm resources have not been configured to have a  key
bound  to  the  abort-display() action, there will be no way
for general users to login to the console directly.  Whether
or not this is desirable depends on the particular site.

bug/show.html.tmpl processed on Mar 27, 2017 at 18:24:06.
(provided by the Example extension).