Date: Fri, 24 Oct 1997 10:21:19 +0930 From: Greg Lehey <grog@lemis.com> To: jfielden@geocities.com Cc: rknebel@csrlink.net, freebsd-questions@FreeBSD.ORG Subject: Re: xinitrc file Message-ID: <19971024102119.27102@lemis.com> In-Reply-To: <344F610F.597E7B53@houseofduck.ml.org>; from Joshua Fielden on Thu, Oct 23, 1997 at 10:37:03AM -0400 References: <344DF3BF.C0B8669@mail.infocom.etecsa.cu> <19971022183056.15649@my.domain> <19971023100508.44616@lemis.com> <344F610F.597E7B53@houseofduck.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971024102119.27102>