You are not logged in.

#1 2011-04-30 16:10:00

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Xfce-Hostname error at startup [SOLVED]

WhuZzZ up archers, I've been having a small 'issue' with my freshly settled Arch Linux installation. The point is that there is an error showing at Xfce's startup saying:

Could not look up internet address for ViruSzZ.
This will prevent Xfce from operating correctly.
It may be possible to correct the problem by adding
ViruSzZ to the file /etc/hosts on your system.

however this is what my hosts file looks like:

┌─[ 17:49 ][ ViruSzZ:~ ]
└─>> cat /etc/hosts
127.0.0.1 localhost.localdomain localhost ViruSzZ

also the $HOSTNAME in rc.conf match the one in the /etc/hosts file.

┌─[ 17:49 ][ ViruSzZ:~ ]
└─>> grep -i hostname /etc/rc.conf 
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
HOSTNAME="ViruSzZ"

This never happen before. Am I missing something?

I truly appreciate your input on this,

Thanks,

Daniel

Last edited by ViruSzZ (2011-05-01 07:24:46)


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#2 2011-05-01 02:07:36

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Xfce-Hostname error at startup [SOLVED]

Maybe try lower case? (a stab in the dark...)

Offline

#3 2011-05-01 07:05:28

rwd
Member
Registered: 2009-02-08
Posts: 664

Re: Xfce-Hostname error at startup [SOLVED]

If you type the command 'hostname' from the account under which xfce runs do you get 'ViruSzZ' ?

Offline

#4 2011-05-01 07:24:16

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: Xfce-Hostname error at startup [SOLVED]

stqn wrote:

Maybe try lower case? (a stab in the dark...)

I already tried that and did not help.

rwd wrote:

If you type the command 'hostname' from the account under which xfce runs do you get 'ViruSzZ' ?

Yes, I got ViruSzZ. I found what the problem was. It was due to lack of permissions of the (/etc/hosts) which was 400 and when I compared it with one of my server's /etc/hosts file it was 644. I just issued

┌─[ 08:54 ][ ViruSzZ:/home/viruszzz ]
└─>> chmod 644 /etc/hosts

and everything is working fine now.

I'm marking this as SOLVED now.

Take care Archers, get my all respect

Daniel


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

Board footer

Powered by FluxBB