Questions tagged [gnu-screen]

screen (GNU Screen) is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
35 views

switch back to gnu grub os selector thing

After installing Lubuntu alongside Kubuntu and windows 7, the boot screen where you select the operating system is not GNU GRUB anymore and I'm used to gnu grub and now its this Lubuntu boot screen. ...
con tur's user avatar
0 votes
1 answer
142 views

ubuntu 20.04 Desktop: screen terminates after logoff

afair $ screen -v Screen version 4.08.00 (GNU) 05-Feb-20 is method to run commands continuously after logout. But on my 20.04 this doesn't work. user@laptop:$ ssh user@machine user@machine:$ ...
maniac_on_moon's user avatar
0 votes
0 answers
21 views

How can i resolve GNU GRUB version 2.06 starting error [duplicate]

My lenovo laptop didn't open after trying restarting. Am not well enough to use laptop, so i know nothing about it. So anyone know about it please help me to resolve the problem enter image ...
bibin crz's user avatar
0 votes
0 answers
206 views

How to fix screen glitching when trying to "try or install ubuntu" in grub?

Screen glitch: I have an old lenovo g450 laptop. I am trying to install ubuntu in it using a bootable usb drive. There is no windows in it. I entered grub and clicked "try or install ubuntu"...
Jayjones's user avatar
1 vote
1 answer
279 views

Running a command inside a gnu screen from a bash script

I'm currently trying to run a command in a detached gnu screen from bash, but simply using screen -r myscreen mycommand doesn't work. Detaching from the screen after executing the command isn't ...
theSlender's user avatar
1 vote
1 answer
1k views

Linux says the screen is dead but it doesn't close it

I'm trying to learn how to work with "screen" tool. I have 2 additional screens. ixnomad@NomadMachine:~$ screen -ls There are screens on: 1037111.SYS_INFO (06/03/22 17:09:38) ...
George Glebov's user avatar
0 votes
1 answer
3k views

How to run java command inside bash script in specific directory

So, I host multiple Minecraft servers on my Ubuntu VM and I've setup a script to start all of them at once. The servers are running in screen sessions and basically what the script does is send the ...
Chickblock2's user avatar
-1 votes
1 answer
130 views

How to fix screen resume or list commands on Ubuntu system?

Screen or GNU Screen is a terminal multiplexer.See this for more information. Somehow the screen command has been messed up accessing a remote server. I'm still able to start a new screen (screen <&...
Barah Fazili's user avatar
0 votes
2 answers
1k views

How to create an sh script to run another sh script with Screen session or Tmux session

All I want is create a bash script that runs another bash script in a different folder, but with a detached screen session. Also it should be executed as non-root user. Here's what I've done: #!/bin/...
Alobar's user avatar
  • 3
0 votes
1 answer
846 views

How do I clear the GNU screen command screen?

Running "screen" for example with: screen /dev/ttyUSB0 115200 How do I clear the screen once in a while?
ianski's user avatar
  • 3
0 votes
1 answer
176 views

Keep the content of SSH sessions

Let's say I have this python script on my VPS: # test.py import time while True: print('tick...') time.sleep(10) If I log into my VPS using SSH and run this script, I can see tick... ...
nanuqcz's user avatar
  • 175
1 vote
0 answers
97 views

How can I keep screen session alive after LightDM restart?

When I start a screen session from terminal emulator (PTS), it vanishes after I restart LightDM (sudo service lightdm restart). However sessions started from TTY are preserved. How can I keep screen ...
abukaj's user avatar
  • 465
2 votes
1 answer
5k views

working minecraft server can't be started with systemd ("no screen session found")

I'm running ubuntu 20.04 server on a home server, and I have a self-hosted minecraft instance, located at /opt/minecraft/server, owned by the user minecraft. I can activate the server manually just ...
person's user avatar
  • 23
0 votes
1 answer
213 views

Communicating between a screen and a script

I would like to write a script that starts a process in a screen, letting it continue to run, but extracts a certain part of the output for use in the main process of the script. My first idea was to ...
linkhyrule5's user avatar
0 votes
1 answer
585 views

GNU GRUB fast boot on bios and can’t access bios now

OK so basically I have fast boot on and I went to Ubuntu Linux and I have a windows and operating system and now because I had fast boot on no USB port works now because this one is in the GNU GRUB ...
ProgramUnwanted's user avatar
0 votes
2 answers
361 views

GNU grub instead of grub 2

I recently uninstalled kali Linux from a triple boot laptop (othres being windows 10 and ubuntu 20.04) now instead of grub 2 which shows windows and ubuntu during booting all I can see is a GNU grub ...
Adithya Vikram's user avatar
0 votes
1 answer
2k views

How to get command result out of minecraft server screen session?

I'm running a minecraft server inside a screen session. I want to send a command to that screen session and get the command result back (and print it back). Can I do that without using the screen -L ...
Tim Kluge's user avatar
0 votes
1 answer
4k views

Detach from screen without Ctrl+a d in SSH

I'm running a set of processes using the screen command on my Ubuntu server. The idea is that the process should ideally not be cancelled or be under the risk of being cancelled by mistake I find ...
Thorvald's user avatar
  • 103
0 votes
1 answer
3k views

How do I set up a MC server to restart and backup at 6am every day?

So I have a mineraft server and I want to set it up so that it restarts at 6am and backs up itself too. I run the server in screen and to stop the server I have to open the screen (with screen -r) and ...
theReubenator's user avatar
0 votes
0 answers
16 views

Problems with the grub

Please bear with me, I'm new with this Ubuntu18.4 just installed it a month ago. It was working fine (a little slow but I just asume it id because its a 10 year old laptop). But now when I start it, ...
CAMGAMEZC's user avatar
3 votes
1 answer
1k views

Linux screen command not accepting keyboard input

I am trying to connect to a JTAG device using screen. I type the command sudo screen /dev/ttyUSB1 115200,cs8 I am able to see all of the output from the board, but I am unable to type anything into ...
Derek's user avatar
  • 153
0 votes
0 answers
140 views

Crontab doesn't seem to work

I run my minecraft server in a screen and I have a script set up to restart the server via crontab every night at 3 am. restart.sh: #!/bin/sh echo "Letting people know that the server is going to ...
ashleyjustjoined's user avatar
1 vote
1 answer
753 views

How to log serial data immediately?

I am currently working on an electronics project with a microcontroller that sends information over USB to a computer, where it is read from a serial port. I can read the data with screen and log it ...
BillThePlatypus's user avatar
1 vote
0 answers
387 views

Terminal line overwritten in a screen session

I have this problem while working on a screen session that the terminal line gets overwritten. If I detach from the screen session then I don't run into this problem. Here are some of the ...
Zoso's user avatar
  • 111
1 vote
1 answer
805 views

Is there a way to send commands to screened process?

I have a process, that automatically starts up with server using this command - screen -dmSL myserver sudo bash /myserver/start I can stop the process if I connect to the screen with screen -x ...
BestMordaEver's user avatar
0 votes
1 answer
1k views

Linux - Closing screen session terminates process

I am new to this so I apologize if I am using the wrong terms. I am using Linux and am connected to my school workstation using the ssh function. If I run a program and I close the terminal the ...
Kong's user avatar
  • 1,221
0 votes
0 answers
642 views

Linux screen tool - Run command on session created in cron

In crontab (edited via command crontab -e on me user), I have written: @reboot /usr/bin/screen -mdS test */6 * * * * /home/me/RunDFB.sh I'm using RunDFB.sh to check, is my console app (which is ...
KalikDev's user avatar
  • 402
0 votes
1 answer
1k views

Simple modifications of the default /etc/screenrc

One of the first thing I install on a new host is GNU-screen. The next thing right after that is to Google for the lines I need to edit in my ~/.screenrc to activate the hard-status line so I will see ...
Chen Levy's user avatar
  • 121
0 votes
1 answer
463 views

How do I clear the screen command history scroll-back?

How do I clear the screen command history scroll-back? For instance, delete this -> ctrl-a : at "#" stuff "something.dumb" I'm not talking about BASH history either. Things I have tried-> ...
ininn's user avatar
  • 21
0 votes
0 answers
698 views

How to reduce the border size of terminal

I am using screen to split terminal.But am not able to reduce the border size.
Terlin's user avatar
  • 1
0 votes
0 answers
565 views

Screen script doesn't work

I've created the following bash script, which restarts my parse server: pkill screen screen cd /datadrive/parse-server-example/ sudo npm start The thing is, it seems that the script doesn't execute ...
Sotiris Kaniras's user avatar
0 votes
0 answers
22 views

Run two commands in two "virtual consoles" in the same detached screen [duplicate]

I am running ubuntu 16.04 server. I'm basically making a script to do the following when the system boots: Open a new screen in detached mode Run a command in this screen Open a new "window / ...
jbwar22's user avatar
  • 113
1 vote
1 answer
193 views

Run second screen process after first screen process complete?

Is it possible to start a screen process, but let it wait for another running screen process to complete? Basically creating two screen processes like so: screen -S myfirstprocess screen -S ...
Socrates's user avatar
  • 2,473
0 votes
2 answers
177 views

Cannot log in alts in consoleclient

So I am on a minecraft server, I want alt-accounts afking via a console client. So instead of running this 35 times. screen -d -m mono MinecraftClient.exe (username) (password) (Server-IP) I came ...
Stan's user avatar
  • 17
0 votes
0 answers
69 views

Running "screen" in terminal VS running "screen" as keybind?

If I'm in a screen session and I run screen from the terminal, a new window opens up in the same directory as the previous window. However if I bind the screen command to a keybind, like this bindkey "...
Olian04's user avatar
  • 4,653
1 vote
1 answer
3k views

How do I split a terminal into two "views" (or two parts) so I don't have to scroll up / down?

Nginx log is being generated real time with watch -n 1 "tail -n 1000 nginx.log" I want it to appear on the right side of the terminal. How can I make 2 or 3 screens? I have a very wide screen (...
John Doe's user avatar
  • 111
-1 votes
1 answer
94 views

'screen' app & video output

I am using 'screen' app so that I can view a running process via SSH remotely, the PC with the process has lightdm disabled. If I switch on the monitor (from Dsub output) I see a command line like ...
JW8888's user avatar
  • 39
4 votes
1 answer
17k views

Start a screen session and run a script without attaching to it?

I'm trying to write a script to: Start a new screen session Run some program or script within that new screen session Detach from the screen session, while the program from step 2 may still be ...
RocketNuts's user avatar
17 votes
2 answers
10k views

How do I start screen with multiple splits directly from the command line?

I'm using screen after I have logged in with ssh to my server. As of now I set up the splits in my screen window by hand and run the commands by hand as shown in the following screen-shot: The top ...
Videonauth's user avatar
  • 33.3k
1 vote
1 answer
1k views

Terminate GNU Parallel in Screen Session letting jobs finish

I'm running a GNU Parallel command on a screen session. Unfortunately, I did not put an "&" at the end of the command to push it to the background. Hence I do not have access to the command line ...
Rmurphy's user avatar
  • 245
3 votes
2 answers
852 views

Detach from screen with C-z

I start screen like this $ screen I run tests in screen like this $ bundle exec rake. # takes ten minutes to complete Now I want to detach from screen, $ C-a d But I'm more used (muscle memory) ...
american-ninja-warrior's user avatar
1 vote
1 answer
5k views

How can I clear screen command history? [duplicate]

I'm using screen command after ssh to a public remote machine with Ubuntu 14.04 so that I could continue my sessions whenever I want. I've found that some admins are tracking my command history and ...
choosp's user avatar
  • 13
0 votes
0 answers
51 views

Screen command cuts off mouse at 95 columns

I'm using the 'screen' command for a persistent shell session. It seems to work pretty good, with a couple of caveats. Mouse clicks only register as 95 columns or less. The bottom line sometimes ...
jdmayfield's user avatar
0 votes
1 answer
642 views

Get linux 'screen' to recognize xterm mouse-click cols > 95

I have a Web-based terminal using xterm.js and ssh2 from node.js. When I click, xterm.js sends mouse-click coords via xterm escape sequences. This works fine. When using the 'screen' cli utility, ...
jdmayfield's user avatar
0 votes
1 answer
217 views

How to log into running terminal/shell with ssh

so I am running a Minecraft server currently, and I'm logging into my server (Ubuntu Server, 16.04 on HP Proliant dl580 G5) through ssh. the only problem I've run into is that when my connection is ...
Matanya's user avatar
  • 362
0 votes
2 answers
862 views

Screen session used to run python PFA on server dies after a few days

I am running a python based PFA script which basically writes spreadsheets after every hour. It is working well. I use SSH on Putty to access my server and hence I used a screen session to run the ...
Sanved's user avatar
  • 53
0 votes
1 answer
1k views

Segmentation fault on Ubuntu 16.04

I have a problem using screen command on Ubuntu 16.04. I am working on a C++ project, and using servers with Ubuntu to simulate my code. Segmentation faults started to appear after updating from ...
R.Kl's user avatar
  • 3
3 votes
0 answers
2k views

What is wrong with my Systemd service file?

I've been trying to get a systemd service to work for a while now, but with no luck. What I am trying to do is create a startup script that will start a java program for a modded-Minecraft server. ...
brdagr's user avatar
  • 31
1 vote
1 answer
684 views

How can l resume a detached screen after switching off my laptop?

I want to launch a program on a remote server (Amazon AWS), but the calculation takes about 50h. So I would like to launch my program, switch off my computer then come back to see the results once ...
vincent75's user avatar
  • 163
0 votes
1 answer
666 views

emacs + screen not properly handling keys

I'm sshing to an ubuntu server: cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04" I run screen, and then emacs. $ screen --...
adrin's user avatar
  • 105