All Questions
Tagged with screen or gnu-screen
310 questions
0
votes
0
answers
89
views
running screen is slow when running using node's spawn
I'm running this command: screen -S server -X stuff $'\003' when I run it directly in bash it execute immediately. When I'm running it through node's spawn, it takes several seconds for the command to ...
0
votes
1
answer
288
views
Why is screen using lots of memory over time?
From time to time I find that a Digitalocean server gets slower, had low memory...
$ free -h
total used free shared buff/cache available
Mem: 985M ...
0
votes
1
answer
743
views
Custom systemd unit fails to start gnu screen and fork to background
I am trying to make systemd unit that starts a script inside GNU screen headlessly. I did base my work here on a couple of questions some had that were related. I also tested the ExecStart line in a ...
0
votes
1
answer
47
views
Screen inside Mac OS seems to go idle
We have Mac Mini with a classic Mac OS install (12) that runs a command every x minutes within a screen instance using a pipenv command that look like this.
[scripts]
some_pipenv_command="sh -c '...
1
vote
1
answer
946
views
Quitting screen without a prompt
I would like to exit my active screen session and kill (not detach) the session.
This is done with CTRL + a and then k, however screen then then prompts you "Really kill this window [y/n]" ...
0
votes
3
answers
3k
views
How to run Python venv script with screen in crontab
I have a sh script with the following content:
screen -mdS myscript /home/myscript/myscript_env/bin/python3 /home/myscript/bot.py
This script executes a python script and opens it in a new screen.
It ...
2
votes
1
answer
2k
views
Is the root user able to administer screen for other users?
We're trying to rewrite a draconian screen session killer for users who leave their screen sessions up for an inordinate amount of time and have in some way or other circumvented our session timeouts.
...
2
votes
0
answers
218
views
Stop gnu screen from asking for a password on screen -rd
Looks like GNU screen considers detach a lock request, and always locks when detached. How do I disable this? I trust all users (myself) on the box, and care little about the security implications.
0
votes
2
answers
997
views
Howto start and detach screen with user environment on startup?
I want to start screen and put a couple of programs running inside on startup. I've seen many similar posts but none answered my question.
so I put in rc.local following 2 lines:
screen -dmS scr ...
0
votes
1
answer
792
views
Cannot stop screen started with systemctl start [closed]
On ubuntu server 20.04
I created a service definition for a Minecraft server within a screen session like that
[Unit]
Description=Minecraft Server
After=network.target
[Service]
User=minecraft
Nice=...
0
votes
1
answer
247
views
Upgrading GNU screen in-place without restarting
I am looking into upgrading GNU screen following CVE-2021-26937. My question is simple: can I upgrade GNU screen without restarting my current screen, e.g., by a kind of in-place upgrade mechanism ...
1
vote
1
answer
2k
views
How to monitor stdout logs in an EC2 screen session?
I'm running a CLI on an EC2 server (Amazon Linux image), which I let run indefinitely with the screen terminal multiplexer. My program queries an API continuously and logs the current state to stdout:
...
1
vote
0
answers
2k
views
Keeping processes alive when closing SSH connection on MobaXTerm
I'm facing somme issue when trying to keep process alive when shutting down session in MobaXTerm.
I have a java process which should run on a linux server.
I am using two commands, nohup and screen.
...
0
votes
0
answers
232
views
Do not log colors to screen logfile?
Running an application inside screen to log all output including stacktraces not caught by the applications logging. Screen is however logging all formatting like ^[[58;1H^[[58;1H which results in ...
1
vote
2
answers
3k
views
screen inside systemd daemon on CentOS 8
So I want to run screen inside a systemd service so that I can give the process (inside the daemon) commands while it is running. See at the end of the question for examples of what I want be be able ...