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 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

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

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3