From owner-freebsd-questions@FreeBSD.ORG  Sun Aug 22 06:31:02 2010
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 967F81065670
	for <freebsd-questions@freebsd.org>;
	Sun, 22 Aug 2010 06:31:02 +0000 (UTC) (envelope-from parv@pair.com)
Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com
	[71.74.56.123]) by mx1.freebsd.org (Postfix) with ESMTP id 4C35C8FC16
	for <freebsd-questions@freebsd.org>;
	Sun, 22 Aug 2010 06:31:02 +0000 (UTC)
X-Authority-Analysis: v=1.1 cv=GErw3X8Lcf3Z9lMGtD9UKGVOjv9oy6ZCQt0FNm8Yy60=
	c=1 sm=0 a=kj9zAlcOel0A:10 a=wTwVZmRG0EeNCYhkxzeBEQ==:17
	a=2Mj_h8BoAAAA:8 a=2kSMesU442LT_0nTFrgA:9
	a=r8CCRzKkm-vampOwOb-Dwhfz3cQA:4 a=CjuIK1q_8ugA:10
	a=2qsELijTPK4A:10 a=wTwVZmRG0EeNCYhkxzeBEQ==:117
X-Cloudmark-Score: 0
X-Originating-IP: 67.49.189.17
Received: from [67.49.189.17] ([67.49.189.17:37343]
	helo=localhost.hawaii.res.rr.com)
	by hrndva-oedge02.mail.rr.com (envelope-from <parv@pair.com>)
	(ecelerity 2.2.2.39 r()) with ESMTP
	id D0/90-06787-424C07C4; Sun, 22 Aug 2010 06:31:01 +0000
Received: from holstein.holy.cow (parv [127.0.0.2])
	by localhost.hawaii.res.rr.com (Postfix) with ESMTP id A22D65CAF;
	Sat, 21 Aug 2010 20:34:59 -1000 (HST)
Received: (from parv@localhost)
	by holstein.holy.cow (8.14.3/8.14.3/Submit) id o7M6YwZN002354;
	Sat, 21 Aug 2010 20:34:58 -1000 (HST) (envelope-from parv@pair.com)
X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com
	using -f
Date: Sat, 21 Aug 2010 20:34:58 -1000
From: parv@pair.com
To: Fred Boatwright <fred@blakemfg.com>
Message-ID: <20100822063458.GA2220@holstein.holy.cow>
Mail-Followup-To: Fred Boatwright <fred@blakemfg.com>,
	freebsd-questions@freebsd.org
References: <4C704C7B.134759E5@blakemfg.com>
	<alpine.BSF.2.00.1008211709120.79828@wonkity.com>
	<4C707AA6.8F60FE62@blakemfg.com>
	<alpine.BSF.2.00.1008212002290.80364@wonkity.com>
	<alpine.BSF.2.00.1008212012570.80364@wonkity.com>
	<4C708E6D.88FF2B9F@blakemfg.com>
	<AANLkTinAbkg82L2Z=sAn_8yMYqAmpO5OP2RX6i3VYrRu@mail.gmail.com>
	<4C709CC3.3F571FE3@blakemfg.com>
	<AANLkTinu8LmA=vE6yjk3mdbvd3+YXLT08TchaK0=zhyR@mail.gmail.com>
	<4C70A618.D6D35FFA@blakemfg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4C70A618.D6D35FFA@blakemfg.com>
Cc: freebsd-questions@freebsd.org
Subject: Re: Xorg Problems
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Aug 2010 06:31:02 -0000

in message <4C70A618.D6D35FFA@blakemfg.com>,
wrote Fred Boatwright thusly...
>
> The .xinitrc file:
>  xrdb
>  xsetroot -solid gray &
>  xterm -geometry +0-100 &
>  xconsole -geometry -0+0 -fn 5x7 &
> #exec olvwm   #complained about a missing font
>  exec fvwm
...
> I don't understand why xterm and xconsole are to be started before
> the window manager.

Window manager is started at the end so that when it exits, it takes
all the open programs with it.

If you start the window manager in background too ...

  xrdb
  ...
  exec fvwm &


... then all you would see is a flash of window opening (and
subsequently closing) as no program would be there to block exiting
out of X11.

You could start any other program in foreground after starting
window manager ...

  xrdb
  ...
  fvwm &
  # Exit this xterm, exit out of X11.
  exec xterm -T 'Die, Die!'


You would need to then exit that program so that open files close,
other programs die, X11 shuts down, and so on, so forth.


  - parv

--