Gentoo Archives: gentoo-desktop

From: "Carlos Laué" <CarlosL@××××××.cz>
To: gentoo-desktop@l.g.o, ladislav.laska@×××××.com
Subject: Re: [gentoo-desktop] [kde-sunset] KDE3/Gentoo problem
Date: Mon, 01 Nov 2010 22:03:03
Message-Id: 39716.28568.34815-16591-1477189280-1288648501@seznam.cz
1 Hello,
2
3 > I've recently stumbled onto a problem, possibly with kde3.
4 >
5 > After some time (and I think this happens after resuming from RAM),
6 > new terminals (even text ones) have empty hostname, I can't run any X
7 > apps (cannot connect to X server :0.0), kde tells me "KDEInit could
8 > not launch 'anything'", and in .xsession-errors appears:
9 > ...
10
11 I've seen a problem like this when I've installed networkmanager, and connected to a network that tried to set my hostname (a 3g connection). When it set the hostname I had no other way of getting back control of X / KDE3 than restarting the X server. I've solved it by adding two lines into /etc/NetworkManager/nm-system-settings.conf:
12
13 [keyfile]
14 hostname=myhostname
15
16 if you don't use networkmanager, there must be some option to pass to your DHCP client so it doesn't overwrite your hostname... I don't think this is kde3 related (cannot connect to X server :0.0), but I might be wrong, never tried it on other DE's.
17
18 Regards,
19
20 Carlos Laué

Replies

Subject Author
Re: [gentoo-desktop] [kde-sunset] KDE3/Gentoo problem Ladislav Laska <ladislav.laska@×××××.com>