Re: Changing Hostname

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

 



On Sat, Apr 17, 2004 at 12:05:24PM -0700, Clifford Snow wrote:
> On Wed, 2004-04-14 at 14:41, Taylor, ForrestX wrote:
> <snip>
> > 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.
> 
> I made the suggested changes and it work.  Thank you. To recap, I used
> the following steps:
> 1. xhost +newhostname
> 2. changed the hostname in /etc/sysconfig/network
> 3. changed the 127.0.0.1 entry in /etc/hosts to include the new host
> name
unless you are using dhcp this hosts file should contatin the ip and
hostname fo you machine.
> 4. restarted network services
> 5. restarted X using Ctrl-Alt-Backspace
> 
> Everything is working, however, when logging back into Gnome, I received
> an error message stating that Gnome could not fine the oldhost name. 
> Once logged in everything seems to work.  
> 
> My question is, how do you update the hostname gnome stores?  
> 
> Also, is there a command that can be run to restart X?  I've built a
> script to change the hostname and would like to eliminate having the
> user restart X.
> 
> -- 
> Clifford Snow



> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@xxxxxxxxxxx



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

  Powered by Linux