LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-10-2005, 05:25 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Gnome Error


Just reinstalled and installed the "Desktop Environment" so now when my Debian system boots, I get an error after I login as my user that says:

Could not look up internet address for debian. This will prevent Gnome from operating correctly. It may be possible to correct the problem by adding Debian to the file /etc/hosts.

Log In Anyways or Try Again


I am able to get the GUI login prompt fine and I have an active internet connection.

Can someone please help me?
 
Old 10-10-2005, 05:31 PM   #2
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
can you post your /etc/hosts file?
 
Old 10-10-2005, 06:39 PM   #3
ricardo85x
LQ Newbie
 
Registered: Oct 2005
Distribution: slackware, freeBSD, Debian
Posts: 1

Rep: Reputation: 0
same error..

this is my "etc/hosts"

127.1.1.6 localhost






and my hostname is "ricardo85x"

how can i know and charge my domain name ?


ps: sorry for my poor english...
 
Old 10-11-2005, 05:52 AM   #4
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I will post the /etc/host file when I get home.

Thanks for your help.
 
Old 10-11-2005, 03:22 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
My /etc/hosts file is compleyely empty...

My hostname = debian

Please help!
 
Old 10-12-2005, 04:19 AM   #6
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Gnome does not seem to operate correctly if it can't resolve your computer's hostname. Under normal circumstances you should not use any "hostnames" given to you by your ISP or anything.

My /etc/hostname:

localhost.localdomain

My /etc/hosts:

127.0.0.1 localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

I suppose only the 127.0.0.1 is required, all else is related to ipv6, which I do not currently use.
 
Old 10-12-2005, 05:40 AM   #7
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I was actually mistaken when I said that my /etc/hosts was completely blank.

Here is what that dir. shows exactly.

127.0.0.1 debian localhost.localdomain localhost

# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


I added some stuff to the first line you see and now I no longer get the error when Debian starts up into GUI mode. I am prompted to login as I did with a graphical login screen so I enter my user name and password. This time there is no error but I get the "Debian" logo load screen to show that Gnome is loading however that is as far as she gets. It freezes and will not go any further. I don't know what the problem is.
 
Old 10-12-2005, 08:14 AM   #8
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
I don't know if this means anything but under my user dir. I found a file called ".xsession-errors

When I view this file, there is so much info but I wonder if anyone knows if I can maybe find out why GNOME wont load in this file?
 
Old 10-22-2005, 04:48 PM   #9
walding
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
Re: Gnome Error

Hi,

I'm also getting the same error, except that my error says "Could not look up internet address for . This will prevent Gnome from operating correctly. It may be possible to correct the problem by adding to the file /etc/hosts." (i.e. it appears to be trying to resolve a blank hostname!)

My etc/hosts file is:
127.0.0.1 localhost.localdomain localhost waldersubuntu

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

The other symptom I get is that when I try a sudo command (e.g. sudo gedit /etc/hosts), I get the error "sudo: unable to lookup via gethostbyname()". I presume this is related to the host error? The command without sudo works just fine (excpet that it's read-only, of course!).

Can anyone help?

AW



Quote:
Originally posted by carlwill
Just reinstalled and installed the "Desktop Environment" so now when my Debian system boots, I get an error after I login as my user that says:

Could not look up internet address for debian. This will prevent Gnome from operating correctly. It may be possible to correct the problem by adding Debian to the file /etc/hosts.

Log In Anyways or Try Again


I am able to get the GUI login prompt fine and I have an active internet connection.

Can someone please help me?
 
  


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
gnome-system-monitor error after updating gnome tachyian Fedora 3 10-27-2005 05:58 AM
Gnome error - now I cant get xterm,kde,gnome covertops Linux - Newbie 3 02-24-2005 07:58 AM
Gnome 2.6 error huntz Slackware 9 05-10-2004 02:24 AM
Gnome 2.6 Error simanyay Slackware 4 04-22-2004 12:40 PM
Gnome error i think? RancidLM Linux - General 4 10-19-2001 09:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:48 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
Open Source Consulting | Domain Registration