On Wed, 22 Feb 2006 20:27:20 +0200
Giorgos Keramidas <[EMAIL PROTECTED]> wrote:

> On 2006-02-22 10:17, Rob <[EMAIL PROTECTED]> wrote:
> > 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
> 
> Your laptop can't resolve the name "xenon".
> 
> > 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"
> 
> Note that the capitalization of rc.conf variables is *significant*.  The
> real rc.conf variable that you have to set to avoid the "Amnesiac" name is:
> 
>     hostname="xenon"
> 
> > I have read manual pages, searched the archives, but I am really confused
> > about all of this.  Thank you for any help.
> 
> All this can be resolved by using `/etc/hosts'.  Just add your hostname
> there and point it to the 127.0.0.1 address.  Then all programs should be
> able to resolve it.
> 
> 
> 
Thanks Giorgios,

I think that I have the hostname problem resolved.  rc.conf has 
hostname="xenon"  and
/etc/hosts has:  127.0.0.1 localhost  xenon

So now Xorg does not give errors on startup or shutdown like the 
> > bad display name "xenon:0" in "remove" command    or
> > bad display name "xenon:0  in "list" command

But when not setting the DISPLAY variable explicitely anywhere I still get the 
error:
"out of display lists" upon starting the program I want from xterm

But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing the 
program then gives the error:

"Can't open display: xenon:0.0"   so I guess I am back to square one.

Maybe I should call it a day and rest, haha.

Thanks,

Rob




-- 

-----------------------
http://www.roblytle.org
Rob Lytle Home Page
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to