From owner-freebsd-questions Thu Oct 23 18:05:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA10430 for questions-outgoing; Thu, 23 Oct 1997 18:05:57 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from myname.my.domain (pm3bl1-13.csrlink.net [207.44.9.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA10423 for ; Thu, 23 Oct 1997 18:05:53 -0700 (PDT) (envelope-from rknebel@myname.my.domain) Received: (from rknebel@localhost) by myname.my.domain (8.8.5/8.8.5) id VAA00276; Thu, 23 Oct 1997 21:04:38 -0400 (EDT) Message-ID: <19971023210437.00589@my.domain> Date: Thu, 23 Oct 1997 21:04:37 -0400 From: rknebel@csrlink.net To: freebsd-questions@FreeBSD.ORG Subject: Re: xinitrc file Reply-To: rknebel@csrlink.net References: <344DF3BF.C0B8669@mail.infocom.etecsa.cu> <19971022183056.15649@my.domain> <19971023100508.44616@lemis.com> <344F610F.597E7B53@houseofduck.ml.org> <19971024102119.27102@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <19971024102119.27102@lemis.com>; from Greg Lehey on Fri, Oct 24, 1997 at 10:21:19AM +0930 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Oct 24, 1997 at 10:21:19AM +0930, Greg Lehey wrote: > 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 Followed this advice and everything worked well. Thanks Alot -- Rick Knebel rknebel@mail.csrlink.net