Creating hidden screen sessions which are not visible via "screen -ls" command

DummyBeginner

Is there any way to have screen sessions that aren't visible via screen -ls command? If so, then what's the access method to these screens?

Any screen that is created by a screen -S <Name> will be shown in the output of screen -ls.

muru

These locations mentioned in man screen could be of interest:

$SCREENDIR/S-<login>
/local/screens/S-<login>          Socket directories (default)
/usr/tmp/screens/S-<login>        Alternate socket directories.

Example:

% mkdir foo; chmod 0700 foo;
% SCREENDIR=$PWD/foo screen -S foo -d -m sleep inf
% screen -ls
No Sockets found in /var/folders/vy/t__dhyrs3d5dd_bvk6mj5t480000gn/T/.screen.

% SCREENDIR=$PWD/foo screen -ls
There is a screen on:
    67294.foo   (Detached)
1 Socket in /Users/muru/foo.

So, you could use different SCREENDIRs to keep separate sets of sessions.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Creating hidden screen sessions which are not visible via "screen -ls" command

From Dev

Screen session started from rc.local is not visible in screen -ls under root

From Dev

Execute dynamic command into all screen sessions

From Dev

screen -ls no longer displays session start date/time?

From Dev

Get the element which is the most visible on the screen

From Dev

Creating a which command in bash script

From Dev

How to make hidden links visible to screen readers but NOT tab navigation

From Dev

How to scroll to div which was hidden earlier but would be visible on label click

From Dev

Toggle certain divs to be visible or hidden based on which button is clicked

From Dev

file is visible on my desktop but not via the ls command

From Dev

How to immediately execute a command after creating a Screen?

From Dev

Creating a file unsing openFileOutput() which is visible to other applications

From Dev

The best way to load markers which are only visible on the screen (Android)?

From Dev

The best way to load markers which are only visible on the screen (Android)?

From Dev

What is the cause of these "dead" pixels which are visible even when the screen is off?

From Dev

How to tap on a button inside a CollectionView cell which is not visible on screen

From Dev

How to auto execute a command in screen window while creating a screen session

From Dev

Disable screensaver / screen blank via command line?

From Dev

Access to a js variable which visible for a brief period of time via XSS

From Dev

Access to a js variable which visible for a brief period of time via XSS

From Dev

Why shortcut which is visible on the desktop screen, not visible when we go into User>Desktop

From Dev

Is there an HTML/CSS only solution (no scripting) to creating hidden iframes that don't load until they become visible?

From Dev

Tables disappeared from phpMyAdmin but visible via command line

From Dev

Creating sessions with conditional events

From Dev

Hidden and visible classes

From Dev

Is a selectbox option visible or hidden?

From Dev

TOR hidden service: PHP sessions

From Dev

re-creating bandwidth pool detail screen via API

From Dev

Find out which command is running within a screen session

Related Related

  1. 1

    Creating hidden screen sessions which are not visible via "screen -ls" command

  2. 2

    Screen session started from rc.local is not visible in screen -ls under root

  3. 3

    Execute dynamic command into all screen sessions

  4. 4

    screen -ls no longer displays session start date/time?

  5. 5

    Get the element which is the most visible on the screen

  6. 6

    Creating a which command in bash script

  7. 7

    How to make hidden links visible to screen readers but NOT tab navigation

  8. 8

    How to scroll to div which was hidden earlier but would be visible on label click

  9. 9

    Toggle certain divs to be visible or hidden based on which button is clicked

  10. 10

    file is visible on my desktop but not via the ls command

  11. 11

    How to immediately execute a command after creating a Screen?

  12. 12

    Creating a file unsing openFileOutput() which is visible to other applications

  13. 13

    The best way to load markers which are only visible on the screen (Android)?

  14. 14

    The best way to load markers which are only visible on the screen (Android)?

  15. 15

    What is the cause of these "dead" pixels which are visible even when the screen is off?

  16. 16

    How to tap on a button inside a CollectionView cell which is not visible on screen

  17. 17

    How to auto execute a command in screen window while creating a screen session

  18. 18

    Disable screensaver / screen blank via command line?

  19. 19

    Access to a js variable which visible for a brief period of time via XSS

  20. 20

    Access to a js variable which visible for a brief period of time via XSS

  21. 21

    Why shortcut which is visible on the desktop screen, not visible when we go into User>Desktop

  22. 22

    Is there an HTML/CSS only solution (no scripting) to creating hidden iframes that don't load until they become visible?

  23. 23

    Tables disappeared from phpMyAdmin but visible via command line

  24. 24

    Creating sessions with conditional events

  25. 25

    Hidden and visible classes

  26. 26

    Is a selectbox option visible or hidden?

  27. 27

    TOR hidden service: PHP sessions

  28. 28

    re-creating bandwidth pool detail screen via API

  29. 29

    Find out which command is running within a screen session

HotTag

Archive