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

Running php inside screen with parameters?

i am running a php file that takes up to 2-4 hours to run, and because my internet is so bad i will need to run it inside a linux server (screen). My question is: How can i run php file inside screen with using "GET", because when i use parameters…
Michael West
0
votes
4 answers

Continually check to make sure php script is running

Is it possible to configure my CentOS VPS to continually check to make sure that a php script is running? Currently I'm using the screen php method which works fine, but if it gets terminated somehow, how can I start it backup? I tried adding the…
Spencer
  • 23
  • 3
0
votes
2 answers

256 Color Issue when using GNU Screen inside GNU Screen

When I have a SSH session in GNU Screen to another machine on which I'm also using GNU Screen, 256 colors don't seem to work. The $TERM is still set correctly. However, if I run Vim, the theme does not look correct as it would with only one screen…
psp
  • 3,173
  • 3
  • 15
  • 14
0
votes
2 answers

Can't type in commands after reattching to a screen session

Using CentOS 5, I have a screen session running and I often reattach to it after a day or two with the usual: screen -r The session reattaches fine, and runs fine (I can see output from ongoing processes happening in the background) but…
Allen
  • 1
  • 1
  • 2
0
votes
1 answer

Ubuntu using screen to control a Java server

I have a shell script that makes a backup of my server files before starting it. However I wish it to instead of just running it open a new screen session and then start it from there. Once its running I want to periodically send commands to…
bbq
  • 1
0
votes
3 answers

Can't SSH through screen

I have set up hosts.allow on the remote Arch Linux server as follows: sshd: ALL: ALLOW while hosts.deny is set to: ALL: ALL I have no problems using SSH through Cygwin (with a Corkscrew tunnel through a proxy server). When I open screen in Cygwin…
taheris
  • 1
  • 1
0
votes
5 answers

How can I lauch a GNU screen from jailshell (no pty)

I have my personal stuff hosted with a company that uses cpanel. It seems that a "feature" of cpanel is that the hosting company can use their "jailshell" when granting (terminal, not goofy AJAX faked) SSH access. Unfortunately you do not have…
Bruno Bronosky
  • 4,529
  • 3
  • 26
  • 34
0
votes
2 answers

Is gnu screen or tmux more stable for keeping running on the server?

I want to keep a screen or tmux session running forever on a Ubuntu server, possibly for running a Clojure web server application so I can tap into the process via REPL at any time. Gnu screen or tmux -- which is less prone to crash?
dan
  • 847
  • 2
  • 9
  • 11
0
votes
3 answers

Screen windows dies

I am using screen with irssi, ssh to some servers. At the moment I have 4 windows "open" in my screen. Two of those windows is "dead". I can't write something in those, for example. How do I "exit" a screen window?
Erik
  • 125
  • 1
  • 3
0
votes
2 answers

How can I go back in the (GNU) screen command history? (NOT shell command history!)

Currently, when I enter ^a : (control-A followed by ':') to send a command to GNU screen, I can go back one step in the history, and see exactly ONE previous command. This is really annoying, as I'm used to being able to go back thousands of steps…
iconoclast
  • 1,800
  • 2
  • 18
  • 30
0
votes
1 answer

Linux Screen; How do I make screen persistent with the -X command?

I'm running screen with the following command: screen -dms -X buildscript.py This executes the buildscript.py file and runs it as a daemon. Now, when the build script fails, screen automatically terminates (and I don't get to see the error…
0
votes
1 answer

GNU/Screen - Large UTMP file and memory usage

I'm running a Fedora 12 x86-64 OpenVZ VPS and screen is using lots of virtual memory (98000+). I've also noticed that the UTMP file grows enormous over time: [root@demon~]$ date Wed Sep 8 22:02:58 EST 2010 [root@demon~]$ ls -la…
Guest914
0
votes
2 answers

Is there a way to block screen's multi display mode (-x) completely?

I'd like to configure screen to only allow attaching to detached sessions and not to attached sessions, even if they're from the same user. Is there a way to accomplish this? I couldn't find anything in the documentation and on the Internet, and the…
toupeira
  • 121
  • 2
0
votes
2 answers

automatic ssh logout not working due to screen caption setting

I have set up an automatic logout for idle ssh session using "ClientAliveInterval 7200" However I do not get logged out everyone else who uses the server gets logged fine. I have tracked the trouble maker down to this line in my personal…
Alistair Prestidge
  • 806
  • 1
  • 7
  • 19
0
votes
3 answers

How to kill all screens that has been up longer then 3 weeks?

Im creating a script that i am executing every night at 03.00 that will kill all screens that has been running longer than 3 weeks. anyone done anything similar that can help? If you got a script or suggestion to a better method please help by…
Darkmage
  • 323
  • 3
  • 12