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?
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.
In bash you can do
export -n SESSION_MANAGER
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With