bugGNU Screen - Bugs: bug #66391, can not dettach from session

 
 

bug #66391: can not dettach from session

Submitter:  Alex Lavigne <alex_lavigne>
Submitted:  Thu 31 Oct 2024 01:27:47 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  5.0.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 01 Nov 2024 12:03:40 AM UTC, comment #2: 


comment #1:

> Thanks for reporting.
>
> Can you try to use '-r' instead of '-d' ? Is it works?
> What's about 'screen -x' ?


Hi, both `screen -r` and `screen -x` work fine for attaching to a session. However, I am unable to detach from the session after executing these commands. The most reliable workaround I’ve found is to access the session from another device via SSH. When I need to detach, I simply disconnect the network connection.


Alex Lavigne <alex_lavigne>
Thu 31 Oct 2024 10:11:57 PM UTC, comment #1: 

Thanks for reporting.

Can you try to use '-r' instead of '-d' ? Is it works?
What's about 'screen -x' ?

Alexander Naumov <anaumov>
Group administrator
Thu 31 Oct 2024 01:27:47 AM UTC, original submission:  

When I run `screen -d <session_id>`, I receive the following error:

```
Cannot find terminfo entry for ''.
```

This issue occurs across multiple devices on both Arch Linux and Ubuntu. Screen version 4.9.1 works fine, but since upgrading to screen 5.0.0 on August 29, I can no longer detach from sessions.

I have tried various methods to resolve this without success. To troubleshoot, I ran a clean Arch Linux Docker container and installed screen 4.9.1, which worked correctly. However, after downloading the source package for screen 5.0.0 from [GNU FTP](https://ftp.gnu.org/gnu/screen) and compiling it with `make && make install`, the same error occurred. I then repeated the process in a clean Ubuntu Docker container—version 4.9.1 installed via `apt` worked fine, but compiling and installing version 5.0.0 led to the same issue.

I have tried to add `debug on` and `logfile` item in `~/.screenrc` file. The logfile content as bellow:

```
sh-5.2# echo $STY
123.pts-1.a34d52a4f68e
sh-5.2# screen -d 123
Cannot find terminfo entry for ''.
```

This bug is causing significant inconvenience in my use of screen. Please follow up on this issue, and feel free to contact me if you need any further details.

Thanks & Regards, 
Alex Lavigne

Alex Lavigne <alex_lavigne>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #56585:  screen_debug.log added by alex_lavigne (167B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by anaumov (Posted a comment)
  • -email is unavailable- added by alex_lavigne (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-31 anaumov StatusNone Need Info
    2024-10-31 alex_lavigne Attached File- Added photo_2024-10-31_09-03-22.jpg, #56584
        Attached File- Added screen_debug.log, #56585

    Back to the top

    Powered by Savane 3.14-430a.
    Corresponding source code