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
1answer
12 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
15 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
13 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
30 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
49 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
40 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
31 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
15 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
12 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
25 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
19 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
24 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
27 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
47 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
135 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
22 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
18 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
80 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
24 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
24 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
60 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
68 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
25 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
57 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
483 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
11 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
100 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
68 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
35 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 ...
2
votes
0answers
24 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
36 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
51 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
148 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
34 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
17 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
31 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
51 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 ...
0
votes
2answers
163 views

How to see full terminal output using `screen`?

I'm using screen to leave processes running on a server through ssh. When I do screen -r, I do properly get back the terminal I left running previously, but I only see as much output as fits on my ...
0
votes
0answers
23 views

Expose Linux screen session via SSH

I have a box with multiple serial consoles attached, which are listed under /dev/ttyUSB*. I'm currently accessing these locally using screen. e.g. screen -c ~/.screenrc -m -d -S "USB0" -t &...
3
votes
3answers
773 views

How to control systemd service using screen?

I've set up a systemd service to run my Minecraft server. Now, I need it to repeat the start script when the server crashes. Here's my code so far: #!/bin/bash while true; do cd /home/mcserver/...
1
vote
1answer
5k views

How to scale the resolution/display of the desktop and/or applications?

While using Xorg X11, on KDE/Gnome/XFCE how can we scale the display/resolution for the whole desktop and/or per application? (when this is not available on the settings GUI) The purpose is to keep ...
1
vote
1answer
215 views

Is X DPI (dot per inch) setting just meant for text scaling?

On Linux the DPI (dot per inch) is set to 96 per default, it can be changed globally on the X start up parameter for instance X -dpi 120 This seem to mainly impact text/font scaling. In comparison ...
0
votes
0answers
16 views

How can I start the service file on the screen?

[Unit] Description=Gunicorn service After=network.target [Service] User=root Group=www-data WorkingDirectory=/root/flaskapp ExecStart=/usr/bin/screen -S gunicorn3 /usr/bin/gunicorn3 --workers 3 --...
0
votes
1answer
28 views

How to pause and resume Screen for specified time range (schedule)

I use linux screen command to execute a background script on my server. The script needs to run everyday but within a certain time range (7 am to 9 pm). As of now, I am manually exiting the screen (by ...
1
vote
1answer
23 views

R Version in screen different than expected

Invoking R in a new terminal session loads R version 4.0.0, but if I go into a screen and invoke R, version 3.4.3 is loaded. How can I set the version of R invoked in screen to always be the version ...

1
2 3 4 5
18