Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gnu-screen]

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.

1
vote
4answers
303 views

Byobu / Tmux copy whole line

I use byobu in tmux mode. In screen I can do this: Ctrl+a [, move to line, Y, Ctrl+a ] "Y" copys the whole line into the clipboard. I am looking to something similar in byobu in tmux mode. The only ...
2
votes
2answers
483 views

Screen loses permissions after ssh disconnection

I have a long running bash script that I run on a remote host with screen, so I can log off ssh. When I come back after some time (after logging off), the screen terminal no longer has permissions to ...
0
votes
2answers
198 views

How can I reattach to a screen session run by a script?

I've been trying to write a script that creates a screen session and starts a game server, which I actually managed to do. But the problem is reattaching to that session after detaching... I know the ...
0
votes
2answers
95 views

Unable to view boot screen which shows list of OS has to boot, after installing centos-7 along side with windows-8

I have dual booted my machine with centos-7 with already installed windows-8 64-bit by default. If I power on my machine then windows-8 is booting directly without any boot screen. If I want to boot ...
0
votes
2answers
728 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
524 views

is it possible to set timeout on Linux screen session?

I work on Linux servers via SSH (putty) and run "screen" to preserve my sessions so I can attach/detach them at anytime I wish without losing the connectivity/process disruption which is working ...
1
vote
1answer
38 views

How to open a new window using only one shortcut in gnu screen?

To open a new screen, I have to do press Ctrl + a, then c, I often found it cumbersome. I would like to do this with only one shortcut, Alt + c. Also, for moving to previous and next windows, I would ...
1
vote
1answer
153 views

“autostart” from screenrc

How can I start some command for certain tabs in screen automatically? I've tried using command directly (screen mc) but it seem to load with broken environment or terminal profile. I've also tried ...
1
vote
1answer
225 views

How do I make my script launch the screen as non-root

I'm running Minecraft, starting it automatically from from /etc/rc.local. I have that run /home/kent-server/mc/spigot.sh and inside that is screen -dms minecraft Java -jar -Xmx5120M -Xms5120M spigot....
1
vote
1answer
127 views

Screen stuff execution delay

I need to press space in two windows at least almost simultaneously to debug my own version of more util. When i'm writing something like : at "#" stuff " " it is working too long (delay about 3 ...
1
vote
1answer
937 views

How can I use the host's keyboard for a 'remote' SSH session from a tablet computer?

The perhaps slightly odd requirement is this: I have a computer/laptop running Ubuntu I have an iPad from which I can SSH into said laptop sitting right next to it I'd like to use the iPad as an ...
1
vote
1answer
487 views

Screen creation not working on crontab

I have a problem with one of my VPSs, in the main one, the command screen -dmS SCREEN_NAME node DIRECTORY (Create a screen without joining it with the command "node DIRECTORY") works normally, in ...
1
vote
1answer
406 views

How do I prevent the Keyboard Interrupt from being sent through the Screen program

I am making a python program, whose output (not input) can be viewed via the screen program. However, the problem is that doing this allows the user to turn off the program via the Keyboard Interrupt (...
1
vote
1answer
1k views

Filter screenlog with screen command

Pressing Ctrl+A, H, lets me log output of the screen command. However, the output file is too large. Is it possible to apply a grep-like filter so that I can control what gets logged? For example, I ...
1
vote
1answer
227 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
15 views

Getting the last output from a stuck screen session

I have a very stuck screen session - I can see it in screen -ls, it shows as attached, but I can't detach it re-attach it, not even with "screen -D -RR". Trying the detach and re-attach in separate ...
0
votes
1answer
26 views

Linux start screen and run a java program and detach it?

I have the following script that should do the following: Stop screen "server" if exists Start screen "server" Run a java program and detach screen. However, when I firstly run the script, the ...
0
votes
1answer
19 views

Remote screen session

This is running me crazy: I want to use 4 screen windows (within the same session) in a remote server (GCloud) to process 4 subjects in a parallel way. Long story short: I first create a detached ...
0
votes
1answer
53 views

Running multiple screen commands with crontab and log them seperately, giving each a seperate screen name

How can I log the output of multiple screen sessions which are executed by crontab seperately? Currently I am running them in "screen -dm -L " style in crontab but it logs all the sessions to ...
0
votes
1answer
115 views

Scientific Linux / CentOS Screen sharing

we have Scientific Linux 7 PCs. At one of them I cannot activate the "screen sharing" under "Settings"- "Sharing". I tried to disable / enable the "sharing". I can activate and deactivate the ssh but ...
0
votes
1answer
30 views

Swap content between screens

I'm using Opensuse 15. I use two monitors a small one on the left and big one in front of me. Sometimes I would like to change all the programs from my left screen to the other one and vice-versa ...
0
votes
1answer
143 views

How to work around terminal artifacts when using dialog program under docker, running in a screen session

all. The question is about the setup that you can find here: https://github.com/filmil/bugreports/blob/master/dialog/README.md I noticed that running a dialog utility in an interactive docker ...
0
votes
1answer
224 views

Problem with screen concurrency

I am encountering a couple of issues while usage of screen. I am using PuTTY Let's say, I am attached to a screen and execute the command ls -la Assuming the output covers my entire screen, I then ...
0
votes
1answer
433 views

attach to tty running a process

I have a systemd service file that runs a java program in another tty [Unit] Description=java program After=network-online.target [Service] Type=simple ExecStart=/usr/bin/java -cp "/home/user/...
0
votes
1answer
77 views

Keybinding notations for GNU Screen

Running GNU screen on Ubuntu 14.04.4 LTS remotely from a windows machine. I am trying to change the keybinding in ~/.screenrc. To navigate between the windows, # control-left and control-right switch ...
0
votes
1answer
27 views

GNU Screen -ls always returns non-zero?

I'm doing some scripting involving screen, and it seems that screen -ls always returns 1. Is this normal? The screen man pages say that it does interesting things if passed screen -ls -q, but I'm not ...
0
votes
1answer
14 views

Can detached screens by “imported” inti active session?

I have a few screen sessions that I started from the native shell. Now, in order to switch from one to another, I always detach the current and re-attach the one I want to switch to which works fine ...
0
votes
1answer
1k views

How to change proxy setting manually in debian?

I want to change my system proxy settings manually with command line. What are the commands that allow to substitute this GUI operation on Debian 8.0? Going to the menu and accessing the Network ...
0
votes
1answer
296 views

Circumvent deletion of screen session and nohup processes on logout

Everywhere I look I see that screen is for keeping a session open so that you can come back to it after disconnection. But this doesn't seem to be the case for a system that I ssh to. Do I ...
0
votes
1answer
191 views

Execute command in other users' detached screen

On my (ubuntu) server I have a gameserver running in a screen, owned by user_1. The gameserver has an interactive console to send commands to. Would it somehow be possible to execute a script as ...
0
votes
1answer
528 views

load all screen sessions in split screen

I had 3 sessions open while using screen in split screen mode - I thought that using CTRL + A, Q would close the currently active split screen session, instead (i think) it just backgrounded all of ...
0
votes
1answer
407 views

Init script for a daemon to run screens on CentOS

I have a question concerning a init.d script. Currently I have a init script that launches a custom daemon as follows: sudo -u "$user" $cmd >> "$stdout_log" 2>> "$stderr_log" & ...
0
votes
1answer
866 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
1answer
92 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
905 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 ...
0
votes
1answer
151 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 ...
0
votes
1answer
52 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 ...
0
votes
1answer
50 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