Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set X11 authority file hostname via a script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set X11 authority file hostname via a script
Authored by: hlk on Apr 28, '04 08:10:45AM

Hi there

Problem: hostname changes on laptop
Solution: dont change ...

I changed my iBook hostname in /etc/hostconfig:
##
# /etc/hostconfig
##
# This file is maintained by the system control panels
##
# Network configuration
HOSTNAME=-AUTOMATIC-
to
HOSTNAME=otto

Then I made sure that "otto" always resolves to my machine in /etc/hosts:
::1 localhost otto.kramse.dk otto otto.local localhost6
127.0.0.1 localhost otto.kramse.dk otto otto.local

This should make everything work nicely - standard X11 UNIX way :-))

Dont go making things any more complicated ;-)

Best regards

Henrik



[ Reply to This | # ]
Set X11 authority file hostname via a script
Authored by: n8gray on Apr 28, '04 03:26:08PM

This post is exactly right. There should really be a way of amending a hint to say "it turns out the correct way to do this is..."



[ Reply to This | # ]