From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 18:18:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 243B516A420 for ; Wed, 22 Feb 2006 18:18:44 +0000 (GMT) (envelope-from rob@roblytle.org) Received: from smtpout09-04.prod.mesa1.secureserver.net (smtpout09-04.prod.mesa1.secureserver.net [64.202.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id A0D3443D45 for ; Wed, 22 Feb 2006 18:18:43 +0000 (GMT) (envelope-from rob@roblytle.org) Received: (qmail 25439 invoked from network); 22 Feb 2006 18:18:42 -0000 Received: from unknown (24.20.8.31) by smtpout09-04.prod.mesa1.secureserver.net (64.202.165.17) with ESMTP; 22 Feb 2006 18:18:42 -0000 Date: Wed, 22 Feb 2006 10:17:59 -0800 From: Rob To: freebsd-questions@freebsd.org Message-Id: <20060222101759.66d3e0e3.rob@roblytle.org> Organization: LKA X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: problem regarding setting DISPLAY env variable and hostname X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 18:18:44 -0000 I have been trying to figure out how to set the display name on my computer. I have a program used with Xorg that gives me the error message: _X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor servname provided, or not known Error: Can't open display: xenon:0.0 also when starting or stopping Xorg I either get: bad display name "xenon:0" in "remove" command or bad display name "xenon:0 in "list" command I have my XDISPLAY env variable set using (in Bash): DISPLAY=xenon:0.0 export DISPLAY xenon is the name of the machine I think part of the problem is the setting of the hostname. This laptop runs off of DHCP and I am not really sure about what I should do for setting the hostname. The manual says to set HOSTNAME="" in rc.conf if using DHCP, but then I get the amnesiac message upon boot. Sendmail doesn't like that either and hangs during the boot process. So I just set it arbitrarily to "xenon" I have read manual pages, searched the archives, but I am really confused about all of this. Thank you for any help. Sincerely, Rob Lytle -- ----------------------- http://www.roblytle.org Rob Lytle Home Page