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
2answers
53 views

No numlock in screen?

I am using a laptop and Putty on a Windows system. When I connect to my Debian Squeeze server in Bash environment, I can use the "Pos1/Home" or "End" (at the numlock part of the keyboard) to navigate ...
2
votes
2answers
84 views

Remove BS and ESC from Log files

Whenever I use the script command to record the keys I type or when I activate the logging mode in screen, all BS (Backspace) and ESC (Escape) key presses are also included in the file. e.g: cd ...
3
votes
0answers
129 views

Screen flickering (only on desktop) with Fedora 20, but why?

I'm using Fedora 20 and since I returned from the weekend, my screen flickers very fast. This occurs only on the desktop (excluding the menubar, with the fedora-menu and the clock, etc.) and the ...
3
votes
4answers
648 views

Keeping a process running on server even SSH is closed [duplicate]

I am running long program on server, which is basically Jar file of java program. I want to keep this program running even if SSH terminal is closed, how I can keep this program running on server?
0
votes
1answer
46 views

Set alias which doesn't send specified text? [closed]

EDIT I set a alias task in ~/.bashrc. The following: alias join="clear; screen -ls; screen -rx [<ID_OF_THE_RUNNING_SCREEN> quit]" If i the task join is executed, the following has to ...
1
vote
1answer
87 views

Set a screen session name at the command prompt

I am trying to create a simple alias that will allow me to create a new screen and set its name simple by typing newscreen {screenname} where {screenname} is set at the prompt. For example, I would ...
0
votes
0answers
283 views

Black screen after logged in. Xubuntu 12.10

Hi I'm a total noob in Linux/ubuntu. I had Xubuntu 12.10 running for a month or so without major problems. A few days ago after downgrad firefox from 29 to 28 by removing and reinstalling and ...
2
votes
1answer
52 views

script that calls a third party script that calls screen - how to start screen detached?

I have a script 'myscript.sh', that calls a vendor script 'vendorscript.sh'. The vendor script runs screen in the foreground. I would like to run the vendor script with screen detached. If possible ...
2
votes
2answers
258 views

Getting 256 colors to work in terminal multiplexer

tmux I followed Getting 256 colors to work in tmux: I have alias tmux='TERM=xterm-256color tmux' in ~/.bashrc and also set-option -g default-terminal "screen-256color" in ~/.tmux.conf In konsole: ...
1
vote
0answers
60 views

Linux Mint default physical screen before login

I currently have to do annoying things to log into Linux Mint 16 Petra. I have two screens: new, left, VGA old, right, DVI The mouse is trapped on the left screen and the login dialogue for mdm is ...
1
vote
1answer
56 views

how to debug/fix screen crashes on startup

(this is a question in reference to the OS X version of Gnu screen. I don't know if this makes any difference - and I guessed that Unix & Linux would have better screen-fu than Ask Different.) ...
1
vote
1answer
70 views

Combining local and remote terminal multiplexing

I use tmux regularly to easily handle multiple terminals on my local machine. Sometimes, I need to connect to a remote machine and start a script in one the terminals (i.e. a pane or window in tmux). ...
0
votes
1answer
104 views

GNU Screen: Creating new window with title specified

Is there a way of creating new window in GNU screen with title specified while creating the window itself. I know that I can create a new window and then set the title using ^A A but is there a way ...
3
votes
2answers
206 views

screenrc subshell for every window

.screenrc: shell -${SHELL} caption always "%n(%t) %= %{b}@%H[%l] : %{r}%c:%s" termcapinfo xterm ti@:te@ termcap xterm 'AF=\E[3%dm:AB=\E[4%dm' terminfo xterm 'AF=\E[3%p1%dm:AB=\E[4%p1%dm' ...
3
votes
1answer
184 views

Init script leaves thousands of defunct processes

My problem is that I have an init script that is generating thousands of defunct bash processes. My goal is to have a program called "fr24feed" in its own screen session on boot. After looking at ...
0
votes
1answer
36 views

Attaching a screen to a name

Okay for me to load a screen I have to do screen -r server Is there a way I can set it up so that can just be shown by the command: screen -x name
0
votes
1answer
53 views

I hit Ctrl+d while in a screen session, how do I now send commands?

I was trying to Ctrlad, and failed miserably and input Ctrld instead, now the screen won't respond to my commands. They appear, and the app running in the screen (a minecraft server) is still ticking ...
4
votes
1answer
64 views

How to see screen information at the top of terminal?

I once used a server where using the screen command gave me a colorful header which told me the name of the screen, the total number of screens, the runtime, cpu utilization and maybe some hotkeys to ...
2
votes
1answer
165 views

How do I fix this strange behavior with ssh, gnome terminal and gnu screen where function keys F1 through F4 are not accepted?

Here is what I am trying to do: open Gnome terminal launches with my command prompt ssh into work via VPN launch screen create two screen windows try to use F3 and F4 as "prev" and "next" with no ...
2
votes
2answers
207 views

Screen: Current directory in caption bar (not as title)

How can I show the current directory of the currently active session in a screen status bar (not as title of the session!)? I have tried with various combinations n,m={0,1} of backtick 102 n m pwd ...
0
votes
0answers
37 views

get information about screen windows

I run two scripts simultaneously within screen. screen is started by a script. I am working on a method for automatic window selection depending on the state of the scripts. This works (screen -S ...
2
votes
2answers
404 views

vim colors not automatically loaded (probable Vundle conflict)

I've been trying to port my Windows .vimrc to Linux, to use on the command line (on gnome-terminal). Everything works fine, except for the colorscheme. It looks like it's loaded (:colorscheme returns ...
0
votes
2answers
879 views

GNU screen status bar - how to make it display shell session names?

Let's say I have several shell "tabs" (or screens? sessions?) named bash1, bash2, etc. open in GNU screen. I want the status bar (i.e., the caption line) to display the names as "bash1 | bash2 | ..", ...
0
votes
0answers
119 views

Screen create/resume session, run command an detatch

I am trying to make a startup script for my Minecraft severs but I can't figure out how to: If the session "Server1" exists, run a command in it, if it doesn't, create the session and then run the ...
3
votes
3answers
439 views

Starting screen without welcome screen

Running screen I see this: How can I start screen directly, without this welcome screen?
3
votes
2answers
423 views

Log output of GNU screen in real time?

I'm trying to get the output of a GNU Screen to a log file in real time. I've tried using tee, but that appears to not work with screen. The log function for screen will not work for this as it is not ...
1
vote
0answers
47 views

Why CentOS 6 adjusts console width when running screen?

I run a console window through my PuTTY session. That console windows has a column width of 140. When I start the screen session, the console shrinks to 80 columns. I do not see this behavior on ...
2
votes
1answer
301 views

Byobu - send command to byobu tmux session from commandline (or bash/sh)

I run a script which I would like to print the status to a byobu tmux session. So for example print backup finished \n. Is it possible to do this with the name of the byobu tmux window, which you can ...
2
votes
2answers
48 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?
4
votes
1answer
66 views

see all commands/logs of screen in linux

Let us say I run screen -R myscreen. Then, I run commands on myscreen that are bigger than my monitor size so I end up loosing the visibility of the first commands I run. Then, I do Ctrl+d to ...
2
votes
5answers
62 views

How can we revisit screen command?

Screen command is a command we use to ensure that the command is not interrupted. Well, internet connection is interrupted. So I want to go back. I typed screen and go to a new screen. What about if ...
1
vote
1answer
2k views

Make screen start as Daemon for a Minecraft server

I made a script that runs fine manually, but can't get it to run with the description in How to start a script file on boot?. I have run update-rc.d -f minecraft.start defaults This is what my ...
4
votes
1answer
740 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 ...
1
vote
2answers
226 views

Script to su -c into a screen is not working as intended

I'm working on a script that will allow me to load up a screen from a user via sudo and su -c. However, when I use it, it will just show the shell of the user: sudo su -c "script /dev/null; screen -r ...
3
votes
1answer
2k views

Linux - Sending a command to a screen through a shell script? [duplicate]

I'm trying to figure out how to make a script that will be able to send commands to a screen that will execute within whatever the screen is doing. Is this possible, and if so, how is it done? I've ...
0
votes
0answers
39 views

When connecting with GNU Screen (patched version) RPi reprompts for password in kind of loop

I'm sorry this is a repost of my question on raspberrypi.stackexchange.com, but I didn't get an answer there, so I thought I could post it here. If not, please suggest some other way to get help. I ...
2
votes
2answers
298 views

GNU Screen: you have neither usable sockets nor usable pipes

I am trying to build GNU screen on CentOS 6 Minimal and When I type the command ./configure it gives me this error you have neither usable sockets nor usable pipes -> no screen I tried to use ...
1
vote
1answer
123 views

Change terminal type for screen over a serial connection

I am connecting to an embedded Linux board using screen over a serial link and trying to change the terminal type, as the default vt100 is pretty restrictive in terms of colours and scrolling etc. ...
5
votes
1answer
94 views

Export content of screen daemon to file

I'd like to export the content of a detached screen under linux. I tried those command: screen -x 2>&1 > temp screen -x > temp 2>&1 screen -x > temp But it's not working, It ...
0
votes
2answers
140 views

Why do you need screen/tmux to keep a remote program running

When I ssh to a server and start a script that is supposed to run for several days, it stops executing some time after I log off. Why? I suppose the server runs 24/7. And what does screen/tmux do to ...
2
votes
2answers
80 views

Display content of all currently detached screen

I have a few detached screens running. Now I’d like to see their current state for each of them. Currenlty, I do $ screen -r # look at the cryptic numbers $ screen -r <paste number one> # look ...
3
votes
2answers
638 views

Kill disconnected SSH session running in `screen`

I'm always forgetting to logoff when ssh-ing somewhere. After I reopen my notebook, a screen window with this running ssh is unresponsive. I have to create another window, $ killall ssh, and only then ...
2
votes
1answer
2k views

Screen in bash script

I am using a bash script and I need to create a screen, execute a specific command with a memory limit and detach the screen. I have been trying something similar: #!/bin/bash for i in 1 2 3 4 5 6 7 ...
0
votes
0answers
72 views

Screen caption custom colors

I am having trouble customizing the color of my caption in screen. I can use the 8 standard colors supported (as well as their brighter versions), but I am unable to define a custom color. The docs ...
2
votes
1answer
159 views

Garbled text in tmux menus

I am trying to use the st terminal, but after starting tmux (or screen) in a remote ssh session, the text becomes all garbled. Exiting tmux/screen makes text normal again. Now, I have found that this ...
1
vote
1answer
57 views

gnu screen get user@host on hardline

I create screen session with ssh user1@host1, user2@host1, ..., user5@host1. On hardline I see only host1 five times. The same when I press Ctrl+A". How can I define a hardline to get ...
0
votes
0answers
41 views

Screen: How to send control commands using “screen -S” [closed]

screen -S works fine for sending shell commands. But how do I send screen control commands, like to split the window or source a .screenrc file?
5
votes
2answers
120 views

How to send command output to GNU Screen's copy mode buffer

Is there a way to send the output of a command to a GNU Screen's copy mode buffer. I'd like to type something like this: $ echo 'this is an example' | screen_send_to_copy_mode or, maybe C-a Some ...
1
vote
1answer
789 views

Automatically save bash command history in screen session [duplicate]

I connect to a screen session. After doing some stuff I detach it. Then in history | tail I only see screen -r and previous commands and not the commands run in screen session. Basically history shows ...
2
votes
2answers
138 views

breaking from a program running in an interactive session in a screen window

I am launching R (an interactive program) in a screen window in a remote session: ssh me@.. screen -S R_ProjectName R In the R session, I would like to break execution. Normally, this would be ...