From owner-freebsd-questions Mon Jun 23 01:15:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA21114 for questions-outgoing; Mon, 23 Jun 1997 01:15:35 -0700 (PDT) Received: from pc-pvl.nanoteq.co.za (pc-pvl.nanoteq.co.za [163.195.219.103]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA21105 for ; Mon, 23 Jun 1997 01:15:26 -0700 (PDT) Received: from pc-pvl.nanoteq.co.za (localhost.nanoteq.co.za [127.0.0.1]) by pc-pvl.nanoteq.co.za (8.8.5/8.8.5) with ESMTP id KAA00551; Mon, 23 Jun 1997 10:13:10 +0200 (SAT) Message-Id: <199706230813.KAA00551@pc-pvl.nanoteq.co.za> To: "=?ISO-8859-1?Q?Ricardo_N=FA=F1ez?=" cc: "FreeBSD" Subject: Re: xdm In-reply-to: Your message of "Sun, 22 Jun 1997 14:39:26 -0400." <19970622183852.AAB18227@telcel.telcel.net.ve> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Mon, 23 Jun 1997 10:13:10 +0200 From: "P. van Leeuwen" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id BAA21110 Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Dear Gentlemen, > > I was reading "The Complete FreeBSD" book from Greg Lehey, and I just > installed X11 with no problem. > > The problem is that I installed "xdm" as the book says... I mean: > > 1) I added the following line to "/etc/ttys": > ttyv4 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure It's supposed to be ttyv3. Do yourself a favour and rather start xdm from rc.local. Starting from the tty's is not a good idea. If you don't believe me, this is from the FAQ #6.17 : 6.17. How do I start XDM from the /etc/ttys file ? 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). NOTE: A previos version of this FAQ told you to add the vt you want X to use to the /usr/X11R6/lib/X11/xdm/Xservers file. This is not necessary: X will use the first free vt it finds. pierre -- Pierre van Leeuwen E-mail : pvl@nanoteq.com Ph : +27 (0)12 665-1338 http://www.nanoteq.co.za