thanks for your reply. This is what I suspected, but I don't use NM
and don't recall that any of my networks try to set my hostname (I
connect only to a dorm network, and eduroam, sometimes some dnsmasq
I have no idea who tries to set my hostname and will investigate it
(it really seems that setting my hostname to empty string is the
cause, but still I don't know why. One idea is that something is
corrupting my memory (I would point at i915 driver, but don't really
have time for debugging).
Regards Ladislav Laska
S pozdravem Ladislav Laska
2010/11/1 Carlos Laué <CarlosL@...>:
>> I've recently stumbled onto a problem, possibly with kde3.
>> After some time (and I think this happens after resuming from RAM),
>> new terminals (even text ones) have empty hostname, I can't run any X
>> apps (cannot connect to X server :0.0), kde tells me "KDEInit could
>> not launch 'anything'", and in .xsession-errors appears:
> 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:
> 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.
> Carlos Laué