Questions tagged [gnu-screen]

GNU Screen is a software application that can be used to multiplex several virtual consoles.

GNU Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.

310 questions
6
votes
2 answers

How to know who is conected to my screen and where on the screen he is?

I use screen, and sometimes I'm forced to share it. How I can manage the active connections to my screen? I would like to monitor connections and users connected, where they are and what they do. Also I would like to be able to kick them out. Is…
Marc Riera
  • 1,637
  • 4
  • 23
  • 38
5
votes
2 answers

Can a locked gnu screen session terminal be accessed?

One of the functions of GNU Screen is to lock the screen. The man page says this: lockscreen Lock this display. Call a screenlock program (/local/bin/lck or /usr/bin/lock or a builtin if no other is available). Screen does not accept any…
Zoredache
  • 130,897
  • 41
  • 276
  • 420
5
votes
3 answers

Create screen session in background only if it doesn't already exist

How can i create a screen in detached mode only if it doesn't exist? This creates a screen named name in detached mode but will create duplicates screen -dmS name command This creates a screen only if it doesn't exist but not detached screen -dRms…
Maciej Swic
  • 290
  • 5
  • 19
5
votes
1 answer

Running detached screen session but without termination in the same bash

Here are already many questions like this, but every one recommends (a variant of) the following solution: screen -dmS somename bash -c "/path/to/script; bash -l" e.g. when the script ends, run an new bash. Unfortunately, this isn't works for me,…
clt60
  • 414
  • 3
  • 10
5
votes
1 answer

Unlock screen for ec2-user

I accidently locked screen under ec2-user (pressed C-a C-x). As far as I know ec2-user has no password. Now I'm prompted for password to unlock. I do not want to terminate the process running under that screen. Is there any way to unlock the…
rmflow
  • 155
  • 5
5
votes
2 answers

Can I disable the message line when launching ``screen -RR``

screen -RR is great. It does one of the two thing automatically: If there is any detached screen session, it picks up one can attach to it. If there is no detached screen session(no session yet, or all have been attach to other terminal), it…
Jimm Chen
  • 1,749
  • 5
  • 18
  • 32
5
votes
2 answers

Putty + Bash + Screen, up arrow for history not working (Ubuntu 11.10)

I have a fresh install of Ubuntu Server 11.10 that I am logging into SSH via PuTTy. When I am inside screen, I cannot use the up arrow to recall bash history (though this works outside of screen). I cannot seem to find the exact same problem on…
Mike S
  • 420
  • 4
  • 13
5
votes
5 answers

Allow use of screen without ability to detach sessions

I'm wondering if this is possible. I'd like users to be able to launch screen on some of our hosts for the purpose of multiplexing their terminal login sessions. However, I don't want them to be able to detach the screen and leave it running in the…
Kamil Kisiel
  • 12,184
  • 7
  • 48
  • 69
5
votes
1 answer

How to "Open a new window in GNU/Screen" by running a command?

I want to know how to accomplish this: Open a new window in GNU/screen, by running a command. Here's what I want to do: I uses GNU/screen daily. My laptop runs in UTF-8 locale, and I need to ssh to some specific servers which runs in GBK…
yegle
  • 696
  • 7
  • 18
5
votes
3 answers

VMware ESXi display guest screen instead of console

I'm using ESXi 4.1 for my virtualitzation platform, and I would like to display one of the guests screen to the host VGA output. Is this possible? I want to do this because my host machine is plugged to my TV (using VGA calbe), this way I can use…
Marc Torres
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

send interrupt to window in screen

How can I send a interrupt to a window within screen. I have screen running with several windows. Each of the windows have processes running within them. I wish to be able to send and interrupt to a specific window ie ctrl+c. I wish to do this…
robthewolf
  • 151
  • 7
5
votes
4 answers

How to I use Vim's increment (Control-a) when in a screen session?

Is there a way to re-map Control-a in screen to Alt-a or something else, so I can use Control-A in Vim normally (increments the number under the cursor)?
alesplin
  • 228
  • 1
  • 6
5
votes
2 answers

Running screen without root

I recently updated screen on my server and for some reason when logged in as a normal user I can no longer create a screen session. If I run sudo screen it works. It's probably a permissions error somewhere but I'm not where to find it. Any help…
digital
  • 345
  • 6
  • 13
4
votes
3 answers

How to launch crontab commands inside of certain screen sessions?

I have a crontab that runs like this: 0 0 * * * /execute/shell/script.sh 0 0 * * * /execute/shell/script1.sh 0 0 * * * /execute/shell/script2.sh And, I want to launch each script in a different screen. But I want to keep that screen running so…
makansij
  • 265
  • 1
  • 5
  • 12
4
votes
2 answers

Is there a way to have GNU screen automatically open a number of screens the first time it starts a new session?

I often have 5+ screens open for monitoring the server within one screen and it's somewhat annoying to have setup them all up again after a system restart. Usually there is 1 top process and a few tails for watching log files. Is there a way to have…
Darryl Hein
  • 1,712
  • 2
  • 19
  • 21