From owner-freebsd-bugs  Tue May 13 13:40:04 1997
Return-Path: <owner-bugs>
Received: (from root@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id NAA12143
          for bugs-outgoing; Tue, 13 May 1997 13:40:04 -0700 (PDT)
Received: (from gnats@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id NAA12116;
          Tue, 13 May 1997 13:40:01 -0700 (PDT)
Resent-Date: Tue, 13 May 1997 13:40:01 -0700 (PDT)
Resent-Message-Id: <199705132040.NAA12116@hub.freebsd.org>
Resent-From: gnats (GNATS Management)
Resent-To: freebsd-bugs
Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, shanee@rabbit.augusta.de
Received: from inga.augusta.de (root@inga.augusta.de [193.175.23.65])
          by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA11636
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 May 1997 13:31:38 -0700 (PDT)
Received: from rabbit by inga.augusta.de with uucp
	(Smail3.1.29.1 #1) id m0wROD6-004cphC; Tue, 13 May 97 22:30 MET DST
Received: by rabbit.augusta.de (Smail3.1.29.1 #1)
	id m0wRLC9-00021IC; Tue, 13 May 97 19:17 MET DST
Message-Id: <m0wRLC9-00021IC@rabbit.augusta.de>
Date: Tue, 13 May 97 19:17 MET DST
From: shanee@rabbit.augusta.de
Reply-To: shanee@rabbit.augusta.de
To: FreeBSD-gnats-submit@FreeBSD.ORG
X-Send-Pr-Version: 3.2
Subject: conf/3590: Little mistake in ttys
Sender: owner-bugs@FreeBSD.ORG
X-Loop: FreeBSD.org
Precedence: bulk


>Number:         3590
>Category:       conf
>Synopsis:       Difference in ttys and FAQ
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 13:40:00 PDT 1997
>Last-Modified:
>Originator:     Andreas Kohout
>Organization:
Private Site running FreeBSD-current
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	n/a

>Description:

	in the FAQ:
	Starting xdm via /etc/ttys is a Bad Thing.

	in /usr/src/etc/ttys:
	ttyv3   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

	nothing about xdm in /usr/src/etc/rc.local

>How-To-Repeat:

	take a lock in the src-tree

>Fix:
	
	Change line 14 in /usr/src/etc/ttys
	from: ttyv3   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
	to:   ttyv3   "/usr/libexec/getty Pc"         cons25  off secure

	Add this to rc.conf:
	# path for xdm
	XDMP=/usr/X11R6/bin

	# set to YES to start xdm
	xdm_start=NO

	Add this to rc.local:
	# xdm
	if [ X${xdm_start} = X"YES" -a -x $XDMP/xdm ]; than
       		echo -n " xdm"
       		$XDMP/xdm
       		sleep 1
	fi

>Audit-Trail:
>Unformatted: