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
2
votes
2 answers

Byobu - How to disconnect from lxc-console

I am inside Byobu on ubuntu 12.04 and entered an lxc-console. Unfortunately, the escape sequence for lxc appears to be cntrl-a q. However this clashes with Byobu's which also uses cntrl-a sequence. I tried this questions answer of using cntrl-a a q,…
Programster
  • 495
  • 1
  • 13
  • 22
2
votes
1 answer

SCREEN: Permissions and security

I was just looking for some clarification on the screen command and permissions: I ran this command to allow the user to view their detached screen. Otherwise the user could not view their detached screen: sudo chmod o+rw /dev/pts/1 However, does…
dgibbs
  • 661
  • 2
  • 11
  • 22
2
votes
3 answers

Linux - show screen logs on multiple screens?

I have a problem with screen. Basically I want it to make one log per screen, for example screen #1 will be screenlog.1 & screen #2 will be screenlog.2 - you get the memo. Anyhow, what happens is that when I launch screen using: screen -SL…
Jony Kale
  • 21
  • 1
  • 1
  • 2
2
votes
2 answers

Close/Quit All Screens with SSH

I have a lot of screens on my server. With screen -ls I get: There are screens on: 12858.test1 (Detached) 28210.test2 (Detached) 12494.moretesting3 (Detached) 31787.testingfour4 (Detached) 13192.testscreen5 (Detached) 5…
Runner
  • 23
  • 4
2
votes
2 answers

Can you screen a running programme?

Possible Duplicate: Can I nohup/screen an already-started process? GNU screen is great for long running programmes. You can start your programme in it and disconnect and bring your laptop home. However sometimes I start a programme outside screen…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
2
votes
2 answers

GNU screen: ‘Cannot open your terminal '/dev/pts/3' - please check’

There is daemon in my system, it runs inside of a screen instance and all that is done from an unpriveleged user. I’ve added myself to special sudo group allowing me to run screen from this user, but when I try to use it, e.g. sudo -u that_user -H…
tijagi
  • 427
  • 2
  • 6
  • 16
2
votes
1 answer

Screen tail -f window closes immediately

I have this in my ~/.screenrc file: startup_message off screen -t top 0 top screen -t log 2 tail -f /path/to/application/log/* screen -t action 1 #caption always "%?%F%{.R.}%?%3n %t%? [%h]%?" hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f*…
theintz
  • 121
  • 2
2
votes
2 answers

Screen session only limited to 8?

I have a shell script as following #!/bin/sh screen -d -m -S script1 /usr/bin/ruby script1.rb; true screen -d -m -S script2 /usr/bin/ruby script2.rb; true screen -d -m -S script3 /usr/bin/ruby script3.rb; true screen -d -m -S script4 /usr/bin/ruby…
Dante
  • 21
  • 1
2
votes
1 answer

kill screen session in an expect script

I start my screen connection with a spawn command within an expect script: spawn screen /dev/... But I don't know how I can kill the screen when the script is finished
2
votes
1 answer

Start a screen through svcadm with Solaris 11

I am running into a problem when trying to start a detached screen through a Solaris 11 service. This service controls nginx. When I reboot the system, the screen doesn't start, but if I issue svcadm disable nginx then svcadm enable nginx…
Sephreph
  • 21
  • 1
2
votes
2 answers

Linux Redhat "Screen" won't detach

I've got a screen set up, I access it like this 'screen -r' it works fine, but when I go to put it in the background, I've previously used 'Ctrl a+d' but every time I try that now it puts '^A' in terminal instead and it won't detach :( I've tried…
Iestyn
  • 21
  • 1
2
votes
2 answers

Neverending screen.

My goal is to start bunch of processes from bash in screen but screen should not terminate after the process running in it ends or stops with error. So im going to do someting like: do a config file for screen(screen.conf): screen -t myscreen0 0…
B14D3
  • 5,188
  • 15
  • 64
  • 83
2
votes
1 answer

Why is sourcing in .screenrc not supported?

I would like to have the following code in my .screenrc source /Users/masi/bin/screen/file.screen However, I observe that sourcing at .screenrc is not supported. Whi is sourcing in .screenrc not supported?
2
votes
1 answer

Applying memory limits to screen sessions

You can set memory usage limits for standard Linux applications in: /etc/security/limits.conf Unfortunately, I previously thought these limits only apply to user applications and not system services. This means that users can by bypass their limits…
xikkub
  • 149
  • 1
  • 9
2
votes
1 answer

Scripting GNU Screen sessions

I have a couple of VM images that I run on a regular basis on my FreeBSD 9.0 fileserver. I have scripts written that start them with my desired settings (startUbuntuVM and startWindowsVM). I would like to write a script that does the following: 1)…
javanix
  • 247
  • 4
  • 15