LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Gnome Error (https://www.linuxquestions.org/questions/debian-26/gnome-error-371665/)

carlosinfl 10-10-2005 05:25 PM

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?

yanik 10-10-2005 05:31 PM

can you post your /etc/hosts file?

ricardo85x 10-10-2005 06:39 PM

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...

carlosinfl 10-11-2005 05:52 AM

I will post the /etc/host file when I get home.

Thanks for your help.

carlosinfl 10-11-2005 03:22 PM

My /etc/hosts file is compleyely empty...

My hostname = debian

Please help!

basileus 10-12-2005 04:19 AM

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.

carlosinfl 10-12-2005 05:40 AM

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.

carlosinfl 10-12-2005 08:14 AM

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?

walding 10-22-2005 04:48 PM

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?



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