Thank you for your suggestions.  I think I will be able to get this 
figured out now.  I have been playing with DNS now and I when I get that 
running I think VNC will stop complaining on startup.  I will try your 
suggestions in the host file while I read up on DNS.

>>-----Original Message-----
>>From: Greg Anderson [mailto:[EMAIL PROTECTED]]
>>
>>I've been playing around with apache setting up virtual servers and 
>>adding their
>> names to my /etc/hosts file.  Like this:
>>
>>127.0.0.0    localhost.localdomain    localhost
>>192.168.72.85    www.whatever.com    www.whenever.com
>>
>
>What is the `hostname` of the machine?
>What is the `domainname` of the machine?
>For both: type the command at the prompt and see what you get. Then make the
>line in /etc/hosts as follows:
>
>192.168.72.85  <hostname>      <hostname>.<domainname> www.whatever.com
>www.whenever.com
>
>>
>>When I do this, it works for the web server but it breaks vnc. When I 
>>start vnc I get:
>>    xauth: (argv):1:  bad display name "www:1" in "add" command
>>I'm using "vncserver :1 -depth 16" to start vnc.
>>
>
>I'm not sure but I think it is something around addressing or dns. First
>update your /etc/hosts file, add the hostname and domainname of the local
>machine to it's own line.
>
>Detail here: Best NOT to call the machine "www", better give it the name of
>your mother-in-law or such. So if you ask the machine for it's name
>(`hostname`), it responds with the name of your mother-in-law.
>
>Some points to investigate:
>
>What if you connect to the vncserver with `vncviewer 192.168.72.85:1`? This
>must work.
>
>What is the hostname of the machine, what do you get from the command
>`hostname`? Then try `vncviewer <hostname>:1`. This must also work.
>
>>The work around I am doing is to comment out the web hosts line in
>>my /etc/hosts file, reboot linux, start vnc, uncomment the hosts file 
>>webserver line,
>>restartt apache.  This works, but there must be a better way. 
>> Any body got any ideas?
>>
>
>Update the hostsfile.
>
>
>CBee
>
>
>--__--__--
>
>_______________________________________________
>
>
>VNC-List mailing list
>
>
>[EMAIL PROTECTED]
>
>
>http://www.realvnc.com/mailman/listinfo/vnc-list
>
>
>
>
>End of VNC-List Digest
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to