*BSD News Article 67332


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!newsfeed.internetmci.com!iol!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: xdm causing getty repeating too quickly?
Date: 30 Apr 1996 15:23:28 +0100
Organization: Coverform Ltd.
Lines: 45
Message-ID: <4m57p0$o3@anorak.coverform.lan>
References: <4lug3j$jhn@linet06.li.net> <4m0jk2$4gg@linet06.li.net> <4m3eju$3db@uriah.heep.sax.de>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:
: Shawn Carey <smc@servtech.com> writes:

: >John W. Carbone wrote:

: >> ttyv3   "/usr/X11R6/bin/xdm -nodeamon"  xterm   on  secure

: >xdm wants "-nodaemon".  You need to transpose the 'e' and 'a'.

: All this starting xdm via /etc/ttys seems to be ugly.  It's been a
: crock to work around some other problem, but IMNSHO, you're better off
: starting it from /etc/rc.local instead.

: Simply run it there without any flags, so it properly daemonizes
: itself.  If xdm is the last command in your rc.local, perhaps add a
: ``sleep 1'' after it, so it's got some time to change its session
: before the rc shell terminates (so it doesn't get accidentally
: killed).  It's always a good idea to specify the VTY where the Xserver

alternatively, do a 'trap "" 1' before running it.

: should be started on in your /usr/X11R6/lib/X11/xdm/Xservers file.
: Mine looks like:

: # some commentary
: :0 local /usr/X11R6/bin/X vt08

: Apart from this, it should work fine.

: Once you've told your xdm to no longer respawn a new local Xserver (by
: typing Control-R in the login window), you have to send it a SIGHUP to
: restart the server again.  Otherwise, xdm remains running in the
: background and listening to network (XDMCP) requests, but doesn't try
: to start a local server again.

: -- 
: 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. ;-)


--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....