Questions tagged [gnu-screen]

GNU Screen is a command line utility which allows the user to create multiple shell sessions on one connection. These sessions are decoupled from the primary connection and so maintain state for the user, even if the connection is dropped.

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

GNU screen append buffer multiple times without exiting copy-mode

Is there any way to append copy buffer multiple times without exiting copy-mode in GNU screen? With the functionality I'm looking for I would be able to enter copy mode, scroll to the desired area ...
0
votes
0answers
29 views

Why does GNU Screen cause me to have to press Esc twice in Vim?

When I launch GNU Screen and then open Vim, to get out of "insert mode", I have to press the Escape key twice, whereas in Vim outside of Screen I only have to press it once. Why does this ...
0
votes
1answer
28 views

Scroll pages with "screen" in a putty window

I am connected with Windows putty to a Linux computer, and inside this SSH session, I use screen (similar tu tmux). I know that, in order to scroll with PG-UP / PG-DOWN, one has to do this before: ...
0
votes
0answers
20 views

Is there any way to reattach to a screen session that's in a loop?

I'm using Cygwin to run screen on Windows if it matters. Say I have a simple loop running. Like "Enter a number, if it's not zero, loop back and enter another number." and I want to run that ...
0
votes
1answer
24 views

Console text editor and Ctrl+S within screen

I cannot use any console based text editors because my Ctrl+S is blocked by console output control -- Ctrl+S normally means stop scrolling under console or terminal, and my screen is eating that key, ...
1
vote
0answers
31 views

using tmux and screen via ssh [duplicate]

I am using tmux on a local laptop to connect to a server via SSH in a pane. On that server, I am running several computations via screen. The issue is that the server's screen key bindings such as C-A ...
1
vote
0answers
66 views

Screen as a service on systemd wont start

I'm trying to run screen on a systemd service as startup, so i can check on it later if needed, on an interactive shell, but the session wont stay up, and apparently it doesn't even start. This is my ...
0
votes
0answers
8 views

Where my command is running in a screen session or regular terminal?

From screen to regular terminal : Ctrl-a + Ctrl-d #detach from the screen session. From regular terminal to screen session: screen -r #reattached to the screen To type Ctrl-a + Ctrl-d and screen -...
0
votes
0answers
25 views

See what's inside screen with attaching?

As a sysadmin, I use screen for a lot of things, as do my colleagues, and we often leave a bunch of screens hanging around under root (I'm already aware of the general sentiment against working as ...
0
votes
1answer
23 views

Create new screen with correct environment and at pwd

It's been brought to my attention from my users that the screen command can be made a little easier to use. Initially, calling screen creates a fresh bash environment at the pwd of wherever the user ...
0
votes
0answers
14 views

GNU Screen opened the wrong screen [duplicate]

I have 25 screen named sc1, sc2, sc3 , etc running and when i open screen via screen -r sc1 command it opened sc19 How to fix this?
0
votes
0answers
18 views

gnu screen detached session: kill window after command execution

screen -dmS s1 screen -S s1 -X screen screen -S s1 -X screen screen -S s1 -p0 -X stuff 'false'$'\n' screen -S s1 -p1 -X stuff 'read a; echo \$a'$'\n' screen -S s1 -p2 -X stuff 'hostname'$'\n' screen -...
0
votes
0answers
30 views

gnu screen show message in hardstatus

When I use the screenrc I copied from somewhere screen starts with the message: This IS window 0 (zsh) in the hardstatus line I want to create a detached session with multiple windows. On reattaching ...
0
votes
1answer
29 views

Can't record or share my screen

Hi guys I face a problem, I can't share my entire screen on discord or any platform. It just goes black and no one can see anything except my mouse pointer! The problem is not on discord only but I ...
0
votes
1answer
55 views

How to use tmux between local laptop and remote server

I am currently in a VPN using RStudio which is installed on my local desktop to do some analysis. However, to do analysis, I extract data from my database which is installed on a remote server. What I ...
0
votes
1answer
89 views

Start detached screen over SSH with bash command

I am attempting to start a screen session in detached mode over SSH that executes a bash command inside screen... #!/bin/bash set -e ssh jlroberts@10.0.0.202 "screen -wipe" sleep 1 ssh ...
1
vote
1answer
63 views

"Maximizing" a pane in gnu-screen

Similar to "Maximizing" a pane in tmux is there a way to maximize a pane using screen?
0
votes
1answer
26 views

How can I stop or interrupt an accidental gnu screen paste "ctrl-a ]"

I am using gnu screen (byobu really but it seems the keybinding was from screen) and was trying to enter scrollback mode with "ctrl-a [" but I accidentally did "ctrl-a ]" which ...
1
vote
0answers
72 views

Incorrect cyrillic symbols representation in the GNU screen program

I use screen program to run a game server on a VDS. Sometimes I need to see what happens in the game and open SSH session via Putty and then run screen -x ... as usual. Recently I faced with weird ...
1
vote
0answers
77 views

Key caching in SSH forwarding

What I want to achieve is to connect to server A and execute a script that connects to multiple other servers (serially) and perform a task on each. While I can perform that task using ssh -A, the ...
0
votes
1answer
43 views

How to map the escape sequence of Gnu-screen to an arbitary key remapped with xmodmap?

so i remapped some keys using xmodmap, specifically i remapped one key to the ±-sign. I want to have this key as my escape for GNU screen. I tried adding the following lines in my .screenrc: escape ± ...
2
votes
0answers
24 views

GNU Screen 'ctrl+a w' doesn't show any information

I am using GNU screen and used Ctrl+a c to instantiate multiple windows. However, when I press Ctrl+a w to list the windows at the bottom of the screen, nothing happens. (I am logged into a Linux ...
0
votes
1answer
25 views

Saving Screen Region Configuration

I was wondering, as I couldn't find it in the man page, if there is a way for the linux screen command to remember the configuration of regions when you disconnect and reconnect. Basically if I run 4 ...
1
vote
1answer
159 views

Make ssh LocalCommand set GNU-screen window title only when used interactively?

Setup I run screen on a local machine and use different screen windows to connect to different hosts. It would be nice to change window names to the host names automatically during the ssh process. ...
1
vote
0answers
54 views

Reattaching a screen in a crontab to wait until the screen closes returns "Must be connected to a terminal."

I use a bash script to backup a minecraft world, which is called from a crontab every day. Though the backups are made just fine, I've found an error message in the output: Must be connected to a ...
0
votes
0answers
202 views

quit qemu ... inside screen inside tmux

I used too many levels of indirection and now I can't get out. I used Tmux from my jump host to get into the dev host. Then I used screen to keep track of what I'm doing on the dev host. Finally I ...
0
votes
0answers
102 views

Execute a command on screen termination

I have been using screen for a while, but the process I am running seems to terminate at times, closing the screen out. So I have to reopen the screen again. I was wondering if it was possible to ...
1
vote
1answer
504 views

Is there a way to see all output in PuTTy using screen?

I have a linux server that is connected to my ec2 instance and I'm trying to do some debugging when I'm in screen. The issue I'm facing is that sometimes I get big long error messages that fill up ...
0
votes
0answers
31 views

Linux Screen command passed to wrong screen

I have two screen session(eg: A & B ) for GSM modem, However, I am facing a problem where I sent AT commandscreen -S A -X stuff 'AT\r' to both screens(same port) but I have no idea why the command ...
2
votes
0answers
705 views

screen issue. Getpwuid can't identify your account

this is the result of the strace /screen I am trying to launch screen static binary. I have created /etc/passwd and /etc/group. When I did ls -la /etc/passwd /etc/group I didn't get any errors, but ...
1
vote
0answers
34 views

How to add colours to GNU Screen

This might seem like an odd/silly question(and I'm not entirely sure this is the right place to ask?), but I have some server programs running on a machine and I'd like multiple terminals to monitor ...
1
vote
1answer
85 views

Disable any non-user changes to screen window titles with zsh

I upgraded my shell to ZSH recently on OS X and one behavior is driving me nuts. I've tried a few suggested fixes and haven't figured it out yet, so I figured I'd try here. When I start a GNU screen ...
1
vote
1answer
71 views

screen - move cursor to beginning of line *in tcsh*

I am a screen noob. I also prefer to use tcsh. I cannot figure out the shortcut for getting to the beginning of the line (e.g. control-a). When I try to suggestion here: screen - move cursor to ...
0
votes
1answer
219 views

Trying to run a game server as a service

I'm trying to use monit to check my game server and restart it if it fails. The monit part is fairly simple to check port 28960 but I'm struggling to run the start script (cod4.sh) if monit detects a ...
0
votes
1answer
175 views

Linux Screen window title keeps changing

Screen window titles keep getting changed to hostname: everytime I go to a new directory. Need to preserve the manual name changes of the windows. Here is all of the /etc/screenrc config. Please note ...
0
votes
0answers
83 views

Take output from a detached screen running a server application

I wish to fetch output from a screen running a Minecraft bedrock server, after executing list command to list online people on the server using screen -X stuff 'list\n' I wish to gain the output of ...
0
votes
1answer
3k views

Cannot run startx from GNU screen session

I would like to run startx from a screen session. This used to work until a few years back. It seems to have been disabled to prevent people from running their X servers via ssh. Errors: /usr/lib/...
2
votes
1answer
723 views

Load terminal from another window into current split pane in tmux

In GNU Screen, I can switch to any window number within a given split. For example: Enter screen to launch it. Press Ctrl + a c to create a new window. Now there are two windows: window 0 and window ...
0
votes
2answers
326 views

"for" loop inside a screen

I need to run the same command say 10k times and I don't need it to run in foreground. screen -dmS "ScreenName" for i in {1..10000}; do <command> arg$i; done doesn't work for me. How do I ...
1
vote
0answers
93 views

Some key bindings in `screen` do not work as expected

I recently installed screen for Raspbian Buster using bash and it doesn't seem to work completely. I am able to create a new window using Ctrl+a c and flip between the windows. I can see the windows ...
0
votes
1answer
35 views

Save screen state before rebooting my laptop

I love using gnu-screen and I'm always opening loads of windows inside it. The problem is that when I need to shutdown my laptop for whatever reason, I have to loose these windows and when I turn on ...
1
vote
1answer
307 views

How to configure .screenrc to bind backspace to ctrl-h?

I'm working with a device console that maps Control+H to delete a character, but would like to preserve my normal workflow of using the Delete key. Is there a configuration I can add to my ~/....
0
votes
1answer
1k views

Starting a command in a new screen session doesn't work

I want to execute a command in a new screen session (and detach from it) but I don't get it to work. I tried to start a process in a new screen session and detach from it with this: screen -d -m ...
1
vote
0answers
12 views

How to make gnu-screen String Escape "W" use my special format?

The default %W will get this format windowtitle windowname For example 0 zsh 1 zsh But i want to use this instead [0][zsh]
2
votes
1answer
341 views

Terminal escape sequences in GNU Screen

So I'm quite confused with the concept of escape sequences in a terminal (or terminal emulator to be more precise) and how they relate to the screen bindkey command. I was looking at some sample ....
4
votes
1answer
434 views

No scrollbar after starting a `gnu-screen` session in WSL

I am using Ubuntu 18.04 (WSL) on Windows 10. I can use the scrollbar with mouse or touchpad before starting a screen session. But, once I start a screen, I lose the scrollbar (gray out). What I did: ...
0
votes
0answers
19 views

How do I create a seperate user login management from a single user in linux?

I work in a company. My team has 15 members. All of share a single server. This is managed by our IT team. All of us have one login id/pw. We can do sudo operations on it. Since, people use screen/...
0
votes
1answer
117 views

Screen as a Service on Ubuntu 18.04

I have an application that occasionally closes due to some runtime error or DDOS attack. The application runs inside a section of the Screen, so I need to access the server and type the command screen ...
2
votes
1answer
3k views

How to get the "screen" utility to work on MobaXterm?

I got this error when I first tried to use the screen utility: $ screen Directory /tmp/uscreens/S-Wildcard must have mode 700. Oddly enough, I don't seem to get this error again; I get this ...
0
votes
1answer
72 views

"screen" is losing umask setting

I am using the screen tool quite a bit. Recently I discovered that the umask within screen is different from what I am setting in my .bashrc. $ screen -v Screen version 4.00.03 (FAU) 23-Oct-06 $ ...

1
2 3 4 5
13