bugGNU Screen - Bugs: bug #50827, Cannot reattach detached screen in...


bug #50827: Cannot reattach detached screen in master branch

Submitter:  Andy <andypro>
Submitted:  Tue 18 Apr 2017 07:36:44 PM UTC
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.99.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 18 Apr 2017 10:07:06 PM UTC, comment #2: 

Thanks for the reply amade.

I tried ./configure --enable-pam but had the same result.

I used your return; suggestion in Authenticate() and it's working.

I need truecolor support which is why I'm using the development branch.  When the feature lands in a tagged release, I'll switch over to that.  Thanks again.

Andy <andypro>
Tue 18 Apr 2017 08:15:58 PM UTC, comment #1: 

master is development branch for v5

if you want something close to 4.5.1 please use screen-v4 branch

if you really want to use master, either comment out stuff in authentication.c (make Authenticate() just "return;")
or try building with PAM support (./configure --enable-pam)

Amadeusz Sławiński <amade>
Group administrator
Tue 18 Apr 2017 07:36:44 PM UTC, original submission:  

Summary:  Feature works correctly on current screen builds and tags up to v4.5.1.

In the 4.99.0 however, after detaching a screen and attempting to reattach with:

./screen -x screenname

The output is:

can't open passwd file
can't open passwd file
can't open passwd file

It's either something to do with seteuid() or perhaps the fact that the screen storage directory changed to ~/.screen.

The build process used was identical between v4.5.1 and v4.99.0.

I have tested and have reproduced this problem on:
- Ubuntu 14.04.5 LTS
- Ubuntu 16.04   LTS

Andy <andypro>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by andypro (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.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-18 amade StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-c54d.
    Corresponding source code