From owner-freebsd-questions Mon Apr 13 17:48:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA06373 for freebsd-questions-outgoing; Mon, 13 Apr 1998 17:48:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA06137 for ; Tue, 14 Apr 1998 00:47:38 GMT (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id KAA25103; Tue, 14 Apr 1998 10:17:28 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id KAA14773; Tue, 14 Apr 1998 10:17:27 +0930 (CST) (envelope-from grog) Message-ID: <19980414101727.B14520@freebie.lemis.com> Date: Tue, 14 Apr 1998 10:17:27 +0930 From: Greg Lehey To: Leif Neland , freebsd-questions@FreeBSD.ORG Subject: Re: X, xinit, startx References: <199804130237.VAA25969@dfw-ix10.ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: ; from Leif Neland on Mon, Apr 13, 1998 at 09:27:35AM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 13 April 1998 at 9:27:35 +0100, Leif Neland wrote: > At 13 Apr 98 04:36:56 "Kevin Liquori" wrote regarding X, xinit, startx > > "L> What is the difference between the commands 'X', 'xinit' and > "L> 'startx'? I get some strange results: > "L> X - my system begins to load X windows and hangs on the gray > "L> screen before any actual windows appear. > > You can't really say it hangs. X creates the graphical environment, and is > ready to make/accept windows on it, when something asks it to. > > "L> xinit - opens one borderless windows that appears to function > "L> fine > > xinit does this. > > "L> startx - this is what I was looking for and just found it > "L> tonight thanks to a post on this list. > > startx does the above and also starts a window manager to put borders and more > around windows, and gives you the possibility to launch more windows on the > X-screen. In fact, startx is a shell script which just sets some environment variables and runs xinit. xinit starts the applications specified in your .xinitrc, which is also a shell script. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message