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
0
votes
0answers
9 views

Screen vs Putty behavior on Arduino program

I want to use my Arduino UNO in Debian so I installed an x64 Debian 8 VirtualBox VM into my host OS Windows 7 x64, then I plugged the Arduino, share the USB on VBox, connect from Debian by sudo screen ...
0
votes
1answer
26 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 ...
0
votes
0answers
9 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, ...
0
votes
0answers
39 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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
54 views

Attach root-user screen session as non-root user

I have a screen session that is started by root and I would like the non-root account (guest) be able to attach the root user's screen session in multi-user mode with screen -x. Is this possible? ...
0
votes
0answers
16 views

Log screen terminal multiplexer through python script

I am using the default Gnu Screen Multiplexer Currently I set a new path for the logfile with the command Ctrl + A Shift + : logfile path/to/logfile.loog and then do a Ctrl + A Shift + H to ...
1
vote
1answer
84 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 ...
1
vote
0answers
92 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 ...
1
vote
1answer
109 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 ...
0
votes
1answer
467 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 ...
0
votes
0answers
257 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 ...
0
votes
1answer
452 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 ...
0
votes
1answer
118 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-> ...
0
votes
0answers
321 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.
0
votes
0answers
135 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 ...
0
votes
0answers
18 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 / ...
1
vote
1answer
34 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 ...
0
votes
2answers
126 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 ...
0
votes
0answers
58 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 "...
0
votes
0answers
83 views

How to start gnu-screen from .profile without the disclaimer / welcome message

I added screen to my .profile, in order to always be able to restore a ssh session. This works great but for evey login I see the disclaimer / welcome message of gnu-screen and need to press the space ...
-1
votes
1answer
85 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 ...
1
vote
1answer
6k 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 ...
13
votes
2answers
5k 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 ...
1
vote
1answer
650 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 ...
3
votes
2answers
663 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) ...
1
vote
1answer
4k 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 ...
0
votes
0answers
37 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 ...
0
votes
1answer
300 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, ...
0
votes
1answer
143 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 ...
0
votes
0answers
345 views

Run a program with screen then detach [duplicate]

When server starts I want it to run these commands in order: cd /root/games/mb/mbnw1/ screen -d -m -S mbnw1 screen -r mbnw1 wineconsole --backend=curses mb_warband_dedicated.exe -r 57Antrenman.txt -...
0
votes
2answers
388 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 ...
0
votes
1answer
747 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 ...
3
votes
0answers
1k 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. ...
1
vote
1answer
344 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 ...
0
votes
1answer
365 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 --...
0
votes
0answers
152 views

How to increase “screen buffer” when connected to the machine via SSH?

TLDR: I want to see a lot more of my screen via scrolling back when the command/script (e.g. ls -la /etc) displays results that doesn't fit in 1 screen. If you check the screenshot below, it doesn't ...
1
vote
1answer
3k views

`watch`, `tail`, `grep` combination in `byobu`'s `windows.tmux`

I am (re)writing my windows.tmux for my frequently used byobu sessions. Below is my precise requirement: I would like to have a tab (or window?) with a root prompt. (On start, it waits for the sudo ...
0
votes
0answers
48 views

Latest modification of text files (in a path)

I am not an expert in this whole scripting stuff but I really need help creating the following bash file: The bash script should open a screen: screen -d -m /home/cs2d/cs2d_dedicated & The ...
10
votes
3answers
11k views

How to kill a byobu session?

byobu allows users to create multiple sessions. Once there are multiple sessions, how to kill an entire session? If there is a session foo with 3 windows and bar with 4 windows, to kill session foo, ...
1
vote
0answers
148 views

Is there a way to use a GNU-Screen in a portable-like way?

I have website on shared hosting, and I haven't (and never had) permission to install software here. Just full access to my /home/<username>/ folder. But before the hoster moved my sites to the ...
1
vote
0answers
61 views

Two generic versions in GNU grub

I'm new to Ubuntu . System seems to be crash. As I got black screen when I switch on laptop . I got two versions in advanced options for Ubuntu from GNU grub version 2.02beta Why I have two ? And Is ...
0
votes
0answers
27 views

Black window without login screen [duplicate]

I'm in this problem all the day searching for a solution . I'm new to Ubuntu . I'm using 14.04 . When I open the system I got black window. How can I solve this ? Google-talkplugin.list Google-...
0
votes
0answers
103 views

Gnu grub problem

I'm new to Ubuntu . I'm on Ubuntu 14.04 LTS .. I couldn't open the system as I got GNU GRUB version 2.02 window I couldn't copy what in the window beacuse I'm writing this post from my mobile . So if ...
2
votes
1answer
3k views

Auto-login user to TTY on boot, and then auto-run command within GNU screen

Ubuntu 14.04.5 LTS Desired functionality: Remote Ubuntu server boots and automatically starts an ongoing process as a specified user. I can then log in remotely at a later time and view the past and ...
2
votes
2answers
3k views

Will my screen process continue after i log out?

I opened a screen as root user by typing sudo su - and then screen. I then ran a command to start my Minecraft server. After that I detached the screen by pressing Ctrl-A and d. Will the process (my ...
1
vote
1answer
84 views

Sage notebook server error when not logged in to host

I have a Sage notebook server that runs in a screen session on Ubuntu Server 14.04 (32-bit). When I'm ssh'd to the machine, I can use my notebook in my browser as expected. If I'm not ssh'd to the ...
3
votes
1answer
10k views

Creating a shell script for use with 'screen'?

I have been working on creating a shell script for a while, browsing various forums including this one, and using all sorts of search terms with no luck. I hope I am not creating a duplicate question. ...
2
votes
2answers
2k views

Attach, Detach and Kill a process in Screen with a bash script

I know you can run a program in a detached screen, but I would log into an existing screen, kill the currently running process, restart it and then detach. Is it possible to do that with a bash ...
2
votes
1answer
2k views

Screen Shortcuts Not Working In Terminal

I have screen installed on my Ubuntu 16.04 server but when trying to press down on the keys "Ctrl + a + v" or any commands with "Ctrl+a" it doesn't bother to do anything when I am connected to the ...