yudai/gotty

Screen Fails When Detaching Screen Session

justingoldberg opened this issue · 0 comments

I am using chrome and windows 10 64.

Screen fails when typing Ctrl-A and then D, to detach the active screen session.

It fails on two different QNAP NAS, one with an ARM cpu and also another one with an AMD 64-bit cpu.

Here is what happens:

[] # screen -v
Screen version 4.00.03 (FAU) 23-Oct-06
[
] # screen
[~] #

Screen version 4.00.03 (FAU) 23-Oct-06

Copyright (c) 1993-2002 Juergen Weigert, Michael Schroeder
Copyright (c) 1987 Oliver Laumann

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either
version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see the file COPYING); if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA.

Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to screen@uni-erlangen.de

                                                                      [Press Space or Return to end.]

I run sleep 60 & at this point.

Then I detach with ctrl-A then D.

I get this error:

[detached]reen
[] # un/utmp: No such file or directory
[
] #

However the screen sessions are still running as shown below:

[] # screen -r
There are several suitable screens on:
4064.pts-1.QNAP (Attached)
3037.pts-1.QNAP (Detached)
28898.pts-1.QNAP (Detached)
26651.pts-1.QNAP (Detached)
26628.pts-1.QNAP (Detached)
6980.MYTRANSCODE (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
[
] #

Everything seems to be working however, I am able to reattach to the detached screen sessions.

Yeah, I know, I need to learn tmux.