KDE refuses to start programs

From thelinuxwiki
Revision as of 16:49, 23 February 2015 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

problem

kde version: 4.14.3

KDE refuses to start programs at some point after login. Logging off and on again will temporarily resolve the issue, but it comes back quickly.

errors when starting programs from konsole:

Invalid MIT-MAGIC-COOKIE-1 keyxhost:  unable to open display ":0"

root cause i think was the dhcp server setting my hostname via an old /etc/hosts file on the dns server.

solution

I corrected the hosts file on the dns server and ran...

sudo hostname localhost

I was able to lauch programs again without restarting or logging off from KDE.

links

https://forum.kde.org/viewtopic.php?f=66&t=85330