From owner-freebsd-current Wed Apr 22 06:57:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA15349 for freebsd-current-outgoing; Wed, 22 Apr 1998 06:57:09 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15338 for ; Wed, 22 Apr 1998 13:57:03 GMT (envelope-from dag-erli@ifi.uio.no) Received: from grotte.ifi.uio.no (2602@grotte.ifi.uio.no [129.240.64.60]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id PAA11418; Wed, 22 Apr 1998 15:56:59 +0200 (MET DST) Received: (from dag-erli@localhost) by grotte.ifi.uio.no ; Wed, 22 Apr 1998 15:56:58 +0200 (MET DST) Mime-Version: 1.0 To: Kazutaka YOKOTA Cc: current@FreeBSD.ORG Subject: Re: Disappearing keyboard References: <199804220516.OAA00391@zodiac.mech.utsunomiya-u.ac.jp> <199804221343.WAA10534@zodiac.mech.utsunomiya-u.ac.jp> Organization: Gutteklubben Terrasse / KRST / PUMS / YASMW X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 22 Apr 1998 15:56:57 +0200 In-Reply-To: Kazutaka YOKOTA's message of "Wed, 22 Apr 1998 22:43:15 +0900" Message-ID: Lines: 30 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kazutaka YOKOTA writes: > >The Right Way (tm) to start X or xdm is to put a shell script in > >/usr/local/etc/rc.d which Does the Deed. It will work, no questions > >asked. I have something similar to this: > I picked up /etc/rc.local simply because it was what the original > poster was using. I don't care which rc script you would prefer to > use for this purpose. I dislike modifying any of /etc/rc*, though in the case of rc.local it's unjustified :) But it's very neat to be able to do 'cp /usr/src/etc/rc* /usr/src/etc/etc.i386/rc* /etc' without worrying too much during a make world. > We are talking about possible conflict between getty and xdm. I know. > We usually turn on getty on some vtys, say ttyv0 through ttyv2. When > xdm is started from /etc/rc.local (or /usr/local/etc/rc.d/something), > getty has not yet been started. Therefore, ttyv1 through ttyv2 are not > in use and is available. I have never experienced this. It is possible that my machine is simply fast enough that getty gets started before xdm starts the X server. I did not realise there was a race condition there. This is solved easily by adding a short delay before starting xdm, as you suggested. I apologize for the confusion. -- Noone else has a .sig like this one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message