Gentoo Archives: gentoo-user

From: Harry Putnam <reader@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: startx fails launching KDE 4
Date: Sat, 22 Nov 2008 01:57:29
Message-Id: 87hc605xqj.fsf@newsguy.com
In Reply to: Re: [gentoo-user] Re: startx fails launching KDE 4 by Andrey Vul
1 "Andrey Vul" <andrey.vul@×××××.com> writes:
2
3 > On 2008-11-21, Harry Putnam <reader@×××××××.com> wrote:
4 >> "Andrey Vul" <andrey.vul@×××××.com> writes:
5 >>
6 >> > Result of startx &> xlog; cat xlog :
7 >> > hostname: Host name lookup failure
8 >>
9 >>
10 >> I'm not sure how much this may help you problem. But have you made
11 >> changes to your /etc/hosts file recently. You might post the first
12 >> line of it here.
13 > First line:
14 > 127.0.0.1 localhost
15 >
16 > Note: this is the first line on both the computer currently running
17 > KDE 4 and the one failing to run KDE 4.
18
19 Do the contents of /etc/conf.d/hostname
20 and /etc/conf.d/domainname
21
22 have similar kind of information on both machines?.
23
24 I once had quite a lot of trouble with sendmail and a helpful poster
25 here told me to fix /etc/hosts like this:
26
27 127.0.0.1 reader.local.lan reader localhost
28 192.168.0.4 reader.local.lan reader
29 [...]
30
31 The advice pertained to the first line above. The second was my own
32 addition.
33
34 Below is a note from my hosts file showing the origin of the tip.
35
36 # From: Heinz Sporn <heinz.sporn@××××××××.com>
37 # Subject: Re: Why does sendmail think its hosts name is `localhost'
38 # Newsgroups: gmane.linux.gentoo.user
39 # Date: Tue, 07 Feb 2006 07:37:08 +0100
40 # Message-ID: <1139294228.9734.10.camel@×××××××××××××××××××.com>
41 # [HP 02/07/06 02:37 Trying a tip from Heinz Sporn - switching
42 ## 127.0.0.1 localhost reader to
43 ## 127.0.0.1 reader localhost .. I think he's on to
44 ## something... we'll see.]
45 # 127.0.0.1 localhost reader
46
47 I haven't had a host lookup issue for quite a long time as you can see
48 by the date in the post.
49
50 But this may not be very helpful for your current problem. However
51 host lookup trouble can be quite hard to diagnose.

Replies

Subject Author
Re: [gentoo-user] Re: startx fails launching KDE 4 Andrey Vul <andrey.vul@×××××.com>