Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 718  / 3 Years ago, wed, july 7, 2021, 11:58:50

When on Debian I access via ssh and then open a new tmux session, detach it, I see them in the who command. Note: In both examples are 2 SSH connections to each server. Ubuntu is Ubuntu Server 20.04.


who
debian pts/0 2021-03-27 23:18 (192.168.178.5)
debian pts/1 2021-03-27 23:23 (192.168.178.5)
debian pts/2 2021-03-27 23:27 (tmux(4298).%0)
debian pts/6 2021-03-27 23:47 (tmux(4298).%4)

tmux list-sessions
0: 1 windows (created Sat Mar 27 23:27:35 2021) [166x54]
4: 1 windows (created Sat Mar 27 23:47:36 2021) [166x54]

On Ubuntu:


who
ubuntu pts/0 2021-03-31 00:01 (192.168.178.5)
ubuntu pts/2 2021-03-31 00:43 (192.168.178.5)

tmux list-sessions
0: 1 windows (created Tue Mar 30 18:01:15 2021)
1: 1 windows (created Tue Mar 30 18:29:29 2021)
2: 1 windows (created Tue Mar 30 18:51:09 2021)
3: 1 windows (created Tue Mar 30 19:18:59 2021)
4: 1 windows (created Tue Mar 30 19:20:08 2021)
5: 1 windows (created Tue Mar 30 19:20:38 2021)

More From » ssh

 Answers
0

This is unintended behavior and a bug in Ubuntu 20.04, which is not present in other Ubuntu versions (not even Ubuntu 20.10). The bug report is here: https://bugs.launchpad.net/ubuntu/+source/tmux/+bug/1890406


[#1754] Friday, July 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bunsistent

Total Points: 198
Total Questions: 108
Total Answers: 121

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
bunsistent questions
Thu, Aug 5, 21, 12:26, 3 Years ago
Fri, Jul 16, 21, 00:04, 3 Years ago
Tue, May 25, 21, 04:26, 3 Years ago
Fri, May 12, 23, 19:42, 1 Year ago
;