From owner-freebsd-questions Tue Jun 19 6:43:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from core.usrlib.org (CC2-861.charter-stl.com [24.217.115.99]) by hub.freebsd.org (Postfix) with ESMTP id F0D7437B403 for ; Tue, 19 Jun 2001 06:43:52 -0700 (PDT) (envelope-from ajh3@core.usrlib.org) Received: by core.usrlib.org (Postfix, from userid 1001) id 8B4F7A813; Tue, 19 Jun 2001 08:42:27 -0500 (CDT) Date: Tue, 19 Jun 2001 08:42:27 -0500 From: Andrew Hesford To: midiostri@in.gr Cc: freebsd-questions@freebsd.org, igor@mordor.admiral.ru, ADyas@twowaytv.com Subject: Re: X application without starting a desktop Message-ID: <20010619084227.B15192@core.usrlib.org> References: <1376801c0f8b0$4be5ae50$0205030a@internal.ramnet.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1376801c0f8b0$4be5ae50$0205030a@internal.ramnet.gr>; from midiostri@in.gr on Tue, Jun 19, 2001 at 02:09:23PM +0300 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jun 19, 2001 at 02:09:23PM +0300, midiostri@in.gr wrote: > alex adviced me: > > >This is where you want to run your x-app, so instead of xterm and xeyes you > >put something like: > > >exec & > > Yes! That's the solution. I put this single line in my .xinitrc and my > application started together with the Xserver and nothing else. Beautifull :) > > One detail: The above line didn't work with the ampersand. It seems that > the last application that starts in .xinitrc must be ampersandless.. This is correct, and I'm shocked so many people told you to put the ampersand in. The X server quits when it has no clients. This is so you can do something like select "exit" from your default window manager and have it kill XFree86. When you background the process with the ampersand, the server doesn't recognize that it has any clients running, so it quits right away. -- Andrew Hesford ajh3@usrlib.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message