From owner-freebsd-stable Thu Mar 23 17:26:55 2000 Delivered-To: freebsd-stable@freebsd.org Received: from firebat.Bushong.NET (c128625-a.frmt1.sfba.home.com [24.5.196.12]) by hub.freebsd.org (Postfix) with ESMTP id 335F937C5B4 for ; Thu, 23 Mar 2000 17:26:40 -0800 (PST) (envelope-from dbushong@firebat.Bushong.NET) Received: (from dbushong@localhost) by firebat.Bushong.NET (8.9.3/8.9.3) id RAA48438; Thu, 23 Mar 2000 17:25:46 -0800 (PST) (envelope-from dbushong) Date: Thu, 23 Mar 2000 17:25:42 -0800 From: David Bushong To: Mikhail Teterin Cc: "WMC, O'Gorman, James" , stable@FreeBSD.ORG Subject: Re: starting xdm (Re: src/UPDATING for RELENG_3 to RELENG_4 upgrade works.) Message-ID: <20000323172542.I49204@Bushong.NET> References: <38DA4B34.179C6AD1@elwood.net> <200003231654.LAA28916@rtfm.newton> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003231654.LAA28916@rtfm.newton>; from mi@kot.ne.mediaone.net on Thu, Mar 23, 2000 at 11:54:50AM -0500 X-Floating-Sheep-Port: 0xbaa Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My friend also noted that X has a little document feature where you can tell it which vty to start on, solving the race condition (which I ran into as well). Just change in the line in /usr/X11R6/lib/X11/xdm/Xservers (or /etc/X11/xdm/Xservers if you're running XFree86 4.0) from: :0 local /usr/X11R6/bin/X to :0 local /usr/X11R6/bin/X vt8 This assumes you want X on /dev/ttyv7, a.k.a. F8 The advantage of this over the /etc/ttys method is that you can actually kill off xdm without editing /etc/ttys and HUPing init. --David Bushong On Thu, Mar 23, 2000 at 11:54:50AM -0500, Mikhail Teterin wrote: > WMC, O'Gorman, James once stated: > > =The one and only problem that I have had that I have not fixed yet > =is with xdm. I had started it from rc.local before, but now when > =rc.local starts is, the keyboard will not interact with it. If I > =comment out that line, boot up normal and log in as root and then > =start xdm things are fine. I have not put any effort into fixing it > =yet, so I am sure it is something simple I am missing. > > I had that problem -- don't know why, but if you put a 1 or 2 second > delay into the rc.local before xdm it will start nicely. > > The right way is, probably, to fire it from /etc/ttys -- see the xdm > entry there and change ``off'' to ``on''... Then (if you do not have > X running) ``kill -1 1''. > > -mi > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message