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

 
 

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

Submitter:  Aleksey Midenkov <midenok>
Submitted:  Wed 05 Nov 2014 10:12:59 AM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

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

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code