Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 1997 21:04:37 -0400
From:      rknebel@csrlink.net
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: xinitrc file
Message-ID:  <19971023210437.00589@my.domain>
In-Reply-To: <19971024102119.27102@lemis.com>; from Greg Lehey on Fri, Oct 24, 1997 at 10:21:19AM %2B0930
References:  <344DF3BF.C0B8669@mail.infocom.etecsa.cu> <19971022183056.15649@my.domain> <19971023100508.44616@lemis.com> <344F610F.597E7B53@houseofduck.ml.org> <19971024102119.27102@lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971023210437.00589>