Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 1999 17:49:30 -0700 (PDT)
From:      Brian <bri@sonicboom.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   setenv DISPLAY stuff
Message-ID:  <Pine.BSF.4.10.9908121745470.29446-100000@adsl-216-102-203-44.dsl.snfc21.pacbell.net>
In-Reply-To: <199908130039.UAA14673@radagast.wizard.net>

next in thread | previous in thread | raw e-mail | index | archive | help

I saw someone a while ago havin display variable problems with a dhcp
assigned ip.  I do this on a Solaris box to get the display launched back
to a windoze box with a dhcp ip properly.

Try adding it to your .files.  I'm a tcsh guy, so I make no claim about
its effectiveness in other shells.

from setenv to 0 is 1 line btw.


if ( ! ${?DISPLAY} ) then
        setenv DISPLAY `who am i | tr -d \( | tr -d \) | awk '{print
$6}'`:0
endif  

				Bri



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908121745470.29446-100000>