Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 1996 14:05:08 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        randyd@nconnect.net
Cc:        ptroot@uswest.com, dwhite@resnet.uoregon.edu, questions@freebsd.org
Subject:   Re: Display variable
Message-ID:  <199606052005.UAA16287@gatekeeper.fsl.noaa.gov>
In-Reply-To: <31B490C5.260B@nconnect.net> (message from Randy DuCharme on Tue, 04 Jun 1996 14:38:45 -0500)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Randy" == Randy DuCharme <randyd@nconnect.net> 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/



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