tags:

views:

557

answers:

2

Recently I changed the hostname of my computer and now every time I start a qt program i get a message that says

_IceTransSocketUNIXConnect: Cannot connect to non-local host [My old hostname]

Qt: Session managment error: Could not open network socket

But the program still works fine. It just is slow to start up. I am using ubuntu 9.04. Any idea how I can solve this problem?

A: 

whats the content of your /etc/hosts ?

elcuco
127.0.0.1 localhost127.0.1.1 dev4My old hostname was dev3
DHamrick
+3  A: 

I suspect you have an old session being saved by your window manager (typically GNOME or KDE) that still references the previous hostname (dev3).

Disposing of that session file might solve your problem. Under KDE these are stored in "~$USER/.kde/share/config/session/". There are also directories based upon hostname in ~$USER/.kde/(cache|socket|tmp)-$hostname which you can delete the old ones for the previous hostname. I'm assuming Linux/BSD platform for directory paths, adjust as necessary for other platform targets.

I'm not sure of GNOME session file placement. find ~$USER/ -name "*session*" might be a good start.

mctylr
I had the problem even with the same hostname. I removed entire .kde and it fixed it.Thanks!
OutputLogic