screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). For computer monitors, see the tag /monitors.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

Directly start an application in a new screen/tmux session [duplicate]

Is there a way to start a new screen or tmux session, which directly executes a given command/application then detaches again? In pseudo-code something like tmux new -s ft_session --execute python ...
1
vote
0answers
14 views

problem with U-boot while flashing Linux in sd-card

Please help as it is immense necessary for a project which is to be evaluated coming week. Also, I am very new to this and unable to find help from existing contents available on the Internet. While ...
0
votes
1answer
10 views

Attach - Detach

I really don't know much about Linux but am forced to copy some data onto a RAID over a Linux server as the person responsible isn't available. It seems as the process has stopped. I don't know ...
0
votes
1answer
28 views

screen command cannot find java executable

I'm trying to execute java from screen: screen -S my-java-app -d -m 'java -jar -Xms512m -Xmx2048m my-java-app.jar' but seems that screen does not know the java command. Running java without screen ...
1
vote
1answer
29 views

Screen session terminates when program crashes

I am running a program in a Screen session if the program crashes it restarts itself, but when the program crashes the screen session terminates. I want the screen session to stay open so the ...
2
votes
1answer
40 views

fedora 20 screen command terminating automatically

I have fedora 20, after last update, when I am using screen command, the terminal is closing instantly with message, [screen is terminating] and not letting me to do anything with normal user, ...
-1
votes
1answer
51 views

Abort copy mode in Screen

While using GNU Screen in copy mode, I sometimes want to abort in the middle and go back to the prompt. What command will exactly achieve that ?
2
votes
0answers
35 views

I am getting a strange install screen on Kali Linux and when I install all the way,I get a blue screen?

I have a picture of the issue here. The screen than proceeds to turn blue? Any help????
4
votes
1answer
35 views

Is it possible to merge two screen sessions chained?

Let us imagine I have only one terminal. To overcome this trouble I use screen, so happy! However, I need to connect to another computer over ssh, to prevent to open several connections I want to run ...
1
vote
1answer
28 views

Sharing a terminal with multiple users (with screen or otherwise)

I am setting up a server where there are multiple developers working on multiple applications. I have figured out how to give certain developers shared access to the necessary application directories ...
3
votes
1answer
26 views

How do I stop screen from clobbering my titles?

I am using bash and GNU screen on centos7. I notice that if I ssh to another server, change the title (via ctrl+a+A), and log out of the server that my new title gets overwritten by USER@HOST:~. How ...
0
votes
0answers
98 views

Is it normal to irssi freezes when receiving dcc?

I'm running it over screen with Raspberry Pi Model B, maybe the hardware is not the best, but when a streaming begins, I am unable to type anything, even Meta + Arrow doesn't work, but changing ...
0
votes
1answer
144 views

How to get Kali Linux to not go to sleep?

I'm using Kali linux on vmware in windows7. I've been trying to crack my wpa password and noticed that when I leave the system running (in process of cracking password) and leave the laptop on and go ...
0
votes
0answers
12 views

Strange behaviour connecting to serial port

I'm using screen to connect to my Rasberry Pi with a baud rate of 115200. I can log in fine, and everything works. But, when I copy and paste data from my machine to the RPi in vi or nano it seems to ...
1
vote
1answer
18 views

Send commands to screen within screen

login to Server1 and run screen SSH to Server2 and connect to an existing screen session Realise ^A commands are procesed by Server1's screen only Is it possible to control Server2's screen in this ...
1
vote
1answer
25 views

Does the screen need to be detached to keep the process running after disconnection

My ssh connection is unreliable, so I've been studiously using screen and detaching every time I start a long-running process. The screen part I know is necessary, but is the detaching as well? ...
4
votes
2answers
262 views

Run script in a screen

I want to run a bash script in a detached screen. The script calls a program a few times, each of which takes too long to wait. My first thought was to simply open a screen and then call the script, ...
2
votes
1answer
30 views

Replay a screen log file incrementally

I have run some commands in gnu screen and used the C-a H command to record the output to a screenlog.0 file. However now I want to view it. There are loads of terminal escape sequences, so just ...
3
votes
1answer
51 views

How can I start a 'screen' session as non-root user

Is there a way I can open a new 'screen' session on my RHEL box as a non-root user? When I try to open a new screen using the 'screen' command as a non-root user, it fails and I get the following ...
2
votes
1answer
53 views

ssh and screen automatically - what am I missing?

This works fine, but does not load my ~/.bash_profile on server2. Why? $ ssh -A -t server1 ssh -A -t server2 bash -c "screen -dR"
1
vote
2answers
62 views

Automate starting several parallel screen threads?

Our school HPC does not have a scheduler. So there is nothing like job queue. Hence, I cannot automate parallel job submission by qsub or sbatch. What I have been using to "submit" a job is by using ...
1
vote
1answer
32 views

How to get guake to update background characters?

This is actually a problem that also goes on with screen. Here is what it looks like (in mutt): When running a terminal application that builds an updated interface from Guake, tmux and screen ...
2
votes
1answer
18 views

Gnu screen: remap “c-a c-a” to send “c-a”

I use GNU Screen on occasion, and my Emacs keybinding muscle memory is hard to overcome. I know that I can send a control-a (i.e. "go to beginning of line") by hitting "c-a a", but I'm wondering if ...
0
votes
2answers
103 views

How to run screen as non-root user in CentOS 5

I've followed this guide http://centoshelp.org/resources/scripts-tools/a-basic-understanding-of-screen-on-centos/ Now, seems like I am having trouble running screen with non-root user, because ...
1
vote
1answer
56 views

How to prevent screen from terminating once process ends

I'm launching a process in a named screen like: screen -dmS myscreen bash -c "export VAR=123; cd /usr/local/myproject; ./myscript.py" However, after a few minutes, my script crashes and when it ...
1
vote
0answers
58 views

Maintain screen session when executing shell script on boot

Solved: I solved this problem by introducing a delay before executing the script: @reboot sleep 60; /root/start_server.sh On Ubuntu 14.04, I have a crontab entry set to run on reboot: @reboot ...
1
vote
1answer
41 views

How to set `screen` environment variable from bash?

Background I use virtualenv to switch between environments "1.0" and "2.0". I use screen to manage terminals. When I work on one environment I want all new screen windows to start with this ...
2
votes
0answers
35 views

Quick switching between screen sessions

Suppose that I have two screen sessions (screen_session_a and screen_session_b), both of which have several windows (window_1 to window_n). The hierarchical layout looks like this: +--+ ...
0
votes
1answer
23 views

Process 'rtorrent' showing as “main” when run in screen

So I'm running "rtorrent" in screen (detached) and in ps/top, it seems to show the process as "main" instead of "rtorrent". It shows the real process name in "htop". #ps -u USER PID TTY TIME ...
2
votes
2answers
37 views

Characters are encoded twice when I ask SSH to reattach a screen session on the remote host

I want to be able to SSH to a remote host and restore a screen session with one command. Both hosts use UTF-8 locale. My problem is that then, inside the screen session, characters are encoded twice. ...
3
votes
1answer
37 views

Find out which command is running within a screen session

I often leave tasks running within screen so that I can check on them later, but I sometimes need to check which command is running within the screen. It's usually a php script of sorts, such as ...
0
votes
0answers
47 views

Mac Terminal: Scroll up and down in screen mode

I am in screen mode and I am outputing results that are too long to read through even using Ctrl+a + [ + Up / Down Arrow Key. Is there a way that I can scroll up and down using the mouse in screen ...
0
votes
1answer
45 views

Screen command keypress Ctrl+r?

This is example of the command: screen -S dua -X stuff $'commandhere' I've searched lots of resources but still not found the command for keypress Ctrl+R.
0
votes
1answer
112 views

Terminal: termcapinfo command not found

I added the following line to my .screenrc script such that I can use my mouse to scroll up and down in the terminal when the output is too large and long. However, when I try to source .screenrc ...
3
votes
0answers
71 views

Screen reptyring screen

Having recently discovered reptyr, my first action was to do everything I could to break it. This included reptyring screen into a screen session as follows: $ screen My zshrc cats some stuff here. ...
0
votes
1answer
100 views

Run screen command with variable & tick through cron (cron run .sh)

I run screen command through cron, where the codes is in lorem.sh files. This is cron codes: * * * * * cd /home/z; ./lorem.sh Inside lorem.sh: screen -S screenname -X stuff $'\033[B' sleep 1 ...
0
votes
1answer
85 views

How to start several jobs in different screen sessions in a Bash-script?

The programm I want use can be started via ./myprogram < input_part1.txt > output_part1.txt How can I start four jobs of myporgram in a BASH-script where each job runs in a separate ...
0
votes
2answers
59 views

How to know when a job in screen finishes?

Is it possible to know if a script executed inside a screen session finished or not? The script can be seen by typing jobs and I would like to terminate the screen session when the script is finished. ...
0
votes
0answers
31 views

Zsh script cannot find screens

I have created a zsh script launching many screens in detached mode with particular names and running particular processes in them in order to automate some data analysis in high energy physics. ...
1
vote
0answers
66 views

Bash script for opening screens and compiling the same file

I have written a bash script to initiate separate screen sessions and run a command in each of them that compiles the same C++ source file in ROOT (an object-oriented data analysis framework ...
4
votes
0answers
181 views

How to write a shell script to run multiple command in different screen sessions?

My goal is to write a zsh script in order to create multiple screen sessions and run separate commands on each of them. I would also like to check at the beginning of my script if there are any ...
2
votes
1answer
79 views

How to disallow GNU screen from making change to my putty window title

Currently whenever I open a screen session from within PuTTY, the window title of the PuTTY window changes to "screen". I would like to prevent this from happening. Please let me know what is the ...
3
votes
1answer
66 views

Valid screen session names

With GNU screen (version 4), why is it that the following runs perfectly fine: $ screen -S some-name But if I try having a slash (/) in the session name, it gives me an error about multiuser ...
0
votes
1answer
16 views

“screen” process closes out of the blue [closed]

I spawned 4 screen processes with the following command (one after the other): screen ./"executeable" Logging back into the server I run the program on at a later time only showed 3 processes ...
2
votes
2answers
28 views

Why there are two sequential screen processes?

I have one computer running Debian Wheezy(screen version 4.01.00devel) and another one Debian Squeeze(screen version 4.00.03jw4) and under both of them screen automatically starts another process ...
3
votes
0answers
148 views

page up in gnu screen with Shift-PageUp

In the Linux terminal the key sequence Shift-PageUp can often be used to scroll up. However, this key sequence doesn't seem to work in gnu screen when ssh'ing to particular machines. I have two ...
0
votes
1answer
35 views

How can I automatically interrupt what I'm doing to input something?

As per Nick Winter's The Motivation Hacker, I want to measure my happiness. I know that I'm bad at remembering things or responding to reminders, so I'd like to set up a daemon that, at random ...
1
vote
1answer
40 views

Save views in multiple screen terminals

As I do in default single view screen terminal of ubuntu; gnome-terminal \ --tab-with-profile=Default --working-directory="some dir" --title="some title" \ --tab-with-profile=Default ...
2
votes
2answers
273 views

Ctrl-S doesn't work in rtorrent when accessed via screen. Can't start torrents

I run rtorrent remotely on a seedbox. When I log in with a web interface I'm able to start torrents, and when torrent files get dropped into my watched folder that works too. However, when I try to ...
2
votes
3answers
43 views

Setting regions in a Screen session

I'm trying to get a 'Screen' with 4 tabs to split the screen into 4 regions. I'm running 4 instances of bfgminer. One instance per USB Hardware miner. Unfortunately it has to be this way. So I'm ...