Questions tagged [gnu-screen]

screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). For computer monitors, see the tag /monitors.

screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
For computer monitors, see .

940 questions
307
votes
4 answers

Can't resume screen, says I am already attached?

I am working on a remote Debian Jessie server. I have started a screen session, started running a script, then been disconnected by a network timeout. Now I have logged in again and want to resume the session. This is what I see when I list…
Richard
  • 3,463
143
votes
6 answers

Setting a name for a screen session

Is there a way to give a particular name to a unix screen session? For instance, say I'm running the same program multiple times, each with different parameters and I want to tell which one is which.
well actually
  • 3,225
  • 5
  • 22
  • 11
137
votes
4 answers

How do you detach the 2nd screen from within another screen?

I've accidentally attached to a 2nd GNU screen session from within an existing screen session and cannot detach or issue commands to the inner screen. I remember figuring out how to do that before but completely forgot and would like to keep it as…
Artem Russakovskii
  • 1,505
  • 2
  • 9
  • 9
124
votes
1 answer

there are screens in the list, but "no screen to be resumed"

When I type screen -r I expect to either see: A list of screens to resume, or a message "There is no screen to be resumed." Today, I see there is one screen, but I still get the message that there is no screen to be resumed: [root@server chiliNUT]#…
chiliNUT
  • 1,759
92
votes
5 answers

How to split window vertically in GNU Screen?

I saw some body split their window to 2x2, I just want to know how to do that? I know the 'split' command in Screen can only split the window horizontally.
Rocky
  • 1,599
  • 2
  • 15
  • 10
72
votes
5 answers

How to rename a gnu screen session

I am running a screen session and I'd like to change it's name. I know that when starting a new screen session I can use the '-S' option to give it a name. How do I change that name once the session has already started?
chaimp
  • 831
49
votes
3 answers

Prevent GNU screen from terminating session once executed script ends

I'm trying to force GNU screen to create a "virtual" terminal, without attaching to it, execute script inside and NOT terminate session once script ends. I tried many combinations, including: screen -dmS udplistener…
trejder
  • 741
43
votes
2 answers

How do you bypass or skip the intro message when starting screen?

When I start screen, I get a message giving the version, copyright, and bug-reporting email address. I don't want to see this every time I start screen. Searching the man page didn't seem to result in a solution, and I am hoping that the experts…
Cory Klein
  • 18,911
41
votes
2 answers

How to open tabs windows in Gnu-screen & execute commands within each one

when starts session named any name like this screen -S name1 i want to open tabs windows in this screen session like when open tabs in gnome-terminal like this gnome-terminal --tab -e "some commands" so how to do this ?
37
votes
5 answers

Attach multiple times to a single screen session

I've been using screen -dRaA -S x to open up a single session between different workstations as I move about. Handy. Is it possible to connect multiple times to a single session, though, without disconnecting others? When I have two machines I'm…
27
votes
2 answers

GNU screen: move between regions

I've started splitting window in GNU screen into different regions - rather than switching between windows. Anyway, having split a window into 4 regions (2x2) it takes 3 C-a to return focus to the original region. That is quite…
neurino
  • 1,819
  • 3
  • 19
  • 25
26
votes
5 answers

tabs when using 'screen'

I am using Ubuntu 10.04. After I installed screen: sudo apt-get install screen I made two ssh connections to two remote servers by doing the following things step by step (I do the following steps according to the document here): 1. open a termnal…
Mellon
  • 1,049
24
votes
7 answers

Is there a way to run 'screen' in read-only mode?

I'd like to be able to check progress and output of my existing screen sessions, but in a read-only manner, so as to prevent something from going wrong due to user error. Is there a way to do this?
Naftuli Kay
  • 39,676
19
votes
2 answers

How to make screen -R attach to the youngest detached session?

I'm using screen on debian lenny, and I would like to use the -R option. From man screen: -R attempts to resume the youngest (in terms of creation time) detached screen session it finds. If successful, all other com‐ …
Wim Coenen
  • 1,263
18
votes
2 answers

Sending input to a screen session from outside

My scenario is this: I have a screen session running in a remote location. Inside this screen is a consoled-based program. When run without screen, this program starts in the terminal and accepts commands on its standard input. What I want is a way…
Luis Alvarado
  • 830
  • 1
  • 9
  • 20
1
2 3
12 13