When this problem is happening: - OpenOffice does not start - vim is starts slowly - It takes 7 seconds to open an xterm window
The socket in /tmp/.ICE-unix/ has a different number than the one programs are looking for. I time over 7 s when I start xterm and close the window as soon as it appears: $ time xterm Warning: Tried to connect to session manager, Could not open network socket real 0m7.374s ... Vim starts slowly, strace mentions ICE-unix $ strace vim newfile.txt ... nanosleep({1, 0}, {1, 0}) = 0 socket(PF_FILE, SOCK_STREAM, 0) = 3 uname({sys="Linux", node="foobar", ...}) = 0 connect(3, {sa_family=AF_FILE, path="/tmp/.ICE-unix/6026"}, 21) = -1 ENOENT (No such file or directory) close(3) Indeed, this /tmp/.ICE-unix/6026 does not exist. Instead, a similarly named socket with a different number is found: $ ls -ld /tmp/.ICE-unix/ /tmp/.ICE-unix/* drwxrwxrwt 2 root root 4096 2008-08-11 12:33 /tmp/.ICE-unix/ srwxrwxrwx 1 tero tero 0 2008-08-11 12:33 /tmp/.ICE-unix/6943 Don't know if this is related, but localhost and hostname are mapped to different IP's in the loopback block. $ cat /etc/hosts ... 127.0.0.1 localhost 127.0.1.1 foobar ... Running Ubuntu 8.04.1 hardy. IPv6 is not disabled. Currently, DNS resolution is quite slow, don't know if it is related. I have network- manager 0.6.6-0ubuntu5, xserver-xorg 1:7.3+10ubuntu10.2, xterm 229-1ubuntu1, vim 1:7.1-138+1ubuntu3. -- Connection to ICE-unix/.. socket times out so programs take minutes to start https://bugs.launchpad.net/bugs/58171 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs