From owner-freebsd-questions Thu Aug 12 17:50:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from adsl-216-102-203-44.dsl.snfc21.pacbell.net (adsl-216-102-203-44.dsl.snfc21.pacbell.net [216.102.203.44]) by hub.freebsd.org (Postfix) with ESMTP id 4878A14E45 for ; Thu, 12 Aug 1999 17:50:54 -0700 (PDT) (envelope-from bri@sonicboom.org) Received: from localhost (bri@localhost) by adsl-216-102-203-44.dsl.snfc21.pacbell.net (8.9.3/8.9.3) with ESMTP id RAA29456 for ; Thu, 12 Aug 1999 17:49:31 -0700 (PDT) (envelope-from bri@sonicboom.org) Date: Thu, 12 Aug 1999 17:49:30 -0700 (PDT) From: Brian X-Sender: bri@adsl-216-102-203-44.dsl.snfc21.pacbell.net To: freebsd-questions@FreeBSD.ORG Subject: setenv DISPLAY stuff In-Reply-To: <199908130039.UAA14673@radagast.wizard.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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