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.

Filter by
Sorted by
Tagged with
0
votes
0answers
120 views

Custom cl termcap causes vim freeze inside gnu screen

I was concerned about the terminal scroll inside screen, besides I have configured altscreen on it only affects some programs, not taking any effect when switching between windows. I know printf '\...
0
votes
0answers
263 views

Using urxvtc to run a command

I usually used to have this as one of my startup programs in a Linux system: urxvt -e screen But recently I have switched to using the daemon and client of urxvt i.e urxvtd and urxvtc. So I have ...
0
votes
1answer
173 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
0answers
25 views

Reading existing screen displayed values

Using BASH, is there a way to capture characters that on currently on the screen? More specifically, I need to display a screen, with what is currently in a variable, and allow the user to cursor ...
0
votes
2answers
147 views

cron – screen doesn’t work if has a command to run

If I set a cron job as below everything works: the new screen session is started and I can access it later. * * * * * screen -d -m -S test But if the cron entry is as below, the screen session is ...
0
votes
1answer
252 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
465 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
0answers
740 views

Merge/combine two monitors into one desktop

I'm running Arch Linux on a PC with a ATI HD 5870, using the open source driver. I have two HD-monitors and I want to "merge" these screens into one large desktop (3840x1080), so I can run a ...
0
votes
1answer
357 views

Quit program run by GDB when terminate screen

I am running my program using screen and GDB. How I run my program: screen -dmS adapter "./run-adapter.sh" In run-adapter.sh gdb -ex "handle SIGPIPE nostop noprint pass" -ex run -args ./Adapter ...
0
votes
2answers
242 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
1answer
83 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
0answers
59 views

Resurrect `screen` window in its original directory

I currently have a screen file which I use to automatically open windows that watch the Grunt build in two different related projects (simplified): sessionname popcorn zombie kr chdir srv screen -t "...
0
votes
0answers
141 views

GNU screen use complex command as shell

I want to use a command with multiple arguments as my shell from the perspective of GNU Screen. For some context, I want to make sure that my .bash_profile gets sourced, but I don't want to change ...
0
votes
1answer
28 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
0answers
207 views

Kill ssh session in screen from client side

I connected to an SSH server and left a script running using screen. After that, I logged out. Now, about 10 hours later and after a reboot of the client, I can't connect to the server anymore. After ...
0
votes
0answers
63 views

Why does Debian records in 1080p and Ubuntu record in 720p

Last year I was using Debian Jessie 8 as my main linux os and I used to record my screen with Record My Desktop the resolution of the video rendered as 1080p but recently I have switched to Ubuntu 16....
0
votes
0answers
96 views

GNU Screen & Serial console: how to automatically set correct window height? [duplicate]

I have this recurring problem when I use screen with a USB-TTL cable to connect to a serial console (embedded linux device.) I can't seem to configure screen to handle my terminal height correctly. ...
0
votes
1answer
110 views

Errors in process running in screen session while not logged in

I'm trying to run a Sage notebook server in a screen session (though I don't think the specific program is relevant because I've seen similar behavior for other programs). While I'm logged in to the ...
0
votes
1answer
304 views

GNU screen: Bind sequence of commands to a key

I would like to bind a sequence of commands (like e.g. first go to a certain window and in a second step do something there) to a key. Is this possible in screen? More general (since this would answer ...
0
votes
1answer
15 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
2answers
103 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
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
0answers
660 views

How to recover a screen session?

I'm running a screen session and it seems it hung up somehow. 0 ✓ user@hoster ~ $ screen -ls There are screens on: 30418.pts-2.hoster (Detached) 1 Socket in /run/screens/S-user. However, when I ...
0
votes
1answer
309 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
2answers
2k views

Using Screens with a PHP Script

I found an external developer to make me a PHP script to 'snipe' Mineraft usernames. In order for it to operate, I have to start the script from the command line using this: php -f sniper.php > ...
0
votes
1answer
200 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
585 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
489 views

Crontab and screen at reboot

I try to create a cron command that execute a software in a screen during start-up on my Debian. It seems easy by doing this command but it doesn't work (no screen created during start-up): root@xxxx&...
0
votes
0answers
85 views

List the GPU utilizations for each screen

How can I list all screens launched with screen along with their GPU utilizations? (screen -ls gives the lists of screens but not their GPU utilization) By GPU utilization of a screen, I mean the sum ...
0
votes
0answers
138 views

Using `screen` and PHP's built-in web server

I have a Raspberry Pi set up to run a PHP web application. For reasons that I won't go into right now, my current efforts involve using PHP's build-in web server: $ php -S localhost:8000 To get it ...
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
145 views

Imagemagick import screenshot in Debian of a launched app

I'd like to launch Iceweasel and then take a screenshot. When I simply try to wait and take it, it works fine sleep 10;import -window root root/scr/scr.png however when I first launch the browser, ...
0
votes
1answer
59 views

Additonal layer of abstraction for GNU screen region management?

Here is my use case: I have maybe 10 or so windows open in screen. I want to be able to split my terminal into regions and assign windows to regions. So far, so good. However, I want to be able to ...
0
votes
0answers
946 views

screen resolution woes on RH 7 running Xorg, which has no Xconfigurator (which seems only for XFree86)

I have a dell precision m6800 laptop that is experiencing stubborn low screen resolution problems with red hat 7. The funny thing is I installed RH 7 with no BIOS raid configured and I got the ...
0
votes
0answers
28 views

Update caption once a screen session has started

If I update my caption in ~/.screenrc and have an existing screen session is there any way to re-parse it without closing all shells and starting a new screen session?
0
votes
0answers
307 views

screenlog in multiple files

I want to log multiple output of serial lines with screen. I use the following: screen -L /dev/ttyUSB0 115200 screen -L /dev/ttyUSB0 115200 Screen logs the output in ONE single file screenlog.0 ...
0
votes
0answers
66 views

How to get back my split-screen after I lost connection with “screen”

I was executing the screen command with a split window in my CentOS server, then I lost connection to it. I reconnected to my server and I did screen -r to get my screen back but now I don't see them ...
0
votes
2answers
2k 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 =~ ...
0
votes
2answers
56 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
3answers
1k 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
882 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
55 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 ...
0
votes
1answer
97 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
953 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
2answers
735 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 ...
0
votes
1answer
152 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
0answers
51 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. ...
0
votes
1answer
21 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 ...
0
votes
1answer
53 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