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
1
vote
2 answers

How to specify different screen session name during ssh

I have multiple screen sessions running on one of my server (say session_read, session_prod..) Currently I specify the screen session after I have sshed into my server. Is there a way to specify the screen session while I am trying to ssh…
Anshul Goyal
  • 416
  • 1
  • 8
  • 18
1
vote
2 answers

Ubuntu Crontab or init script startup

What am I doing wrong here with cron on boot? Example: To launch manually: screen -S example ./script.sh To recover manually: screen -x example now, I just try to do the same thing (well, the launch part) using cron on boot @reboot cd…
Atomiklan
  • 549
  • 1
  • 8
  • 16
1
vote
3 answers

Starting a background screen session from ssh.

I would like to shoot a command to server to be run say forever! under "screen session" using ssh. so I am using something like ssh -t root@server screen -S myinf "python infinit1.py &" where infinit1.py is the script. The problem the "python…
user702846
  • 133
  • 1
  • 7
1
vote
2 answers

Why does my .screenrc only trigger the opening of 2 screens?

I have the following in my .screenrc file: # Don't display the copyright page startup_message off # keep scrollback n line defscrollback 5000 # setup some screens screen -t top 0 top -o cpu -s 5 screen -t mysql 1 mysql -u root -p screen -t…
Darryl Hein
  • 1,712
  • 2
  • 19
  • 21
1
vote
1 answer

Is there a way to reattach screen session that has no named pipe in /tmp/uscreens/...?

I was having difficulty reattaching to a screen session, so I tried to kill the client screen session and reattach to the server session. This failed. Then I did something kinda stupid. I did a -wipe. Now I have no named pipe file in the…
Adrian
  • 137
  • 9
1
vote
1 answer

Can I get the command history in a screen while something is running in it?

I've got a screen with a critical process running in it. I can't kill it, but I need to know the command that was used to start it. Can anyone offer a solution?
user1552512
  • 111
  • 1
1
vote
1 answer

GNU screen cannot find terminfo entry on HP-UX

I am trying to make screen work on HP-UX B.11.23 U ia64 0308561483 unlimited-user license. Please notice I do not have root access. I have already compiled screen successfully, configured with LIBS=-lcurses. When I try to start screen it…
Ency
  • 1,231
  • 1
  • 19
  • 27
1
vote
1 answer

Screen. Turn on logging(like -L) by screenrc

Which option in screenrc working like "screen -L"? I want turn on logging globaly. Try option "log on" into /etc/screenrc, but write "log: window required" when screen startup.
Xou
  • 13
  • 3
1
vote
1 answer

Start Daemonised GNU Screen from script a allow calling script to end

I have a script on an embedded device that calls screen to start if a user logs in via a ssh session... #!/bin/sh SCREENRUNNING=`pgrep SCREEN` if [ -z "$SCREENRUNNING" ]; then echo "Screen not running so let's start the Master session …
tez
  • 11
  • 1
1
vote
1 answer

why i cannot run screen command on openshift?

i am using redhat openshift, and find some problems now: a) why default screen can not support path which contains too much characters [xxname-xxname.rhcloud.com ~]\> which screen /usr/bin/screen [xxname-xxname.rhcloud.com ~]\> screen -S l LoginName…
giantforest
  • 239
  • 1
  • 4
  • 15
1
vote
1 answer

why there are three(it should be two) process related to screen when using ps command?

you can see there are three processes which are related to screen command: [world]$ ps auxf USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND hugemeow 28938 0.0 0.0 66080 1692 ? S 23:03 0:00 sshd:…
giantforest
  • 239
  • 1
  • 4
  • 15
1
vote
2 answers

Can I force a screen session on a user?

How can I watch another user's shell session? I'd like to evaluate another user's behavior. I'm looking into using screen, but I don't know how to force his terminal to start a screen session. Is there a way?
Rob
  • 2,393
  • 9
  • 33
  • 52
1
vote
2 answers

Starting a screen while su'ed into another user from an alias isn't working

minecraft@283823:~$ script /dev/null ; screen -t minecraft Script started, file is /dev/null minecraft@283823:~$ exit Script done, file is /dev/null Cannot open your terminal '/dev/pts/0' - please check. My interpretation is I'm staying in the…
Noah
  • 13
  • 2
1
vote
1 answer

How do I script screen to create multiple windows?

I have a little problem with screen. I wanted to launch several servers in a screen session, so I made a little script designed to to have one server per window. #!/bin/sh screen -dmS servers screen -S servers -t http -p 0 sh -c "cd…
Pompom Pidou
  • 13
  • 1
  • 3
1
vote
1 answer

Security concern when sharing screen sessions

What are the dangers involved regarding security in sharing a screen session with other users? I plan to follow this guide: http://magazine.redhat.com/2007/09/27/a-guide-to-gnu-screen/
imnotneo
  • 23
  • 3