Re: Changing Hostname

From: Aaron Konstam (akonstam_at_trinity.edu)
Date: 04/18/04

  • Next message: Paul: "Re: sorry"
    Date: Sat, 17 Apr 2004 18:41:05 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    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@redhat.com
    > 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@trinity.edu
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Paul: "Re: sorry"