Every time I connect to my Ubuntu 17.10 machine with byobu-enable turned on, I get a new "session" rather than it reusing my existing sessions.
On connect:
Byobu sessions...
1. tmux: foo: 3 windows (created Sun Jan 28 10:23:59 2018) [204x53] (group foo)
2. tmux: ba: 1 windows (created Sun Jan 28 10:24:16 2018) [204x53]
3. Create a new Byobu session (tmux)
4. Run a shell without Byobu (/bin/bash)
Upon selecting one, say (1), I am dumped to a byobu session named e.g. _foo-20462
$ byobu list-session
_foo-20462: 4 windows (created Sun Jan 28 10:42:20 2018) [204x53] (group foo)
foo: 4 windows (created Sun Jan 28 10:23:59 2018) [204x53] (group foo)
bar: 1 windows (created Sun Jan 28 10:24:16 2018) [204x53]
The odd thing is that _foo-20462 appears to be an exact replica of the "foo" session. The only way I can figure out to kill these is byobu kill-session -t _foo-20462
, but I figure there must be a way to disable this behavior, as it was not the same in prior versions of Ubuntu.