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

GNU Screen bind mouse wheel to up and down arrow keys

Is it possible for GNU screen to translate all mouse wheel actions to the up/down arrow keys? I do not want the mouse wheel to scrollback the buffer history which is what it currently does. I have ...
-1
votes
1answer
27 views

What is the difference between -r and -x when attaching to a screen?

I found out today that both my friend and I use different ways of connecting to a screen. I've always used the form -x and he uses -r. I read the man pages but I wasn't able to come up with a test ...
0
votes
0answers
7 views

Monitor detected at splash screen, but not after

All in the title, The splash screen is displayed on both of my monitors, but after the splash screen, when I'm on my desktop, only my main screen display something, the second one goes off, and I can'...
0
votes
0answers
9 views

xrandr --fb sets Screen 0 too tall

I have a DisplayPort monitor. xrandr is setting Screen 0 to a larger height than the monitor is capable of displaying. All I want is for my single monitor to be of the correct size and behave as a ...
1
vote
2answers
16 views

Is there a way to get around linux gnu-screen stuff character limit?

I have a Minecraft server attached to a Screen in my linux server. I use Python to push data to the Minecraft server via Screen Stuff. I have noticed that if I put too many characters in screen stuff, ...
0
votes
0answers
19 views

How can a tmux user migrate to GNU screen?

I have been using tmux for a few years and the keybinding have become a habit but I have to work on a system where tmux is not available but GNU screen is. How can I configure the .screenrc so that ...
0
votes
0answers
17 views

Tmux length of a portion of status-right

I want to store the length of the appended portion of status-right on the Status Line which I have set to be of nonconstant length; specifically I want the length of what comes after "set -ag ...
0
votes
0answers
38 views

Tmux Status Line like dwm [Window tiling manager]

How do I make tmux's status line resemble dwm's? Especially on the left hand side? Something like: 1 2 ... 9 username@hostname: PWD Actual image of DWM's status line I want to emulate: (Click to ...
0
votes
1answer
20 views

How to disable screen going blank/off in X11? [duplicate]

Is there a simple way of disabling this? I don't have any power saving constraints currently, as my desktop is always plugged in and I don't mind having it running forever. All of the explanations on ...
0
votes
1answer
22 views

Can't scroll up fedora 33 server screen WHY?

I install a fedora 33 server OS, and I can't use any key that previously searches on the internet. any idea?
0
votes
1answer
14 views

Creating hidden screen sessions which are not visible via “screen -ls” command

Is there any way to have screen sessions that aren't visible via screen -ls command? If so, then what's the access method to these screens? Any screen that is created by a screen -S <Name> will ...
1
vote
0answers
33 views

Can't get Ctrl+A to register in PuTTY?

I'm trying to use Screen on a remote server. Everyone else can use Ctrl+A so I know it's set up correctly in the .screenrc, but for some reason I think my PuTTY client is setup wrong. Under terminal &...
0
votes
2answers
55 views

Keep python script running after ssh closed

I am trying to run a script called script.py on a remote CentOS 7.3 box that I ssh into. I am running the script from an environment called py. I want the script to continue running after I disconnect....
2
votes
1answer
46 views

How do I host a shell for a serial terminal?

I am building a dumb terminal with an arduino and I can now see the output of serial connections. How do I get a login/shell? I have tried screen /dev/ttyACM0 and that lets me type on the host ...
0
votes
0answers
52 views

CentOS 7: xinit: unable to connect to X server: Connection refused xinit: server error

I am little new to CentOS having issues with starting xserver. This is a intel machine with additional 2x RTX 2080 Ti GPUs for computing. So far I have tried: [abc@machine ~]$ startx xauth: file /...
1
vote
0answers
17 views

Capture colors with GNU screen hardcopy

Using GNU Screen (Screen version 4.06.02 (GNU) 23-Oct-17), I want to use hardcopy to save the colors of a specific screen. When I run screen -x nameofmyscreen -X hardcopy /tmp/hardcopy, the resulting ...
0
votes
0answers
13 views

Ubuntu 20.04 LTS - Terminals/Screens Randomly Closing?

I am currently having some issues with my terminals/screens all randomly closing on my Ubuntu VM. This is becoming problematic as I am running a Minecraft server off of this. Here is some background ...
0
votes
0answers
26 views

How do I get 2 seperate GPUs (gtx1060 and gt710) to make one big screen using two displays on Manjaro?

As of now, I have installed the non-free proprietary unvidia-drivers on my Manjaro setup, with only one screen showing. Both GPUs however AND displays are detected. Proof. I also notice that on the X ...
1
vote
0answers
20 views

Is there any desktop environment that allows to set a different screen scale without changing the screen resolution?

I have a 14" Full HD laptop and connect a 23" Full HD monitor to it. Which is approximately 157 PPI and 96 PPI. Changing the screen scale changes the screen resolution, which makes the image ...
1
vote
0answers
26 views

some process is overwriting my .zshrc config file

i want to customize my dynamic title on gnu screen i used to have a script that worked on my previous distribution (mint), but now that i moved to lubuntu 18.04 it doesn't work anymore it's placed in ...
0
votes
1answer
28 views

Running screen and immediately run other commands

I could not figure out how to start a screen session, and in that attached screen session to run a command without human intervention. Expected behavior is: [me@me ~]# screen -S name -L --mystery_flag ...
1
vote
1answer
55 views

Does tmux need a console?

I'm trying to automate the creation of a tmux session and windows within it running commands and have a script to do so and although it works fine when I run it from command line, it fails if I run it ...
0
votes
0answers
230 views

Run flask python script in screen session with root privileges at system startup

I installed a python script that runs a flask app on a webserver, and want the script to run automatically at system startup. The python script needs root privileges in order to read the https ...
0
votes
0answers
23 views

Unable to run retropie and detatch screen on Debian 10

I'm trying to run a script that launches retropie and pushes the output (the game) to the remote display. I've gotten this to work perfectly on PI3 b+ running the Raspi OS, but I can't seem to get it ...
2
votes
0answers
19 views

Using nohup and & on remote Mac OS X causes process to become idle?

I am running some code on a remote server (an iMac), and I want the process to keep running after I log out. So, I am using nohup and &. However, the process becomes idle when I leave (log off) ...
0
votes
2answers
85 views

screen /dev/pts/<num> of a VM never has correct stty settings

A virtual machine (using linux+kvm+qemu) is setup to provided a serial port for a terminal, which is made available via a pseudo-terminal, some random /dev/pts/<number> I use screen as a way to ...
0
votes
1answer
25 views

Running hping3 in screen

Is it possible to run a hping3 command in screen (apt-get install screen) and terminate that by killing the screen? It‘s important that this command is not being executed in the terminal screen.
0
votes
0answers
17 views

My screen gets “pixelated” after waking up from the sleep. (Zorion OS)

After waking up from sleep, my laptop's screen and all the apps that were running on it before going to sleep have distorted pixels.
0
votes
0answers
20 views

Ubuntu Screen terminates jar when I termiante SSH

Im having a very weird problem: I have a jar with a scheduledthreadpoolexecutor. When I run the jar in the screen session and detach from it, it works perfectly. I can reattach, everything is running ...
0
votes
0answers
25 views

Is it a bad idea to connect to a Screen session through TMUX?

I currently have 3 or so programs running in Screen instances, and I would like to access them all in TMUX. The current process is this: At system boot, three individual Screen instances are started ...
0
votes
2answers
88 views

Change “next window” keyboard shortcut in GNU screen

I can split my screen window horizontally by typing Ctrl-A S (or vertically with Ctrl+A |), and then I can switch between windows with Ctrl-A Tab. I'd like to also be able to switch windows with Ctrl-...
0
votes
1answer
86 views

Systemd with detached screen

I want to start a service with a screen command in detached more. The backgound is, that it shall read a serial interface and with reconnecting to the screen I want to be able to interact in case of ...
0
votes
1answer
34 views

How to kill one of several detached screen sessions without first re-attaching to it?

When inside an active screen session, one call kill all active windows in the session and exit the session with Ctrl+a \, however, how does one achieve the same for a session known by name (say from ...
1
vote
1answer
59 views

How to scroll screen within screen with the outer screen keybindings?

I run a screen session locally on my laptop. Within that screen session, I connect via ssh to a server on which I do most of my work. Since that connection gets reset sometimes (e.g. VPN timing out),...
0
votes
2answers
661 views

How to open Minecraft systemd service server console on CentOS 8?

I'm pretty new to Linux and because of that this might be a stupid question but anyways: I've made a CentOS 8 virtual machine on my computer to run a Minecraft server for me and my friends using this ...
0
votes
0answers
13 views

How to dynamically launch a screen session, open a gnome terminal and then run a script in that terminal?

currently I have the following gnome-terminal --window -e /tmp/script1 --tab -e /tmp/script2 --tab -e /tmp/script3 this allows me to open a gnome-terminal window with multiple tabs, each running ...
0
votes
2answers
123 views

The screen and tmux programs have suddenly stopped mouse scrolling in KDE Konsole

Some new behaviour in Konsole has prevented both screen and tmux from scrolling the window. I mostly use screen and when using the mouse wheel to scroll it would spin through the command line history. ...
1
vote
1answer
85 views

Set multiple environment variables for existing screen session

I have an existing screen session and now I need to set some (more than one) environment variables to that session. These environment variables should not be visible to other screen sessions. I tried ...
0
votes
0answers
42 views

GNU Screen - terminal size - scroll left-right (wrapping disabled)

I use GNU Screen on Suckless st or xterm. One of the reasons is for scrollback, using copy mode, c-a esc. I need to examine some very long and wide logs and also some interactive Oracle SQL*Plus wide ...
3
votes
0answers
36 views

Is there a way to get the last n lines of screen output programmatically?

I'm working with a detached screen session, and I'd like to be able to check what the last lines of output on the screen session are (for example, to determine if a password prompt is being displayed)....
1
vote
0answers
37 views

Show GNU screen session name as Cygwin window title

I use Cygwin with a xterm terminal to ssh into a server that gives me a csh prompt. I then do screen -S new_session. The window title of Cygwin then shows "[screen 0: csh]", which suggests ...
1
vote
0answers
54 views

Configure a screen session to behave exactly like a xterm terminal [closed]

I want to be able to configure a screen session through screenrc or within a session to behave just like an xterm terminal. Currently I have a c# app that uses ssh.net libraries to ssh to a Linux box ...
1
vote
1answer
196 views

no alsa-sound in systemd-service (using screen)

I just set up a systemd.service in order to run cmus (a console-music-player) detached to a screen at startup. i don't get sound, when starting via remote with no user logged in to the machine. i do ...
1
vote
1answer
36 views

Installed 'gnu-screen' and now files looked at with 'less' appear in stdout terminal

Hello I am working on a raspberry pi with Raspian version 10 (buster), and I recently installed GNU Screen version 4.06.02. When I used to look at files with less, the contents would appear on what ...
1
vote
0answers
18 views

How to pass code to attached screen

I am running an R script using a Linux Workstation. I am new to Linux - thanks for your patience! I first ran screen before running my R script, Rscript myRscript.R After checking in on my script ...
0
votes
0answers
17 views

Run a set of functions in a detached screen

Is it possible to call a bunch of functions within a detached screen that are defined elsewhere in the script? For example: #!/bin/bash Method1() { ... } Method2() { ... } Method3() { ... } Method4() ...
0
votes
1answer
34 views

Could not start bash session after GNU screen window split command

I am new to GNU screen and was wondering how to split window appropriately. Start a session with screen command. Split window with C-a S. And I get the results of the terminal as shown in the image ...
0
votes
0answers
15 views

Is there a way to display which files are open in each screen window?

When doing Ctrl^A Shift-", displaying the list of windows like: 0 user@hostname:/path/to/directory 1 user@hostname:/path/to/directory 2 user@hostname:/path/to/other Is there a way to display the ...
0
votes
2answers
56 views

Login to ssh session and afterwards automatically look for and access existing screen session?

I would like to connect to a server using ssh and after logging in I would like to automatically execute screen -R My script looks as follows: sshpass -p password ssh -t name@server.cheese 'screen -R;...
0
votes
0answers
14 views

How to invoke any OSC escape sequence in GNU/screen? [duplicate]

I'm using rxvt (urxvt) terminal with gnu/screen and I experienced that some escape sequences does not get through screen. eg. I issue echo -e '\033]777;qwerty\007' on bare rxvt, it gets through, but ...

1
2 3 4 5
18