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
394 views

How to create a “Turn Off Screen” Action?

I recently moved to Elementary OS Luna. I especially use the Synapse Indicator launcher, because I like to work with my keyboard for everything. In Synapse and in the Synapse Indicator (and I ...
0
votes
0answers
16 views

Cant change screen resolution in Kali Linux [on hold]

So I bought a brand new laptop, I bought a Lenovo Y50. It runs a Nvidia GEFORCE GTX. I installed Kali linux on the HDD and the screen is to large and does not fit on the actual computer screen. ...
0
votes
1answer
11 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
15 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
10 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
0
votes
1answer
435 views

Live Kali Linux only showing Black Screen and a mouse pointer

After struggling with USB 3.0 on creating a Live USB version Kali, I've finally managed to actually boot it up and then use the apt-get update + upgrade + dist-upgrade successfully. But here comes ...
11
votes
2answers
9k views

how to output text to both screen and file inside a shell script?

Currently I have a shell script which logs messages to a log file like this: log_file="/some/dir/log_file.log" echo "some text" >> $log_file do_some_command echo "more text" >> $log_file ...
6
votes
2answers
402 views

Execute a process in the current pane, redirecting stdio to/from the pane

GNU Screen has a command called exec that will launch a subprocess and optionally let you do things with its file descriptors, including tying them in your window. I frequently use :exec !! sx -b ...
1
vote
2answers
42 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
38 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 ...
1
vote
1answer
817 views

Corrupted gnu-screen session not displaying UTF-8 correctly

(Edited to clarify the role of Emacs in the problem with the display.) My current gnu-screen session has gotten corrupted somehow, and Emacs fails to display UTF-8 characters properly. I've ...
14
votes
4answers
29k views

How to split window vertically in GNU Screen?

I saw some body split their window to 2x2, I just want to know how to do that? I know the 'split' command in Screen can only split the window horizontally.
2
votes
3answers
14 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
23 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 ...
0
votes
3answers
826 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 ...
7
votes
3answers
26k views

Increasing Screen Size/Resolution on a VirtualBox Instance of Centos

I have VirtualBox instance of Centos 5. The screen size is quite small (800*600) and I'd like to increase it to 1280*1080. Under the Gnome preferences for "Screen Resolution" I only get the option for ...
0
votes
0answers
31 views

Input is disappearing in emacs

I am currently running the latest version of emacs on RHEL 6.6. The issues I am having is that sometimes when I type input, some of the input randomly disappears and will then reappear when I ...
1
vote
3answers
4k views

Screen is terminating

I have installed screen on Fedora 19. When I test the command as root remotely through SSH, it works perfectly. For instance, if I enter screen a new terminal emulator is started and waits for ...
1
vote
3answers
47 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
32 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 ...
12
votes
4answers
12k views

sending text input to a detached screen

I'm trying to run a minecraft server on my unRAID server. The server will run in the shell, and then sit there waiting for input. To stop it, I need to type 'stop' and press enter, and then it'll ...
5
votes
1answer
1k views

dynamically generated logfile in screenrc shown in hardstatus

I want to use a combination of the date and time at startup as filename for GNU screen's logfile. In screenrc, if I put logfile '~/log/screen_%H_%m%d%Y_%0c-%t.%n' I get a dynamically generated ...
2
votes
3answers
976 views

console vim in screen session: remap Ctrl-Shift-Left, Ctrl-Shift-Right to not delete lines

I have my gvim setup so that I can select word-wise with Ctrl-Shift-Right, Ctrl-Shift-Left etc. (yes, I know it's a bad habit, but it works for me..). Unfortunately, these key combinations delete ...
2
votes
0answers
23 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
20 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
15 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
47 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, ...
5
votes
2answers
1k views

GNU screen - Restore a session with splitted screen

When I restore a splitted session of screen, I've got only one print session and have to reconfigure the number of display session. Is there another way to have the original screen configuration?
1
vote
1answer
60 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
41 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
65 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
32 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 ...
4
votes
3answers
6k views

How do I kill all screens?

I accidentally created over 1000 screens. How do I kill them all with one command? (Or a few)
2
votes
0answers
58 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
0answers
95 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 ...
4
votes
2answers
1k views

Send command to detached screen and get the output

I've been searching to find a way to send a command to a detached screen session. So far, so good. This is what I've come up with: $ screen -S test -p 0 -X stuff 'command\n' This command works as ...
0
votes
0answers
13 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
83 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
0answers
37 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
16 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
46 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 ...
2
votes
2answers
59 views

How to switch to a screen with two digit index in screen command?

Let's say we have opened more than 10 screens in the screen program. How to switch to a screen using Ctrl+A, n where n > 9?
1
vote
1answer
66 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 ...
34
votes
2answers
37k views

How to recover a 'lost' screen session?

Somehow I managed to close a screen window without screen 'noticing' it, so the session is still flagged as attached. This prevents me from re-attaching to this session. What can I do? ...
2
votes
1answer
55 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, ...
7
votes
2answers
2k views

How to allow Page Up in GNU Screen?

I use Vim to edit text files on Linux. Commonly I connect to remote Linux machines using PuTTY from Windows. I use GNU Screen commonly as well. When using Vim inside Screen I am unable to use the ...
3
votes
3answers
714 views

How do I start a screen session using an upstart job with a non privileged user?

I have struggled with this problem for two days and have tried many things to fix it to no avail. I'm hoping you guys can help me out. I am trying to create an Upstart job that starts a new screen ...
-1
votes
1answer
61 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 ?
16
votes
2answers
5k views

GNU Screen: new window name change

I can change the name of a window with Ctrl-a Shift-a. Instead of editing several window names by hand, is there a way to have them automatically named after the current directory?
6
votes
2answers
3k views

How to rename a gnu screen session

I am running a screen session and I'd like to change it's name. I know that when starting a new screen session I can use the '-S' option to give it a name. How do I change that name once the session ...