LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-15-2003, 07:18 PM   #1
ecmorris
LQ Newbie
 
Registered: May 2003
Location: Canada
Distribution: Red Hat 8
Posts: 5

Rep: Reputation: 0
Localhost and gnome


Can someone please help me with this minor problem?
Whenever anyone logs into my computer I get the message:
Gnome cannot look up internet address for localhost... ...add local host to file /etc/hosts.
I tried adding localhost = 127.0.0.1 but I have had no success.
Any suggestions?
Thanks, EM.
 
Old 06-15-2003, 11:15 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
HOSTNAME

This is just a guess. Look up your hostname in /etc/HOSTNAME (mine is linux.local) and then add the following line to /etc/hosts

127.0.0.2 linux.local linux
 
Old 06-15-2003, 11:36 PM   #3
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
its 127.0.01 by the way. I have the shirt.

Mine looks like this:

127.0.0.1 localhost
127.0.0.1 darkstar.localhost.org darkstar
 
  


Reply


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
Change localhost name in username@localhost n175uj Linux - Newbie 4 07-01-2005 09:25 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 09:01 AM
dns requests from localhost to localhost keex Linux - Networking 2 11-13-2003 02:47 PM
Telnet localhost and telnet not from localhost for IMAP services seb77 Linux - Networking 1 10-15-2003 02:20 PM
Gnome localhost oddity nartprod Linux - Networking 3 08-17-2002 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:09 PM.

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