Questions tagged [gnu-screen]

GNU Screen is a software application that can be used to multiplex several virtual consoles.

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

310 questions
4
votes
2 answers

How to install screen-profiles on debian?

I have a debian server and want to use the nice screen extension "screen-profiles". I think this comes from Ubuntu. Is there a way to get it on debian and how? Thank you
plucked
  • 327
  • 1
  • 2
  • 9
4
votes
1 answer

How to automatically define functions and aliases on remote server after ssh login

I want to define bash functions and aliases in my remote shell automatically on login. I can't put the definitions into .profile or similar because the users I log in as are often shared with others who use the same systems and I don't have control…
Ramon
  • 657
  • 1
  • 6
  • 11
4
votes
1 answer

Is it possible to change GNU screen session name after created?

[This continues my previous question How do I know I'm running inside a linux "screen" or not? ] As title, can I? I tried screen -S mysess but it creates a new screen instead of changing the name of current screen. I also tried screen -X…
Jimm Chen
  • 1,749
  • 5
  • 18
  • 32
4
votes
1 answer

ssh agent authorization in a detached screen session

I have an ssh script which use ssh key forwarding on a remote system to do thing in even more remote systems. I have to run the script in a screen session so that I can detach from it. But the authorization that was granted to the remote system by…
geoaxis
  • 491
  • 1
  • 6
  • 18
4
votes
2 answers

screen -r spawning new prosses

I'm new to screen and I'm trying to figure out how to detach from a session and reattach later. So far I've tried: $screen C-a z (within screen to detach) $screen -r So far so good but when I C-a z to detach again, I see 2 screen processes…
spinlock
  • 183
  • 5
4
votes
2 answers

Why can't I attach a screen session

I've got a screen session running which I would like to :quit, but I can't because when I try to re-attach, I get an error saying it can't open my terminal. I'm sure I could kill the daemon or something, but I need to learn the "right" way, as well…
Daniel B.
  • 725
  • 7
  • 16
4
votes
2 answers

screen not dropping down a line?

Minor annoyance with the Screen linux utility; when connected to a Linux (Fedora) box from my Mac (using Terminal), when I'm writing out a long command, usually when the text reaches the edge of the terminal window, the cursor drops down a line and…
4
votes
1 answer

Screen -X exec commands not working until manually attached

I have a batch script that starts a java server application inside of a screen. The command looks like this: cd /dir/ && screen -A -m -d -S javascreen java -Xms640M -Xmx1024M -jar javaserverapp.jar nogui After I run the batch script, it starts the…
James Watt
  • 213
  • 1
  • 4
  • 11
4
votes
7 answers

I have a perl script that is supposed to run indefinitely. It's being killed... how do I determine who or what kills it?

I run the perl script in screen (I can log in and check debug output). Nothing in the logic of the script should be capable of killing it quite this dead. I'm one of only two people with access to the server, and the other guy swears that it isn't…
John O
  • 283
  • 3
  • 15
4
votes
6 answers

What are the benefits of using screen?

man screen: Screen is a full-screen window manager that multiplexes a physical ter‐ minal between several processes (typically interactive shells). Each virtual terminal provides the functions of a DEC VT100 terminal and, in addition,…
meder omuraliev
  • 1,721
  • 3
  • 21
  • 30
4
votes
2 answers

screen / autossh question: easiest way to transparently integrate screen into my ssh?

I'm a bit new to screen and autossh: I'm simply looking to "fully automate" my ssh sessions, make them implicitly persistent, and have them automatically restore should my connection drop. I've tried using screen directly, but find some of its…
nobody
4
votes
2 answers

How to automate starting a multiuser screen session with adding acl to another user?

I often start a screen session, issue a ":multiuser on" command and then ":acladd someuser". Is there some way to get with a single shell command a screen session to start with these two commands automatically? Thanks!
GJ.
  • 529
  • 1
  • 7
  • 21
3
votes
3 answers

GNU screen configuration for optimal keycode recognition

Currently GNU screen will botch up certain keystrokes, for example CTRL pressed in combination with the arrow keys, so that eg when in vim insert mode, CTRL-PGUp will Uppercase the next/current word (or something like that). I'd like for it to work…
intuited
  • 415
  • 1
  • 5
  • 12
3
votes
1 answer

Owner of screen session

When I logged in a server and issue a 'screen -list' commands it gives the following result - 31917.pts-5.office (Detached) 31844.pts-0.office (Detached) But it is sometimes important to know who has start the screen session - eg.- as…
Razib
  • 175
  • 6
3
votes
2 answers

screen -R not working with ssh

I have a linux box in the office I want to ssh into from my Macbook at home. I can’t reach the box directly on port 22, but I have a port tunnel nailed up between localhost:23001 and port 22 on the remote linux box. This works for a regular ssh…
Roy Smith
  • 493
  • 1
  • 5
  • 6