Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 1996 16:42:56 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Branson Matheson <branson@widomaker.com>
Cc:        Jerry Dunham <jdunham@fc.net>, David Nugent <davidn@sdev.blaze.net.au>, questions@FreeBSD.org
Subject:   Re: XF86 & fvwm Problem, Help? (fwd)
Message-ID:  <Pine.BSF.3.91.960918163933.3594A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <Pine.BSF.3.91.960918092005.12810A-100000@garion.hq.ferg.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 18 Sep 1996, Branson Matheson wrote:

> On Wed, 18 Sep 1996, Jerry Dunham wrote:
> 
> > David Nugent babbled:
> > > >>  to the others using the <ctrl><Alt><f[1-3]>.  By way of note...  you
> > > >>  can switch back to the x console using <alt><f4>. 
> > 
> > I tried this here this morning, and it doesn't work.  The <ctl><alt>
> > <F1> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960918163933.3594A-100000>