*BSD News Article 61707


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!cs.tu-berlin.de!informatik.uni-bremen.de!nordwest.pop.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: To start xdm in /etc/ttys? How to?
Date: 19 Feb 1996 00:32:28 GMT
Organization: Private BSD site, Dresden
Lines: 34
Message-ID: <4g8ges$93e@uriah.heep.sax.de>
References: <4fv6bt$f73@electra.saaf.se> <DMto8p.4rD.0.macbeth@cogsci.ed.ac.uk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

richard@cogsci.ed.ac.uk (Richard Tobin) writes:

> >ttyv4  "/usr/X11R6/bin/xdm -nodeamon"  xterm   on secure
> >
> >but I get a message from syslog saying "... respawning to rapidly on ttyv4"
> >
> >What can I do about this?
> 
> You could try spelling "daemon" correctly.

Apart from this, starting xdm via /etc/ttys is a Bad Thing.  I don't
know why this crept into some README file.

Start it from your rc.local, and be explicit about how it has to
start.  If this is your last action in rc.local, put a ``sleep 1''
behind, to allow xdm to properly daemonize before the rc shell exits.

xdm should be started without any arguments (i.e., as a daemon).

The Xserver config file (default: /usr/X11R6/lib/X11/xdm/Xservers)
should contain the line:

:0 local /usr/X11R6/bin/X :0 vt08 -wm

Of course, you can omit the ``-wm'' if you don't like it, but the
``vt08'' is quite important -- it must point to a vt that won't be
used by getty's about a second later.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)