From owner-freebsd-questions Tue Jun 19 2:54:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from exchange.twowaytv.co.uk (exchange.twowaytv.co.uk [194.6.2.173]) by hub.freebsd.org (Postfix) with ESMTP id 11C6737B406 for ; Tue, 19 Jun 2001 02:54:11 -0700 (PDT) (envelope-from ADyas@twowaytv.com) Received: by exchange.twowaytv.co.uk with Internet Mail Service (5.5.2653.19) id ; Tue, 19 Jun 2001 10:50:49 +0100 Message-ID: <911D8F660DF6D411B61F00500462BA019FF811@exchange.twowaytv.co.uk> From: Alex Dyas To: freebsd-questions@freebsd.org Subject: RE: X application without starting a desktop Date: Tue, 19 Jun 2001 10:50:49 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-7" 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 > #! /bin/sh (<-- btw. what's the meaning/use of this comment?) > # .xinitrc > > # start fvwm2 > exec fvwm2 & this is not strictly necessary, and probably not worth it if you only want to run one app. > # ...and start some nice progs > exec xterm & > exec xeyes & This is where you want to run your x-app, so instead of xterm and xeyes you put something like: exec & > # EOF > > When I startx, the Xserver starts loading and then shuts down. > > When I tried to run fvwm2 directly from the prompt: > # fvwm2 & > > I got a "Can't open display" <> This is because fvwm2 is an X application itself, and as such it needs an X server running. This is why it is included as one of the programs to run in your xinitrc. As I said, you probably don't need a window manager at all if all you're trying to do is run one app. alex.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message