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

 
 

bug #50827: Cannot reattach detached screen in master branch

Submitted by:  Andy <andypro>
Submitted on:  Tue 18 Apr 2017 07:36:44 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.99.0
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by andypro (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Apr 2017 08:15:58 PM UTCamadeStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1