Possible problems with Openbox in Fossa

a very small Live CD shaped to look and act like Puppy Linux.


Moderator: fredx181

Post Reply
Luluc
Posts: 155
Joined: Mon Feb 26, 2024 3:13 am
Has thanked: 89 times
Been thanked: 7 times

Possible problems with Openbox in Fossa

Post by Luluc »

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?

hikohan
Posts: 48
Joined: Wed Mar 13, 2024 12:08 am
Has thanked: 8 times
Been thanked: 13 times

Re: Possible problems with Openbox in Fossa

Post by hikohan »

Compile VIM from source,
Select earlier version like 7.4 even 6.8.

Simple, Basic and the Best it is.

User avatar
fredx181
Posts: 3386
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 438 times
Been thanked: 1485 times
Contact:

Re: Possible problems with Openbox in Fossa

Post by fredx181 »

Luluc wrote: Tue Nov 19, 2024 2:01 am

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
.....
.....
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?

That message is caused by "export" in ~/.xsession, (as SESSION_MANAGER is added to the environment (env) that way), so, last lines without "export":

Code: Select all

SESSION_MANAGER=/usr/bin/x-session-manager

exec $SESSION_MANAGER

Or:

Code: Select all

# SESSION_MANAGER=/usr/bin/x-session-manager

exec openbox-session

(but probably doesn't make a difference as /usr/bin/x-session-manager is pointing to openbox-session in this case)

Luluc
Posts: 155
Joined: Mon Feb 26, 2024 3:13 am
Has thanked: 89 times
Been thanked: 7 times

Re: Possible problems with Openbox in Fossa

Post by Luluc »

It worked. Thank you.

I just used 'exec /usr/bin/x-session-manager' instead of 'exec openbox-session' but only by accident, because I did it from memory and did it different from what you recommended. But hey, it's working.

Post Reply

Return to “DebianDogs”