From owner-freebsd-smp Thu Jul 22 22: 2:38 1999 Delivered-To: freebsd-smp@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 1065014E3C for ; Thu, 22 Jul 1999 22:02:35 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:ySbSL0fyUEgjepbLqH33yPtH21QWHNez@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id OAA14136; Fri, 23 Jul 1999 14:02:28 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id OAA04583; Fri, 23 Jul 1999 14:06:46 +0900 (JST) Message-Id: <199907230506.OAA04583@zodiac.mech.utsunomiya-u.ac.jp> To: Matthew Dillon Cc: freebsd-smp@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: SMP + XDM = keyboard lockup In-reply-to: Your message of "Thu, 22 Jul 1999 21:32:09 MST." <199907230432.VAA21465@apollo.backplane.com> References: <199907230432.VAA21465@apollo.backplane.com> Date: Fri, 23 Jul 1999 14:06:45 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > That's what I thought too... and it's correct for getty's. But xdm > ignores the argument init passes to it. > > So here is what happens: > > init opens the vty and runs xdm. > > xdm runs X which ignores the vty and locates a new one by scanning > the vty's sequentially looking for one that is unused. That's correct. > It would be nice if we could specify the vty that X is to allocate > as an option to X. I couldn't find anything in the man pages right > offhand to accomplish this, though. There is. You can tell the XFree86 server to run in a specific vty by starting it as /usr/X11R6/bin/X vt4 (Note that "vt4" means /dev/ttyv3. The number is off by one.) This is XFree86 extention. See XFree86(1). When we run xdm, this option must be entered in /usr/X11R6/lib/X11/xdm/Xservers. :0 local /usr/X11R6/bin/X vt4 The trouble is that you must update both /usr/X11R6/lib/X11/xdm/Xservers and /etc/ttys, if you want to change the vty for the X session later. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message