bugGNU Screen - Bugs: bug #43533, 'screen -list' show client PID

 
 

bug #43533: 'screen -list' show client PID

Submitted by:  Aleksey Midenkov <midenok>
Submitted on:  Wed 05 Nov 2014 10:12:59 AM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
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.

 

Fri 05 Dec 2014 09:19:58 PM UTC, comment #2:

Do the following sequence:
detach, log out.
log in again.
screen -r

Now you have a new client pid from a new shell, posisbly from a new terminal connected to screen. The initial client pid is now meaningless. But the pid of the screen sesison is still the same.

This is why the pid of the session is part of the socket name.
It also helps 'screen -wipe' to find out which sessions are still alive.

I hope there is another way to find the correct SSH_AUTH_SOCK -- I cannot really tell, I never used the SSH_AUTH_SOCK feature myself.

Juergen Weigert <jnweiger>
Project Administrator
Wed 05 Nov 2014 10:22:21 AM UTC, comment #1:

All other solutions with SSH_AUTH_SOCK issue suffer from racing condition.

Aleksey Midenkov <midenok>
Wed 05 Nov 2014 10:12:59 AM UTC, original submission:

'screen -list' should show:

24617.pts-24.some_host (Attached to PID 8837)

Where 8837 is PID of 'screen -r' command. Currently it does:

24617.pts-24.some_host (Attached)

PID of client will help to find correct SSH_AUTH_SOCK value.

Aleksey Midenkov <midenok>

 

(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 jnweiger (Posted a comment)
  • -unavailable- added by midenok (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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1