From owner-freebsd-questions Thu Oct 23 17:51:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA09719 for questions-outgoing; Thu, 23 Oct 1997 17:51:44 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA09712 for ; Thu, 23 Oct 1997 17:51:37 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id KAA03802; Fri, 24 Oct 1997 10:21:19 +0930 (CST) Message-ID: <19971024102119.27102@lemis.com> Date: Fri, 24 Oct 1997 10:21:19 +0930 From: Greg Lehey To: jfielden@geocities.com Cc: rknebel@csrlink.net, freebsd-questions@FreeBSD.ORG Subject: Re: xinitrc file References: <344DF3BF.C0B8669@mail.infocom.etecsa.cu> <19971022183056.15649@my.domain> <19971023100508.44616@lemis.com> <344F610F.597E7B53@houseofduck.ml.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <344F610F.597E7B53@houseofduck.ml.org>; from Joshua Fielden on Thu, Oct 23, 1997 at 10:37:03AM -0400 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, Oct 23, 1997 at 10:37:03AM -0400, Joshua Fielden wrote: > Greg Lehey wrote: >> >> On Wed, Oct 22, 1997 at 06:30:56PM -0400, rknebel@csrlink.net wrote: >>> Hi, >>> I am trying to fine tune my xinitrc file and am running into an annoying >>> problem. The last line in it which was there when I intially installed >>> freebsd 2.2.2, brings up an xterm window which is called login. This appears >>> whenever I start x and to exit x I have to type exit in this xterm window. >>> If I delete this line my X server will not start. Does this line have to be >>> there or is there a way to get rid of it. I will attach a copy of my xinitrc >>> file. >> >> The problem is more likely that your X server starts and then stops >> again. You should ensure that the last command in your .xinitrc >> doesn't complete: when this happens, the server stops. I'd suggest >> starting the window manager last. I don't see a window manager in >> your .xinitrc; how do you start it? >> >> Greg > > I had the same sort of issue, my afterstep would not start if it was the > last thing in my rc file, with an "&" > so I just took the "&" off. > > so the end of my .xinitrc is: > > # start some nice programs > > oclock & > afterstep That's correct. If you put a & there, it will start, and .xinitrc will attempt to execute the next command. Since there are no more, it will exit, and the X server will exit with it. Greg