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)

1
vote
1answer
13 views

Screen bind key requires extra Enter (RET) key

I was playing around with GNU Screen's configuration and put the following configuration in ~/.screenrc: bind l eval 'exec ls' So, now when I type C-a l, it runs ls under the current directory. ...
1
vote
1answer
25 views

Issue Using Crontab to Create/Restart Screen and Run Command

I want to have a certain script (rails rake task) running on my server at all times - it basically populates my DB using a live feed. I can create a screen (http://linux.die.net/man/1/screen) and run ...
0
votes
0answers
22 views

Issues with Screen - Running Minecraft in a while loop through a screen session

So two days ago I changed my startup scripts for my minecraft server. Problem is, after about 3 hours, the screen for it that I was monitoring "mc" vanished and refuses to list when using -ls. The ...
1
vote
2answers
40 views

Show output of a command run inside screen if it exits with errors

I am using the screen command for starting server running in foreground. But in case there is an error when starting server I am not able to see the output of command. I have to run it again without ...
0
votes
1answer
23 views

zsh alias with linefeeds, commas and quotes

In my zshrc I have an alias like this: alias sl='screen -list' It fits my need (seeing what screens I have running), but the output is rather ugly: [pts/7]~% sl There are screens on: ...
0
votes
2answers
30 views

How to set tmux terminfo to screen-256color? [duplicate]

If I do not use tmux my terminal is the following: ~$ echo $TERM xterm If I use tmux by adding the following into .bashr # tmux configuration tmux attach &> /dev/null if [[ ! $TERM =~ ...
2
votes
2answers
31 views

Replace screen process from within screen

I have configured my shell to exec screen when it starts, unless it's already running within a screen session. So in a TTY, the process tree will look like something like this: ...
1
vote
0answers
47 views

Can screen add nl (new-line) for each (carriage-return)

Edited: I have data acquisition hardware that sends out serial data via UART into FTDI (serial to USB) device. The FTDI is plugged into USB port and its port name is /dev/ttyUSB0. This device ...
2
votes
1answer
29 views

What is screen's “Multi display mode”?

screen's man page mentions a "Multi display mode" at one place: -x Attach to a not detached screen session. (Multi display mode). It's the only place where "Multi display mode" is mentioned. ...
0
votes
1answer
32 views

Where can I find the screenlog.0 file?

I have to run some scripts in a screen and I used the C-a H command to record the output to a screenlog.0 file when I press the shortcut keys the message is Logfile "screenlog.O" closed. But if I try ...
2
votes
1answer
21 views

GNU Screen - any way to remove password when detached?

Protecting a GNU screen session with a password is good security. However, how does one remove the password if you need to share a session with a colleague? I tried the following to clear it and got ...
3
votes
1answer
50 views

How can I add the session name to my screen status display?

This is my current .screenrc files which is mostly copied from the link in the code #First iteration 2014-09-06, not quite sure of stuff to add # got a fancy hardstatus line noted below hardstatus on ...
1
vote
0answers
36 views

screen command not showing status bar

I have a ~/.screenrc file that contains the following lines: # 2.2) hardstatus = navigation bar @ bottom hardstatus alwayslastline "%H %-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" I have to admit ...
2
votes
0answers
34 views

screen with urxvt keybindings

I promise I've been searching thoroughly for an answer... So, my goal is to emulate the standard urxvt "tabbed" behaviour with screen keybinds, i.e. map three keybinds and that's ctrl+left (prev), ...
0
votes
1answer
42 views

What happens to screen session over ssh when connection is lost? [closed]

I ssh to a remote computer, and create a screen session there. Then I lose the internet connection. When I ssh again to the computer, I want to see if the created screen session is still there, so I ...
3
votes
1answer
89 views

Change the parent process of a process?

Is it possible to change the parent process of a process? If yes, how? For example, how does screen manage to attach a screen session and the processes running inside it to different shell ...
0
votes
2answers
25 views

Start Screen session when background programs running [duplicate]

I have Matlab running in a Linux session for almost 2 days, and afraid to lose the computations if my network connection fails. Will moving Matlab to the background and starting 'screen' be the answer ...
0
votes
0answers
30 views

Trying to attach to a screen kills the terminal

I was trying to attach to a screen session on a remote computer, with screen -r, but my terminal got killed (I was trying to attach and see what it is, because I did not remember creating it). Now ...
4
votes
3answers
662 views

How can I resume a screen that I did not manage to detach?

I use the screen Screen visual consoles. To detach a screen I need to press Ctrl+A followed by D but some time a session is closed without detaching it. It appears as (Attached) on screen -list: ...
2
votes
1answer
39 views

Screenshot of a window in a detached or remote screen

Is there a way to take a "screenshot" of linux screen command. In other words can "screen -r" command to be called with the same behaviour as "top -b -n 1" - print contents once and exit. Background ...
2
votes
0answers
20 views

Screens die even though process is still running

I have a problem with running an irssi in a screen session on a tomato usb router setup. Screen reports session as dead, even though the process is still running (both for screen and irssi) Screen ...
1
vote
1answer
38 views

GNU Screen switch to different window

I have these in my .screenrc file: screen -t ghci 0 screen -t bash 1 screen -t dev 4 Now, I put these in my my .screenrc file to split them: split -v focus Now I want to switch to the window ...
1
vote
1answer
64 views

What software is lock or lck

Which software provides /usr/bin/lock or /local/bin/lck ? The manual says that GNU Screen will call a screenlock program. But I don't have them in my system. Also my $LOCKPRG is empty. So is there ...
0
votes
0answers
14 views

GNU screen - prompt position is not at the top in full screen mode (PuTTY)

when I use screen (in combination with PuTTY), the prompt doesn’t jump to the top position of the terminal when switching to full screen mode. When I start screen, the prompt is in the first line as ...
0
votes
0answers
15 views

how to determine which terminal tag page is in a specific virtual screen

I opened several terminal tag pages, and ssh into the remote machine on these terminal tag pages. I'm using Ubuntu. I used screen command to open several screens on a remote machine and use Ctrl+A+D ...
1
vote
1answer
28 views

Convert screen command for tmux

Is anyone familiar with how to run programs from crontab in tmux instead of a screen session? For instance what would be the command line equivalent of this: @reboot cd /home/morggin/mcserver ...
1
vote
1answer
52 views

there are screens in the list, but “no screen to be resumed”

When I type screen -r I expect to either see: A list of screens to resume, or a message "There is no screen to be resumed." Today, I see there is one screen, but I still get the message that there is ...
0
votes
0answers
122 views

tmux / screen ctrl+arrow (left right) doesn't work on SSH

I've configured tmux to skip words on Ctrl+right / left : set-window-option -g xterm-keys on It works just fine, but as I do SSH, it doesn't work and prints ;5D or ;5C.. The same issue occurred ...
1
vote
1answer
43 views

How to tell screen session to regenerate its socket?

Note: the situation described here is completely different from this one. I have a couple of still-attached screen sessions, but screen -list produces % screen -list No Sockets found in ...
1
vote
0answers
34 views

GNU screen split: how to show active pane in caption

I am using GNU screen with a horizontal split, but it is not always easy to decide which pane is active (e.g. when using a program like top in one of the panes). Is it possible to change the color of ...
0
votes
1answer
39 views

Nano Editor over Screen in Terminal isn't fullscreen

When I connect to a device using Screen in terminal, if I open Nano text-editor it only takes up a fraction of the screen. How do I make it fullscreen?
3
votes
1answer
34 views

Identify in which screen instance a process is running

A process listening on port 8113 (Solr) is not responding. I've found its PID via netstat but the server has about two dozen Solr process running in various screen sessions. 3607.foobar-client2 ...
1
vote
1answer
54 views

terminate screen monitoring serial port

I'm using screen /dev/tty-MyDevice to look at traffic on my serial port. Pressing Ctrl+D doesn't cause the screen to terminate. How do I terminate it? Thanks
1
vote
2answers
215 views

Why pressing Ctrl-h in xterm + tmux sends “^?”?

xterm: $ echo $TERM xterm-256color $ stty -a speed 38400 baud; rows 52; columns 91; line = 0; intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = ...
0
votes
0answers
242 views

Establish communication between Arduino Mega & Linux Terminal in Ubuntu 14.10

I am failing regularly in establishing syncing between my arduino mega(/dev/ttyACM0) and the terminal. Even I thought of establishing output using GNU Screen utility. The terminal just hangs for ...
2
votes
3answers
29 views

Copy a rectengular block into primary selection from within screen session

If you are on a remote machine in a screen session you can Enter the "copy-mode" by Ctrl+a+ESC and then use Space and the arrow keys to do a normal selection. Now you can use a small c to set the ...
0
votes
1answer
54 views

Problem connecting with Beagleboard through serial?

I'm trying to connect to a BeagleBoard on Ubuntu using a Serial-to-USB adapter. It is currently being recognized as ttyUSB0 on our system. When I run "screen /dev/ttyUSB0 115200" the output just says ...
1
vote
3answers
128 views

Running background process with screen command in xshell

screen command is a nice program for us to run process background, but I found Ctrl + a w do not show screen windows list in xshell(Xmanager component) and Ctrl + a k do not kill this screen terminal ...
0
votes
1answer
59 views

Ugly bash function to send commands and “say” anything in screen over ssh. Is there a better way?

I’m working on a function this works but it is ugly. One thing that could be changed is being able to know the name of the screen. Using screen -dms minecraft java ….jar now starts a screen session ...
3
votes
0answers
47 views

screen & xterm: how to select text with the mouse in one only pane when window is divided vertically

Interestingly enough, this has also been a tmux issue for some: http://daemonforums.org/showthread.php?t=7311 But currently I am sticking to screen, and I'd like to know how I can make screen ...
0
votes
1answer
43 views

screen manager with VT100/ANSI terminal emulation

If I join with 'screen' to existing sessions, I can get a list of the sessions with C-a " keystroke and switch between them, however I can't find a way to safely leave/detach and keep all the ...
2
votes
1answer
36 views

list processes running inside of screen (manager with with VT100/ANSI terminal emulation)

I have an application that during installation runs a bunch of processes via screen, so I can see those if attached to the screen, however I don't see those via "ps -ef" or "ps auxww". How can I list ...
0
votes
1answer
197 views

screen & xterm: how to get window split vertically in custom ratio

To begin with, I am on Lubuntu, so I can benefit from the latest screen patches that will enable vertical splitting of windows with no need to compile from source. (It really took ages...) However, ...
1
vote
1answer
130 views

How to change (increase) number of lines in screen?

Connecting from Windows to Linux (CentOS 5.4) using PuTTY. Console set at 140col 60 lines. Not much else changed from default. Connection is via serial cable to the box. On Linux, installed and ...
0
votes
1answer
71 views

How to stop background processes started with screen

This question might have been asked before but I don't see it. I use screen ssh to remotely start processes that take multiple days. I ssh in, start multiple processes in the background, and detach ...
0
votes
3answers
143 views

Remote Desktop like screen/tmux (from windows)

Is there a way to remote desktop into a Linux desktop from Windows and have it just like Windows? So if i remote desktop to a Linux desktop from a Windows machine I want to the see that Linux desktop ...
1
vote
2answers
64 views

Invoke screen commands from outside the session

How can I send commands to a GNU Screen session? If I was using the session interactively, I'd type a Ctrl+A escape sequence. I need to send specific keystrokes to a GNU SCREEN session from other ...
2
votes
0answers
70 views

Read output in `screen` from outside

Suppose I opened up a screen to run some program that outouts some result. Once the program finishes, is there a way to get the result in the screen from outside. For example: I opened up a screen ...
0
votes
1answer
184 views

nohup, screen and tmux not working when closing connection on yocto linux (intel edison)

I have an Intel Edison with Yocto Linux and standard configurations. It had nohup pre-installed and I managed to install both screen and tmux (by compiling them from sources). Now, I would like to run ...
0
votes
0answers
14 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 ...