Re: Changing Hostname

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-04-14 at 14:43, Satish Balay wrote:
> On Wed, 14 Apr 2004, Taylor, ForrestX wrote:
> 
> > 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.
> 
> And also be consistant with the hostname (in the above 3 steps)
> 
> HOSTNAME=newname

True, and the OP didn't mention that (s)he restarted the network (step
2.5) ;o)

Forrest



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux