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

Debian 10 Live remove gnu start-up beep

When I select the USB in the boot selection I get a really loud beep sound and I couldn't find how to remove it. I've tried looking for the ^G in menu.cfg but at least in my version I couldn't find ...
0
votes
0answers
25 views

Make GNU Screen auto-detach if ssh session dies

I generally train machine learning models on remote servers in a GNU screen session living in an ssh session. Sometimes, usually when I unplug my computer from ethernet and it switches to wireless, I ...
0
votes
0answers
43 views

linux mint screen freeze on Oracle VM Virtualbox

First of all, I am a complete beginner in Linux. I installed Oracle VM Virtualbox on Windows 10 then Linux Mint 19.3 using Cinnamon to run a postgresql server and loaded a 3 million lines database. ...
0
votes
0answers
14 views

setup screen session as IDE on shell

I would like to write a script that uses screen to automatically create a few windows within which particular commands will be executed. Think of it like an IDE on the shell. Now I know that I can ...
0
votes
0answers
31 views

How to scale two displays differently and rotate one of them?

I have two screens: 4K, HDMI-0 1680x1050, DVI-1 HDMI-0 is left of DVI-1. DVI-1 is rotated physically 90 degrees clockwise ( --rotate left will make it rotate correctly to fit the physical rotation)....
0
votes
0answers
10 views

Tracking attached windows on GNU screen

Is there a concise way to see which windows are attached in GNU screen? I'm using screen to handle my terminals on a single session so I can easily switch between all open windows. Hence, I want my ...
0
votes
0answers
31 views

Display full command on GNU screen with bash in title

There are multiple questions about this sprinkled around the network, but what I could find has one of two things in common: They give the manual solution, which only prints the current running ...
0
votes
1answer
105 views

Read output from screen

I want to build an Minecraft Webinterface using a NodeJs backend server which communicates with a Bash Shell Script on Debian 9. 1: I create a new Minecraft Server using screen -S server_name java -...
0
votes
1answer
32 views

Automatically paste commands in multiple processes of a screen session

I have several bunch of commands writen in bash contained in a text file, separated by \n\n and I would like to automatically paste each in given screen processes. For the sake of clarity, let's say ...
0
votes
2answers
48 views

Is it possible to copy directories from a remote session, to the local machine?

I have been running my code within a screen session on a remote server. I want to move the output directories generated within this session on the remote server to my local server using SCP but I am ...
0
votes
0answers
36 views

Why are rapid Ctrl-Space sequences sometimes handled differently by GNU screen than slow Ctrl-Space?

I have GNU screen configured to use Ctrl+Space as the escape character. This means that Ctrl+SpaceSpace will send a literal Ctrl+Space to the process in the window. Also, Ctrl+Space Ctrl+Space is the ...
0
votes
0answers
68 views

White screen after waking up from suspend - Ubuntu 18.04LTS

I have AMD CPU and AMD Radeon graphics. The screen remains white after waking up from suspend however processes in the background work like I can still log-in by keyboard and shut down the system by ...
0
votes
0answers
138 views

Run a serial connection over SSH

EDIT: After some advice here and additional investigation here, the situation is now as follows: I have a serial device that takes input in batches of four bytes and outputs responses in batches of ...
0
votes
0answers
232 views

How to run LFTP in a bash script using screen so I can reconnect to the session later while it's running?

I'm having trouble figuring out the right syntax and approach to run a potentially long running LFTP command that is sync'ing files between servers using screen. I want to use screen as it allows me ...
0
votes
1answer
81 views

Turn off GNU screen dynamic window titling for entire screen session

I found: GNU Screen window rename nuisance However, none of the answers there solve my problem and my situation is slightly different from the linked question. I work in a large infrastructure ...
0
votes
0answers
159 views

GNU screen doesn't work in Cygwin — directory must have mode 700

I installed Cygwin on Windows 10 and screen fails with $ screen Directory '/tmp/uscreens' must have mode 777. I couldn't change the permissions for whatever reason $ chmod -R 777 /tmp $ ls -hal /...
0
votes
0answers
34 views

Screen goes off (black) until I suspend and resume the system, how can I run a command to reboot screen without suspend?

I have Linux mint 18.3 Sylvia My screen goes off (black) until I suspend and resume the system, While everything is working fine (keyboard mouse audio..etc) just the screen is black. so I thought ...
0
votes
1answer
86 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
0answers
169 views

Got “Must be connected to a terminal” after the bash script run (screen -S screenName -d -m bash /root/RunServer.sh)

If I login to the Ubuntu 19.04 server via PuTTY ssh, I can just type the command screen -S screenName -d -m bash /root/RunServer.sh then everything works. But when the above command runs in the ...
0
votes
1answer
113 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
76 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
0answers
43 views

How to clear DISPLAY variable in GNU screen

Basically, i need to unset DISPLAY variable in screen if I run multiple commands like: screen -dmS name bash -c 'kodi; unset DISPLAY; emulationstation' I'm writing a little something that will ...
0
votes
1answer
22 views

running a terminal over PCMCIA serial port in unix

I'm currently doing a microcontroller project that requires a serial port, but for testing purposes, I require two serial ports and terminals working with both of them. My computer has one native ...
0
votes
0answers
44 views

How to create custom key binding for the paste command in GNU screen?

In screen, the keyboard shortcut ^a ^] runs the paste . command. I want to define an additional custom key binding for that command in .screenrc with the following line: bindkey "ñ" paste . In my ...
0
votes
0answers
68 views

What baud rate should I set when using screen tty for bluetooth?

I'm paired up with an Xbox Controller and want to see the output coming from the xbox controller in order to figure out its protocol. I'm trying to do screen tty.Bluetooth-Incoming-Port 9600 on my ...
0
votes
1answer
104 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
0answers
41 views

GNU Screen: hardstatus truncates color and text whenever terminal window width is small

My GNU Screen hardstatus: hardstatus alwayslastline '%{= kG}%{C}%S: %{c}%{= kG}|%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}' Normally looks like this: However, whenever I ...
0
votes
1answer
182 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
41 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
0answers
133 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
351 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
250 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
203 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
598 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
1k 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
400 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
331 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
95 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
64 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
150 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
33 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
235 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
65 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
1answer
115 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
340 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
18 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
121 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
0answers
688 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
355 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 ...