Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot connect to i3 window manager socket path atom library is null #30

Open
psamim opened this issue Jun 21, 2016 · 9 comments
Open

Comments

@psamim
Copy link

psamim commented Jun 21, 2016

Hi,

I am not sure if this error is caused by xfce4-i3-workspaces-plugin or not. I start i3 and xfce4-panel using startx without any display manager.

When I close i3, the message cannot connect to i3 window manager socket path atom library is null is displayed continuously. When I switch to another TTY and kill the process /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libi3workspaces.so, the message is stopped.

Thanks,
Samim

@denesb
Copy link
Owner

denesb commented Jun 21, 2016

Yes, the plugin tries to reconnect to the window manager continuously after a disconnect. I'm not sure what to do about that. This makes sense when you are running an i3 session and the window manager have restarted or crashed. You can remove the plugin from the panel when you are done using i3 and then the spamming will stop.

@psamim
Copy link
Author

psamim commented Jun 21, 2016

Maybe it can stop trying to reconnect after some time.

Or react differently on i3 exit command.

Thanks,
Samim

@denesb
Copy link
Owner

denesb commented Jun 21, 2016

I have no way of determining how i3 exited. I could modify it to check only once in a second.

@psamim
Copy link
Author

psamim commented Jun 21, 2016

Frequency of checking does not matter. As long as it is checking, I cannot exit i3 and return to shell. I think we can have maximum retries.

@psamim
Copy link
Author

psamim commented Jun 21, 2016

But it seems that the ultimate solution is to have an exit event for i3ipc.

@acrisci
Copy link

acrisci commented Jun 21, 2016

I'm working in the exit event. It's done, I just need to do some cleanup.

@rharish101
Copy link

@denesb Sorry for bumping this old issue, but i3 has solved this here: https://i3wm.org/docs/ipc.html#_shutdown_event. Are you still willing to work on this? If yes, will you fix this issue using this shutdown event?

@liar666
Copy link

liar666 commented May 13, 2020

WFIW, this makes my ".xsession-errors.old" quickly fill the 37GB left of my /home partition :{

@hypergig
Copy link

This happened to me too.. after I restarted i3 to make a config change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants