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

learn more… | top users | synonyms

1
vote
1answer
87 views

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 ...
-4
votes
1answer
114 views

Rackable 2U LCD Personalization

So I have several of these machines, however rather than physically labeling them (which I'd rather not do because there is really no place to do it, I would like to have the computer name displayed ...
2
votes
2answers
365 views

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 ...
0
votes
1answer
137 views

Can I make gnu screen display a message to a user when they attach to a screen session

I was wondering if there is a way to make screen display a message to a user when they attach to a screen session? For instance, if it is preferred that a user does not use a shared screen session for ...
1
vote
1answer
125 views

krenew command not working : Permission Denied

I am using a Linux server to perform my simulations. The login and the file-system of the server are protected using kerberos. The file-system is supported using NFS. Since my simulations take a lot ...
0
votes
1answer
178 views

Auto-restart “screen” script not working

I'm looking over a script that would actually be restarting game-servers in case they crash. The game-servers are actually started in a screen session through a control panel. They have to be ...
0
votes
2answers
2k views

Ubuntu Crontab or init script startup [duplicate]

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 ...
2
votes
2answers
834 views

Remote synchronous-then-asynchronous execution with SSH

TL;DR I want to remotely execute a script that begins synchronously (so that the local ssh command fails if the preparatory commands fail) and then goes asynchronous, thus terminating the local ssh ...
-3
votes
1answer
150 views

GNU screen, tmux, dvtm - none are working as ordinary user on OVH VPS [closed]

I bought cheapest vps for teamspeak hosting and I have strange issues with demonizing it's process. None of screen tmux and dvtm work for ordinary user, but they work witout a charm for root. As far ...
0
votes
2answers
207 views

Screen command in shell scripting

I am a newbie in shell scripting and want to use the screen command to automate the below scenario: Create a screen session1 and execute a shell script1 create another screen session2 and execute ...
0
votes
2answers
110 views

Quitting Screens With Same Name With SSH [duplicate]

I have a server, with a few screens started. This is what shows when I use screen -ls: There are screens on: 12811.screen (Detached) 2061.screen (Detached) 7055.screen (Detached) ...
1
vote
2answers
117 views

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 ...
0
votes
0answers
384 views

Problems running screen without root permissions

I'm running Ubuntu 11.10 on a VPS and have problems running screen for non root users. Screen is working fine with root though. When I run it as root and hit "tty" I receive the following output: ...
1
vote
1answer
279 views

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 ...
0
votes
1answer
540 views

screen, expect and scripted detached interaction

Trying to write a bash script which will open a screen, start a python application, and interact with the python interaction as required when it is first started. If not possible in screen, I would ...
-5
votes
1answer
58 views

Fix thise Code (Debian Screen output) [closed]

This shell script dosent give me any output: GID="gmod01" PID= screen -list | grep $GID | cut -f1 -d'.' | sed 's/\W//g' echo $PID Echo PID is empty, how can i fix this? I get 12055 out but it ...
0
votes
1answer
445 views

Can't redirect STDERR or STDOUT to file

I have application written in Go language and it runs in screen (I do not think problem relates to Go language. I believe it uses STDOUT and STDERR) screen -S log_server -d -m go run log_server.go 2 ...
0
votes
2answers
105 views

Is there a way to watch all screens output in a single place?

having about 12 screens running long processes, I am willing to check out the state from time to time. I would like to "tail -f " them all in a single console window so I don't have to switch between ...
0
votes
3answers
512 views

How to watch other console without notification?

I want to see what is freelance admin doing to my server. But all solutions i have found - screen, conspy, vnc does't met my needs. Conspy is great but i have to ask free-lancer to run it first to ...
1
vote
1answer
33 views

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?
2
votes
1answer
3k views

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 ...
0
votes
1answer
94 views

Get the session name of a parent gnu screen

I know that the current session name can be accessed with the $STY environment variable, is there a way to get the session name of the parent screen session in case of nested screens?
0
votes
1answer
114 views

Ubuntu 12.10 strange screen

I've installed Ubuntu 12.10 desktop as a virtual machine on my VMware ESXi server. And i have no idea why the screen looks like this. And i can't find anything by googeling. Anyone?
0
votes
1answer
205 views

Crontab start a screen

I started a screen by shell script in crontab, when I entered the screen, the left side became "sh-4.1#". While I runed the script directly, it was nomal with "[root@localhost data]". What happened? ...
-1
votes
2answers
376 views

How to setup `screen` command to run for every ssh session?

I'd like to record the activity for every ssh user connecting to my box. I think screen could help with it. I'm thinking on having screen running for every ssh user automatically upon ssh login and ...
1
vote
1answer
431 views

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 ...
-2
votes
1answer
522 views

Starting/Stopping Custom PHP Chat Server Linux Service (CentOS)

I have been trying all night to get this service working properly. I created this script from a template and am very new to bash coding. I wrote a fully functioning chat server in php which runs ...
-2
votes
1answer
112 views

Possible to run commands in a screen through cron jobs?

I currently have an application running in a screen. I would like to run some commands in the screen through a cron job but would like to know if this is possible. Using CentOS
1
vote
1answer
538 views

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.
2
votes
1answer
122 views

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]%?" ...
9
votes
2answers
149 views

Is it possible in a script to tell if it is being run from within GNU screen?

We have a long running process on a remote server which is kicked off manually from time to time. Unfortunately internet connections die, kernels panic and a whole host of other challenges can be ...
1
vote
2answers
247 views

using screen in another user with su

So, if i do this: su -c 'screen -dmS screenname script to run' - user to run as It won't work. The screen command is working if excecuted from root, so there is no problem there. If I do: su - ...
1
vote
1answer
96 views

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 ...
2
votes
2answers
55 views

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 ...
1
vote
1answer
1k views

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 ...
-1
votes
2answers
716 views

No bell! I don't want ANY bell! Screen on Ubuntu 12.04 [closed]

Visual AND audio bells are incredibly annoying. I DON'T CARE that I hit backspace 3 times when there were only 2 characters in the terminal! I KNOW you can't tab-autocomplete because I can see that ...
1
vote
1answer
162 views

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 ...
-2
votes
1answer
232 views

I can't detach from my screen (Linux-ubuntu) [closed]

I have a major problem. I screened a program, but i cannot detach from it. Ctrl+a Ctrl+d just don't do anything. They will be displayed as ^A or ^D , which is really annoying. I cannot Ctrl+a ...
2
votes
2answers
2k views

Screen - No more PTYs - Cannot start screen's on Debian VPS

I've gotten a newly imaged Debian 6 32 bit VPS. While configuring I tried to test screen as a number of my scripts run using it. Root has no problem running screen. But of course this is ...
6
votes
2answers
2k views

Start detached screen session

I would like to start screen detached session, but I want to evaluate some bash. It seems screen only supports an executable and binary. I want do do some magic like: screen -d -m script.sh ...
3
votes
1answer
346 views

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 ...
2
votes
1answer
212 views

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
1answer
251 views

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 ...
-3
votes
2answers
382 views

Scroll up while in screen

When I use screen command, I am not able to use page-up and only 1 page is displayed on the screen. If I do not use "screen" command, I can scroll up a few pages. 1) How do I enable scrolling while ...
1
vote
2answers
213 views

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

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 ...
2
votes
2answers
110 views

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 ...
0
votes
3answers
352 views

How/What RC level to use to start a screen with Display attached.

Some times, after a reboot, some of my apps that have a GUI close. These apps provide web interface as well, but only if their gui potion is open. If the unit is physically available to me, I can ...
1
vote
1answer
438 views

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. ...
3
votes
1answer
129 views

ssh agent authorization in a detached screen session

I have an ssh script which use ssh key forwarding on a remote system to do thing in even more remote systems. I have to run the script in a screen session so that I can detach from it. But the ...