Changing Hostname

Taylor, ForrestX forrestx.taylor at intel.com
Wed Apr 14 21:41:28 UTC 2004


On Wed, 2004-04-14 at 14:28, Clifford Snow wrote:
> I'm attempting to change the hostname of my box.  I used the following
> steps to change the hostname:
> 1.  Edited /etc/sysconfig/network to change the
> HOSTNAME=newname.example.com
> 2.  Edited /etc/hosts to 127.0.0.1 localhost.localdomain localhost
> newname 
> 3. Ran /bin/hostname newname
> 
> I seem to be missing something because opening a web browser just
> hangs.  What other places need to be changed to change the hostname?

You forgot step 0: xhost +localhost.  The X server is no longer able to
send it's information to the original host name (since you changed it). 
Restart X (Ctrl+Alt+Backspace) and you should be able to start a
browser.

Forrest





More information about the fedora-list mailing list