From owner-freebsd-questions Wed Jun 5 13:05:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA28373 for questions-outgoing; Wed, 5 Jun 1996 13:05:32 -0700 (PDT) Received: from gatekeeper.fsl.noaa.gov (gatekeeper.fsl.noaa.gov [137.75.131.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA28362 for ; Wed, 5 Jun 1996 13:05:28 -0700 (PDT) Received: from emu.fsl.noaa.gov (kelly@emu.fsl.noaa.gov [137.75.60.32]) by gatekeeper.fsl.noaa.gov (8.7.5/8.7.3) with ESMTP id UAA16287; Wed, 5 Jun 1996 20:05:13 GMT Message-Id: <199606052005.UAA16287@gatekeeper.fsl.noaa.gov> Received: by emu.fsl.noaa.gov (1.40.112.3/16.2) id AA150755108; Wed, 5 Jun 1996 14:05:08 -0600 Date: Wed, 5 Jun 1996 14:05:08 -0600 From: Sean Kelly To: randyd@nconnect.net Cc: ptroot@uswest.com, dwhite@resnet.uoregon.edu, questions@freebsd.org In-Reply-To: <31B490C5.260B@nconnect.net> (message from Randy DuCharme on Tue, 04 Jun 1996 14:38:45 -0500) Subject: Re: Display variable Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> "Randy" == Randy DuCharme writes: Randy> Ok, I've done the following ... setenv DISPLAY :0 Randy> Then when I attempt to run fvwm I get .... Randy> TRANS(SocketUNIXConnect) () can't connect: errno=2 Randy> 6 times ... then Randy> fvwm: can't open display :0 Randy> In the manual, "Installing and running FreeBSD" on page 97 Randy> it says you can start it by entering "/usr/X11/bin/fvwm &. Randy> Is that correct? You need to start the X window server first. The way I do it is like this: 1. Make a file in your home directory called ``.xinitrc'' but without the quotes. In this file, put the following text: #!/bin/sh [ -f $HOME/.Xresources ] && xrdb -merge $HOME/.Xresources xterm & exec fvwm 2. Make the file executable by typing ``chmod 755 .xinitrc''. 3. Start X windows by typing ``xinit''. Good luck! -- Sean Kelly NOAA Forecast Systems Laboratory kelly@fsl.noaa.gov Boulder Colorado USA http://www-sdd.fsl.noaa.gov/~kelly/