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
1
vote
0answers
14 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 ...
-1
votes
0answers
30 views

screen throws getpwuid error in chroot

I set up a chroot and put these binaries in /bin: bash, cat, date, java, ls, mkdir, nano, rmdir, screen When I try to run screen in the chroot it gives the error getpwuid() can't identify your ...
-1
votes
0answers
34 views

kali linux goes black after selecting install or graphical install from usb

I have a Lenovo Thinkpad T60 and this will be the only operating OS installed. The hard drive light shows no activity other than an initial quick flash. It is not a hard drive issue. I tried several. ...
0
votes
0answers
10 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
22 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
18 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
23 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 ...
0
votes
1answer
40 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
50 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
21 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
16 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
79 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
23 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
16 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
22 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
42 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
49 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
19 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
56 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
265 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
10 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
59 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. ...
0
votes
1answer
47 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
29 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
22 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
33 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
48 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
100 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
14 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
24 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
41 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
114 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 &...
2
votes
3answers
405 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/...
0
votes
1answer
3k 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
146 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
25 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 ...
0
votes
1answer
26 views

GNU screen: move window to other region

Say I have created two windows and only then created a second region. How do I move one of the windows (which are both part of the first region) to the second region? Well actually I just wanted both ...
0
votes
0answers
8 views

GNU Screen: How could I show all active session names on the bottom bar?

This is my GNU Screen config for the status bar: $ cat ~/.screenrc # 2.2) hardstatus = navigation bar @ bottom hardstatus alwayslastline "RouterBoard - %H: %1` | %-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%&...
0
votes
0answers
53 views

GNU Screen ssh session timeout

I'm using GNU screen under Centos to SSH to devices. I'm experiencing an issue where the device (firewall) has a hard timeout for ssh session for 8 hours, so if there is no interaction with it, ssh ...
1
vote
2answers
54 views

screen session loses contact to AFS file system

Our $HOME file system is an openAFS system. I log on to my desktop machine from my laptop at home and want to run a long job. Thus to protect it from a broken session, I open up screen -S ...
0
votes
2answers
143 views

Raspberry pi autorun with cron not working

I have tried a few different solutions, but non of them worked. I have mounted a USB-storage-device on my Raspberry Pi 4, 4gb in the USB3 port. The mount directory is /media/usbstick/. In this ...

1
2 3 4 5
18