Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 10:17:59 -0800
From:      Rob <rob@roblytle.org>
To:        freebsd-questions@freebsd.org
Subject:   problem regarding setting DISPLAY env variable and hostname
Message-ID:  <20060222101759.66d3e0e3.rob@roblytle.org>

next in thread | raw e-mail | index | archive | help
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



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