From owner-freebsd-questions Wed Sep 18 07:44:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA23580 for questions-outgoing; Wed, 18 Sep 1996 07:44:01 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA23500 for ; Wed, 18 Sep 1996 07:43:52 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id QAA03626; Wed, 18 Sep 1996 16:42:56 +0200 (IST) Date: Wed, 18 Sep 1996 16:42:56 +0200 (IST) From: Nadav Eiron To: Branson Matheson cc: Jerry Dunham , David Nugent , questions@FreeBSD.org Subject: Re: XF86 & fvwm Problem, Help? (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 18 Sep 1996, Branson Matheson wrote: > On Wed, 18 Sep 1996, Jerry Dunham wrote: > > > David Nugent babbled: > > > >> to the others using the . By way of note... you > > > >> can switch back to the x console using . > > > > I tried this here this morning, and it doesn't work. The > > part worked to get me back to a text console, but then I was never > > able to return to the X session. I tried it a couple of times to make > > sure I was doing as instructed, but without success. Apparently SOME- > > thing must be configured differently to make this work. > > Hmmm.. somthing on your machine then.. it works fine here on all my > Fbsd boxes.. and I have 2.0 2.0.5 2.1 and 2.1.5... so > somthing on that end. > > > > > >What's unique about console 3? Why should I start xdm there? > > > > > > The X server selects the first "free" vt to run on. > > > > Makes sense. > > > > > > Is there some way of starting xdm there automatically upon > > > > system boot? > > > > > > Sure. Start it from /etc/rc.local in daemon mode, or put it into > > > your /etc/ttys and start it up on any vt. > > > > So what would I put in either of those places to make it work, and > > what are the relative advantages and disadvantage of the two? I > > assume that in ttys I turn ttyv3 off, but what else? > > I cannot speak for the ttys way.. but for rc.local > > > echo -n ' xdm' ; /usr/X11R6/bin/xdm & If you start xdm from rc.local (I do too) then you don't need the & at the end of the line. By default, xdm will spawn another daemon process and return immediately. It is important, however, to configure the X server to use a specific console, and not the first free one (because when rc.local is run the getty's for the console are not yet set up by init, so all consoles are essentially free at that point). Anyhow, instruction on running xdm are in the FAQ: http://www.freebsd.org/FAQ/freebsd-faq87.html#87 This way you can set up the X server to run on whatver virtual terminal you want (assuming, of course, that it is not used in text mode). > > -branson > > ============================================================================= > Branson Matheson | Ferguson Enterprises | If Pete and Repeat were > System Administrator | W: (804) 874-7795 | sittin on a fence and Pete > Unix, Perl, WWW | branson@widomaker.com | fell off, who is left? > > Nadav