Re: DNS problems (2)

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: James Newsome (jnewsome@ece.cmu.edu)
Date: 02/02/03


I had this problem too. You need to do
xhost +newhostname
before changing the hostname, otherwise you won't be able to open new
windows. I think you have to add the line to /etc/hosts before the xhost
command though, or it'll tell you it's a bad host name.

Jim

On Sun, 2 Feb 2003, Gaurav Kataria wrote:

>
> by implementing this solution my ./showpicture stops launching a viewer to
> display the image. I don't know what is the relation between the two. It
> gives some error message for Xlib.
>
> Gaurav
>
> --On Sunday, February 02, 2003 1:14 PM -0500 Suman Nath <sknath@cs.cmu.edu>
> wrote:
>
> > All,
> > Some of you have complained that Protocol.getLocalIP() returns 127.0.0.1
> > as the local IP address, and so all the dynamic DNS entries have the
> > address 127.0.0.1. Ideally Protocol.getLocalIP() should return a
> > non-127.0.0.1 IP.
> >
> > As a quick fix, use the following hack to get aroung with that.
> >
> > 1. use "hostname <name>" (i.e. "hostname sknLaptop") to set a name to your
> > machine,
> >
> > 2. add "<ip> <name>" (i.e. "1.2.3.4 sknLaptop", where 1.2.3.4 is the IP
> > address of the machine shown by the "/sbin/ifconfig" command) to your
> > /etc/hosts file
> >
> > I will try to find a better solution.
> >
> > - Suman
> >
> >
> >
> >
>
>
>
>
>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 02/02/03 EST