Reword FAQ question 9.6 to be more neutral in the xdm startup issue.

This commit is contained in:
Doug White 1998-08-17 23:03:58 +00:00
parent 3851903464
commit 4bcfca0a9c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=3364

View file

@ -1,4 +1,4 @@
<!-- $Id: x.sgml,v 1.3 1998-06-27 01:13:49 hoek Exp $ --> <!-- $Id: x.sgml,v 1.4 1998-08-17 23:03:58 dwhite Exp $ -->
<!-- The FreeBSD Documentation Project --> <!-- The FreeBSD Documentation Project -->
<sect> <sect>
@ -187,25 +187,29 @@
mode. Tap the control key to wake it up again. mode. Tap the control key to wake it up again.
<sect1> <sect1>
<heading>How do I start XDM from the <tt>/etc/ttys</tt> file ?</heading> <heading>How do I start XDM on boot?</heading>
<p>Starting <htmlurl url= <p>There are two schools of thought on how to start <htmlurl url=
"http://www.freebsd.org/cgi/man.cgi?manpath=xfree86&amp;query=xdm" "http://www.freebsd.org/cgi/man.cgi?manpath=xfree86&amp;query=xdm"
name="xdm"> via <htmlurl url="http://www.freebsd.org/cgi/man.cgi?ttys" name="xdm">. One school starts xdm from
name="/etc/ttys"> is a <bf/Bad Thing/. I don't know why this <htmlurl url="http://www.freebsd.org/cgi/man.cgi?ttys"
crept into some README file. name="/etc/ttys"> using the supplied example, while the other
simply runs xdm from <htmlurl url="http://www.freebsd.org/cgi/man.cgi?rc"
name="rc.local"> or
from a <tt/X.sh/ script in <tt>/usr/local/etc/rc.d</tt>.
Both are equally valid, and one may work in
situations where the other doesn't. In both cases the result is the
same: X will popup a graphical login: prompt.
<p>Start it from your <htmlurl <p>The ttys method has the advantage
url="http://www.freebsd.org/cgi/man.cgi?rc" name="rc.local"> (or even of documenting which vty X will start on and passing the responsibiilty
from a <tt/X.sh/ script in <tt>/usr/local/etc/rc.d</tt>), and be of restarting the X server on logout to init. The rc.local method
explicit about how it has to start. If this is your last action in makes it easy to kill xdm if there is a problem starting the X server.
<tt/rc.local/, put a ``<tt/sleep 1/'' behind, to allow <tt/xdm/ to
properly daemonize before the <tt/rc/ shell exits.
<p><tt/xdm/ should be started without any arguments (i.e., as a <p>If loaded from rc.local, <tt/xdm/ should be started without any
daemon). arguments (i.e., as a daemon).
<p><bf/NOTE:/ A previous version of this FAQ told you to add the <p>A previous version of the FAQ said to add the
<tt/vt/ you want X to use to the <tt/vt/ you want X to use to the
<tt>/usr/X11R6/lib/X11/xdm/Xservers</tt> file. This is not necessary: <tt>/usr/X11R6/lib/X11/xdm/Xservers</tt> file. This is not necessary:
X will use the first free <tt/vt/ it finds. X will use the first free <tt/vt/ it finds.