I've been struggling with this problem: whenever I run the Vim editor, this is printed on the terminal:
_IceTransOpen: Unable to Parse address /usr/bin/x-session-manager
It's very annoying not only because it's useless but also because Vim starts without proper focus and makes initial interaction awkward. For example, I have to press Esc twice rather than once or Alt+Tab away then Alt+Tab back to correct focus. And I use Vim a lot. A lot.
It only seems to happen to Vim. I removed all my custom configuration temporarily (.vimrc, .viminfo and the .vim directory from my $HOME) and the problem still happens.
I thought I might have broken something but I booted into one of my very first 01-filesystem.squashfs files, with close to no modifications, had to install Vim again, and the problem is there. I also tried the old kernel, and the problem also happens with it.
I only found three hits on google related to that error and none of them is helping.
Then there is this other problem:
Some minor things don't quite behave the way I expect them to in Openbox. I decided to try running synaptic and installing all the lxde/lxde-session packages to make lxde complete. They installled, but the behavior became quite different and strange. The weirdest of all is that Openbox launches to a nearly blank screen and no mouse pointer. The mouse pointer and the desktop icons appear a long time later. Several minutes later. I decided to reboot clearing changes and give up on the whole lxde-session shebang.
There must be something misconfigured there that is causing the problem with Vim and maybe it has to do with Openbox. What do you think? Any suggestions?