Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 97 19:17 MET DST
From:      shanee@rabbit.augusta.de
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/3590: Little mistake in ttys
Message-ID:  <m0wRLC9-00021IC@rabbit.augusta.de>
Resent-Message-ID: <199705132040.NAA12116@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0wRLC9-00021IC>