zolrath / wemux

Multi-User Tmux Made Easy
MIT License
3.63k stars 139 forks source link

Detaching from server started with `wemux start` exits tmux #58

Open saleyn opened 8 years ago

saleyn commented 8 years ago

I am starting a server with wemux start and detaching from it using Ctrl-b,D. I expect that that should leave the tmux session running in the background. However it looks like that session gets killed upon detaching, and tmux list states that there are no servers.

How do you detach and leave the session running so that it's possible to re-attach later?

TommieIV commented 8 years ago

I am having the same issue. Anyone found a fix?

TommieIV commented 8 years ago

@saleyn Here is what I ended up doing. I used screen to create a wemux session. So instead of using ctrl-b d to disconnect you will just use ctrl-a d to detach using screen. Works well for now. If you have any questions ill be happy to help.

saleyn commented 8 years ago

@TommieIV, thanks for the tip. Though this workaround is functional, the whole point of using tmux was to get away from screen all together. So, it would be great to see a "native" wemux solution from the author.

saleyn commented 8 years ago

I noticed that if you set the following option in the config file, then the detached sessions work correctly:

announce_attach="false"
saleyn commented 8 years ago

Apparently this is a tmux issue. See this: https://github.com/tmux/tmux/issues/513.

TommieIV commented 8 years ago

Ahhh.