Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-30-2004, 04:14 PM   #1
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
redhat8, changed hostname by editing config file, X no longer recognizes it

i changed my hostname by editing of the files in /etc/sysconfig/ , and now when X starts up it takes an extra 20 seconds or so, and it displays error msg:

hostname: host lookup failed

i remember i had this problem once before, but i cant remember the simple fix. thanks.
Old 03-30-2004, 04:17 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
you probably need to update /etc/hosts
Old 03-31-2004, 01:20 AM   #3
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
yep thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
editing the kernel config file slzckboy Linux - General 4 09-24-2005 02:48 PM
FC2 no longer recognizes USB devices jdtiede Fedora 1 03-08-2005 07:07 PM
Which config file do I set the hostname in (RH9)? anachron Linux - Newbie 8 06-02-2004 08:48 PM
editing wine config file.... Shantesh Linux - Software 1 09-14-2003 07:59 AM
RH9 no longer recognizes laptop keyboard or touchpad seanb Linux - Laptop and Netbook 1 08-13-2003 09:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration