Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gnu-screen]

GNU Screen is a command line utility which allows the user to create multiple shell sessions on one connection. These sessions are decoupled from the primary connection and so maintain state for the user, even if the connection is dropped.

0
votes
0answers
21 views

What baud rate should I set when using screen tty for bluetooth?

I'm trying to do screen tty.Bluetooth-Incoming-Port 9600 on my mac, but I'm not sure about my baud rate. How can I determine this? It's just giving me a "Cannot open line" error.
1
vote
0answers
21 views

How to cancel a Ctrl-A in screen

Sometimes when I'm using my screen session I prematurely type Ctrl-A and then decide I want to remain in the current window and type something in the terminal, but anything I type next will be ...
0
votes
0answers
15 views

Remap GNU screen Ctrl-A to Alt

I see here that it's possible to remap the screen hotkey to Ctrl-anything, but I was wondering if it's possible to remap it to a hotkey involving alt. I've tried writing alt into my screenrc file but ...
0
votes
0answers
10 views

Always open new windows at end of list in GNU Screen

Is it possible to have GNU Screen alway open new windows at the position at the end of the current open set? For example, if I have currently have three windows open, 0, 1, and 2, then I exit or ...
0
votes
0answers
29 views

How to save `gnu screen` layout while detached

How to save the layout of a screen session, while inside the session, is well described elsewhere: ctrl+a, followed by : and the command layout dump [filename] or, screen -X layout dump [filename] ...
0
votes
1answer
34 views

How to display images in hterm + screen

I am using the SSH extension on CrOS to connect to another machine. I would like to use the hterm-show-file script to display images directly in the terminal. This works fine in a normal shell, but ...
0
votes
1answer
48 views

user dissapered after connection to GNU Screen

After the user logged in and before he ran the GNU Screen, [root@15inch ~]# w 11:45:17 up 3:44, 2 users, load average: 0,00, 0,02, 0,00 USER TTY LOGIN@ IDLE JCPU PCPU WHAT user ...
0
votes
0answers
11 views

Are the commands in the detached GNU Screen slower?

Sometimes, I use GNU Screen program to execute some long copying task with rsync. However I notice it takes so much time. I would like to know if commands inside GNU screen are slower than "normal" ...
0
votes
0answers
29 views

Why GNU Screen doesn't work on Mac OS?

When I connect to my account via ssh like this ssh user@local_ip and then execute screen nothing happened just empty line. But if I use su - user after connect via ssh it works and I. can see GNU ...
0
votes
0answers
52 views

GNU Screen utility on Mac OS

I've often used the screen utility. When I wrote screen command into the terminal, I saw a welcome page. But now I can't see that message, just nothing happened. I can only close by pressing "Ctrl+Z"....
0
votes
0answers
112 views

Remote screen command through ssh, unable to see active sessions

Let's say i'm running a comand using: ssh user@ip screen -dm cat file or a command like: ssh user@ip screen -dm -S sessionname cat file Why, in both cases I can't see active screen sessions and so, ...
0
votes
1answer
42 views

Use .bashrc in a detached screen

So, I've got a bunch of export ... environment variable lines in my .bashrc, and I would like to call some programs (specifically Jupyter notebook) that need access from those notebooks from screen, ...
0
votes
0answers
22 views

Cannot override Screen escape key from command line

I want to create a screen-inside-a-screen setup in order to pair program with a colleague. So my plan is: Outer screen session - control character ^B Command: screen -S outer -e ^Bb Inner screen ...
1
vote
1answer
171 views

Set terminal width in screen using PuTTY connection

I'm connecting from PuTTY on a Windows box to a RHEL server. I like to do my work in screen, and I like a terminal window that's wider than 80 characters. I have my PuTTY terminal set to be 120 ...
0
votes
0answers
122 views

unset PROMPT_COMMAND with screen

Recently, for seemingly no reason, I've been getting the same issue as this thread: bash how to remove "__bp_precmd_invoke_cmd" error? However it only happens when I enter a screen session....
1
vote
1answer
54 views

GNU screen won't send control character from config file but will when set manually

My .screenrc has the following line: escape ^Jj However, I can't manage to send a literal ^J in a screen session based on this! Version: Screen version 4.06.02 (GNU) 23-Oct-17 Host: Debian-based ...
0
votes
0answers
56 views

Linux Login to a website via wget or curl AND display it on a external monitor via chromium-browser

currently I'm trying to write a script but I'm facing multiple problems... I want to login to a website from my Ubuntu 16.04.4 LTS server and than display it on a seperate monitor via the program "...
0
votes
1answer
91 views

What single command in screen, can show a preview of all currently active windows?

Am actively using screen, but wonder, as I've not seen anywhere, hint of a single command to do the above. Can anyone else using screen here, suggest something? Am thinking of a feature similar to ...
4
votes
3answers
2k views

How to detach ssh session without killing a running process?

I started a test filesystem resize on a server through ssh, but totally forgot to do that on a screen session. Now it is running, and my laptop has very slow internet. Is there any way that I can keep ...
1
vote
1answer
46 views

What should i do if i want to run C-a " upon starting screen?

I'm currently starting screen as part of my .bashrc, but i want the first thing that shows up to be the same thing as when you run C-a " when screen is already running. I know i could run screen -ls ...
0
votes
2answers
38 views

Watch (rotating) log in screen

I'm running a mailserver which I connect to using SSH. My .bash_profile is configured to attatch a SSH session to a certain screen session. Now I'd like to have a log (e.g. the syslog) printed to one ...
0
votes
0answers
120 views

Copy text from GNU screen to clipboad running from Putty

I have a Windows 10 on my Laptop. I use Putty for login a remote Linux machine. I am using GNU Screen installed on Linux to hold my work progress, which is helping me a lot. I faced problem when I ...
0
votes
2answers
98 views

ssh + screen : how to ?

I am trying to launch a software through ssh : I can do : ssh -t user@xx.xx.xx.xx screen -S datanode -d -m ~/hadoop/bin/hdfs datanode But ssh -t user@xx.xx.xx.xx screen -S datanode -d -m ~/...
1
vote
1answer
81 views

How to detach instead of terminate a GNU Screen session inside xterm when pressing C-c?

On X startup the following is ran automatically: xterm -e screen -rS app1 This opens up an xterm session and attaches the screen of app1, which was already running in a detached state. What I'd ...
3
votes
1answer
1k views

Systemd service - Python script inside Screen on boot

Im currently running a python script inside a Screen session through this script in rc.local: screen -L -dmS pi python /home/pi/truck/main2.py & But I would like it to run through systemd so I ...
0
votes
0answers
73 views

GNU Screen + Putty + Windows 10 constantly gets glitchy

I'm using Putty on Windows 10 to connect to a Linux machine and attaching to a GNU Screen session. Using all the same settings (exactly) on Windows 7 worked without any issues, but on Windows 10, I ...
0
votes
1answer
630 views

Why does Ctrl-C terminates screen when ran in detached mode?

If I use Ctrl-C in a screen I ran the "normal way" using screen -S screen_name, it behaves as expected meaning it will interrupt whatever command the screen is running but won't terminate the screen ...
0
votes
0answers
56 views

screen command called from within a script, within a “su -c” command creates files on root directory

I'm executing this script from user root in directory "/": su -c "sh /home/bob/start_server.sh" bob and "start_server.sh" contains screen -d -m -S serverscreen mono startserver.exe However all the ...
0
votes
1answer
1k views

How to detach from a screen session from within a tmux session?

How to detach from a screen session from within a tmux session? I've seen posts of how to detach from screen within screen and from tmux within tmux, but none of them worked for me.
0
votes
1answer
49 views

How to put screen in a sequence of commands?

Hello I'm trying to merge a group of commands in a single line using semicolon ; pkill screen ; screen ; cd directory ; sudo xx So basically what I'm trying to do is to kill all open screens then ...
0
votes
1answer
441 views

Where do I find the default baud rate for screen (on Mac)?

This command works fine: screen /dev/ttyS I don't need to set a specific baud rate. Do you know what the default baud rate is, or where I can find the default baud rate that is used?
0
votes
0answers
54 views

screen always clear screen upon exit - how to disable it

Seems that unlike less that can switch off clearing screen -- 'less' command clearing screen upon exit - how to switch it off? the screen always clear screen upon exit. That's very ...
1
vote
1answer
223 views

Running split command in GNU screen conflicts with split Unix utility

I am trying to run the command split from within GNU screen in order to create a new horizontal region. This command is instead interpreted as a call to the Unix split utility at /usr/bin/split for ...
2
votes
1answer
54 views

GNU screen starts a new session with root, but not with a normal user

So, my problem is simply that I can't get screen started on my user account. When I invoke it as superuser it works, under any circumstance, like a charm, but until now (that is, in the about last ...
1
vote
0answers
84 views

Fonts are different in vim under byobu compared to vim under screen and normal terminal

The font shows different in vim under normal bash and vim under byobu. Attached is a screenshot. This is the default byobu setting as soon as I do an apt install byobu. However, the font looks normal ...
1
vote
0answers
87 views

GNU screen sessions taking very high virtual memory

My GNU screens are taking up a lot of virtual memory. What could be the reason behind this? I have confirmed that none of them have more than 5 tabs in them. I noticed this when i got 'fork: Cannot ...
2
votes
1answer
257 views

Nesting byobu sessions

Is there a working solution for having a nested byobu, or byobu-screen sessions? It would need to have a way to specify different keybindings for the outer and the inner windows.
1
vote
0answers
331 views

How do I prevent all terminals crashing in Mac OS Sierra?

I usually have multiple terminal windows open, with most of them either ssh'ed into an Ubuntu session or running emacs. In one of the ssh sessions, I was reattaching a screen (the screen was running ...
0
votes
1answer
65 views

Create STD IN/OUT Buffer for a Program Running in a Screen Session

Environment Linux version 2.6 Screen version 4.03.01 I am running an application inside of a screen session. The program prints to STDOUT and reads from STDIN. What I would like to do: First, have ...
-1
votes
1answer
134 views

Line endings messed up in vim when using screen

When editing an file in vim it is displayed correctly unless I open vim inside a "screen" window (hope that "window" is the correct term here). The picture below shows what I mean: I used :set list ...
0
votes
1answer
140 views

Launch or reattach a split GNU-screen, with each pane running its own command?

I want to be able to launch a command, like ./stats.sh, to open a screen (Or tmux, or whatever else if need be) that is either reattached if it already exists - or launched if it doesn't, running say, ...
12
votes
4answers
6k views

Cannot make directory '/var/run/screen': Permission denied

Sometime, usually after a crash or sudden shutdown, screen refuses to start. Commands like screen screen -ls screen -r screen -d result in the following output Cannot make directory '/var/run/...
1
vote
0answers
618 views

Using android device as display for GNU screen

The idea is to attach my Android device as additional display to extend the workspace. So far I've tried VNC and Splashtop, but none of them is responsive enough to use daily. I figured, I could use ...
0
votes
0answers
73 views

How to synchronize multiple regions in GNU Screen?

How to synchronize multiple regions in GNU Screen so that whatever I do in one region is emulated to another region? Please check the image: It's the split screen mode on GNU Screen. I want to type ...
0
votes
0answers
164 views

VIM: visually selected text sometimes appears as underlined, not reversed

I am using vim under GNU screen via ssh on a remote machine. When I visually select text, the text normally appears as reversed (highlighted) to indicate that it is selected. However, after a while ...
0
votes
1answer
52 views

gnu screen: rename without erasing previous name?

On my workflow i always have a bunch of custom named screens. I use screen modified, e.g. Ctrl-a,Shift-a: to get to the rename mode. It will start with the previous name, and the cursor at the end. ...
1
vote
1answer
1k views

ssh, screen, run command and detach in one go?

I like to start a server (basically a jupiter-notebook) in a screen session within an SSH, let it run and then detach immediately. doing it one by one: ssh USER@HOST screen -d -m /home/USER/anaconda3/...
1
vote
1answer
149 views

msfconsole exiting when run within detached 'screen'

I'm trying to figure out why msfconsole is exiting when started from with a detached screen, but not when started from a non detached screen. Here are the steps: screen -d -m -S msf screen -S msf -p ...
0
votes
1answer
794 views

UART baudrate is configurable by `screen` but not by `stty`

I have a USB to serial adapter, based on CH340G chip. It is connected to a device which periodically sends a string at 9600 baud. However, I seem to be able to receive the data regardless of how I ...
1
vote
1answer
425 views

Mouse copy/paste in gnu screen stopped working

I'm working over ssh on a linux machine (RHEL 6.8) from MacOS (Yosemite) through iTerm2 (3.0.20161031-nightly). On the remote server, I work in screens (Screen version 4.00.03). Edit: everything ...