screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.
0
votes
0answers
27 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
53 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 ...
1
vote
0answers
19 views
SSH screen (CentOS) crashes [closed]
I use the screen command to run a Minecraft server on my CentOS 6.4 machine.
However, once I end the SSH session, the Minecraft server and the screen will eventually simply stop such that when I come ...
0
votes
1answer
32 views
Copying and pasting on my local machine from the command line (nested screen workflow) [closed]
This is a workflow question. I commonly find myself sshing to machines, running commands, getting output and copying that output to the local clipboard. I am using gnome-terminal for my terminal ...
0
votes
1answer
24 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
39 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
29 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 ...
1
vote
0answers
37 views
How to restrict user to a single screen session in a multiuser environment? [closed]
I have created a multiuser screen session and did 'addacl user1'. Now user1 can join the screen session via command like 'screen -x /screen-name' .
Is it possible to prevent this user (user1) from ...
0
votes
2answers
54 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
43 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 ...
0
votes
0answers
13 views
Synergy: Inputs are not moving to another screen
I have configured Synergy to work with two Windows Server 208 R2 machines. Unfortunately, it was working well but suddently it has stopped working. I have reinstalled synergy but did not help. Both ...
-3
votes
2answers
52 views
Screen auto startup [closed]
I run a Minecraft server, and I was looking into how to make a script that I can run and it immediately starts a screen session, then it names the screen "something", and then it will run a java ...
1
vote
1answer
27 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
223 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
40 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
84 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
92 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
1answer
66 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
124 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
165 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
62 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
98 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
60 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]%?"
...
8
votes
2answers
101 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
101 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
68 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
51 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 ...
0
votes
1answer
390 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
337 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
68 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
137 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
928 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 ...
3
votes
2answers
179 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 ...
2
votes
1answer
96 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
95 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
100 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
141 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
111 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
112 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
104 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
2answers
148 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 ...
0
votes
1answer
183 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
74 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 ...
1
vote
2answers
118 views
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 ...
1
vote
1answer
188 views
freeze and thaw tmux and/or terminal sessions?
I would like to be able to freeze and thaw tmux sessions. That is, to take a complex set of session state, persist it, and bring it back from some persistent store later. Essentially, git stash for ...
4
votes
2answers
52 views
screen -r spawning new prosses
I'm new to screen and I'm trying to figure out how to detach from a session and reattach later. So far I've tried:
$screen
C-a z (within screen to detach)
$screen -r
So far so good but when I C-a z ...
5
votes
2answers
2k views
How do you get TERM=screen-256color on CentOS 5.7?
CentOS 6.0 comes with the ability to set its TERM to screen-256color. It doesn't work in CentOS 5.7, though.
How can you get CentOS 5.7 to support screen-256color?
0
votes
1answer
236 views
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 ...
1
vote
1answer
591 views
disabling specific byobu/screen keybindings that conflict with vim keybindings
ctrl + a under byobu has either emacs mode or screen mode. However, I need keybindings like ctrl + a for vim's "increment value" method. How would I prevent byobu/screen from blocking certain keyboard ...
0
votes
0answers
172 views
SBS 2008 Dead Screen and Remote Desktop
We have an SBS 2008 server which has recently started behaving badly. At first we thought it was a memory issue, but we've since stopped all SharePoint services and we're left with Exchange and SQL on ...
