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

learn more… | top users | synonyms

3
votes
1answer
44 views

screen in screen, detach only last one

I have strange issue on my hands. I have opened (GNU) screen for one serial console and in that same console I have opened another screen to another serial console. It was working but I am now ...
0
votes
1answer
21 views

Starting a detached screen has no effect

I want to start a shell script in detached mode on ubuntu bootup (via cronjob @reboot) but it doesn't even work when I try it directly. Syntax: screen -d -m -S myscreenname /path/to/my/script.sh ...
2
votes
1answer
38 views

Is it possible to set a max amount of screens that can be running at once?

I'd like to know is it possible to set a max amount of screens that could be running at once on screenrc? Thanks
1
vote
1answer
39 views

Whic Command I Runnning Inside a 'screen'?

I have logged in in a server.Then issued the "screen -list" command which gives the following output - There is a screen on: 11048.pts-0.devops (Detached) 27563.pst-0.devops (Detached) 1 ...
-6
votes
1answer
73 views

execute script at particular time in amazon ec2 linux [closed]

I am newbi in amazon ec2 as well as linux, I am working on pentaho kettle, for starting my job process i m using following command in amazon ec2 instance, cd /dev/pdi/data-integration (reaching to ...
0
votes
1answer
83 views

GNU screen 4.2.1 in xterm: hardstatus in window title disappears

The only 2 lines in my ~/.screenrc are: termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' hardstatus string "%h [screen %n%?: %t%?]" In GNU screen version 4.0.3 that I used previously, ...
0
votes
2answers
32 views

how to create a screen session within an existing screen session

Case scenario: When I open my terminal, screen starts automatically. This is useful because I often need multiple screens locally within the same terminal. However, if I connect via SSH to a server ...
3
votes
1answer
242 views

Cygwin Screen and SSH: Utmp slot not found -> not removed

When I use screen on my computer and detach, I am taken back to the command prompt and everything is fine. However, if I SSH into my computer remotely and use screen, when I try to detach I get the ...
0
votes
0answers
34 views

Script for creating a session with multiple tabs

I am new to screen utility in CentOS, I've seen this utility being used by OpenStack for logging different services. I am trying to imitate same with my custom script, but I'm unable to :( I've to ...
0
votes
1answer
87 views

How to use screen with mysql import

I need to import a very large MySQL table on remote server. Usually I'm using mysql -u mysql_user -pMypass db_name < sql_data.sql But it takes about 5 hours to complete the task. I tried using ...
1
vote
1answer
311 views

Start Unix screen, Run command, Detach

How can screen be used to start a new session and run a command within that session without killing that session? screen -S myScreenName runSomething I tried the above command and it says [screen ...
0
votes
1answer
56 views

sudo su in screen — security issue?

Just logged back into a server and reconnected to an existing screen using screen -R. I had completely forgotten that I'd used sudo su - earlier and had not exited afterwards, so when I reconnected ...
1
vote
1answer
51 views

Byobu - How to disconnect from lxc-console

I am inside Byobu on ubuntu 12.04 and entered an lxc-console. Unfortunately, the escape sequence for lxc appears to be cntrl-a q. However this clashes with Byobu's which also uses cntrl-a sequence. I ...
0
votes
1answer
20 views

Unable to send command to newly created screen?

screen -dmS SIEGE_01 sleep 1 screen -S SIEGE_01 -X stuff "cd /home/ss12036/ImpulseNetwork/Servers/SIEGE_01/"`echo -ne '\015'` sleep 1 screen -S SIEGE_01 -X stuff "sh Start.sh"`echo -ne '\015'` ...
0
votes
2answers
61 views

Cronjob screen PHP does not executed [duplicate]

If I execute the following in the terminal it works: screen -dmS tt-rss-daemon sudo -u www-data /usr/bin/php /usr/share/nginx/www/tt-rss/update.php --feeds --daemon If I write the following in a ...
-4
votes
4answers
57 views

linux - screen command - how to kill a screen?

I'm using screen on my home server. I start it by issuing screen -dmS [name] Then, when I've connected I can Ctrl+A, n to jump between screens and Ctrl+A, c to create new ones... How, however, I ...
9
votes
2answers
289 views

Cannot reattach to a screen session after SSH connection was dropped

I have previously reattached to a long-running screen session with screen -dr control. However, sometimes this command will not reattach to the screen and instead hang forever (10+ minutes after which ...
0
votes
3answers
102 views

Linux: Connect to another a terminal session

I can use screen or tmux to connect to other terminal sessions, or to share them. But this work only when we first know we will use them. As root can access everything, is there a way to do the same ...
-1
votes
1answer
57 views

Gnu Screen: How to specify a .screenrc file on startup? [closed]

Is there a way to launch Screen with a specific .screenrc file, instead of the one in my home directory?
0
votes
1answer
36 views

Ubuntu - Abnormal behavior on “screen” command [closed]

I'm trying to send to the background "bitcoind". $ screen bitcoind -daemon & [1] 5289 Then I query for this process PID and the PID have changed $ ps -ef | grep bitcoin someuser 4003 1 ...
4
votes
1answer
385 views

nohup vs screen vs ? for manually starting daemon processes

When I need to start a background process on a low-importance server, I tend to use nohup: nohup ./server.sh & Most colleagues seem to prefer screen: screen -D -R mydaemon ./mydaemon.sh ^A ^D ...
1
vote
0answers
69 views

Exiting copy / scrollback mode upon detach in byobu / screen

I've discovered that if I go into "copy mode" or "scrollback mode" in a byobu screen, detach from it and leave it running, the buffer will fill up and eventually block the process I'm running in the ...
0
votes
2answers
225 views

Clean up orphaned screen sessions for defunct users

I've run into the problem where I have users logging in to servers under customer accounts, opening a screen session as that user, and then never closing it. Ordinarily this wouldn't be much of a ...
0
votes
0answers
29 views

File Screening Templates - Large Images

I've got a Windows Server 2008 R2 which works as a File Server and will replace the current production file servers. In the past my company experienced a lot of troubles with data, due the users not ...
1
vote
2answers
40 views

How to specify different screen session name during ssh

I have multiple screen sessions running on one of my server (say session_read, session_prod..) Currently I specify the screen session after I have sshed into my server. Is there a way to specify the ...
0
votes
1answer
107 views

Open screen process in terminal from script [closed]

I have a minecraft server running in screen, and right now, it is just a script that starts java like so: screen -dmS mc java -Xincgc -Xms1024M -jar craftbukkit-1.6.4-b2882.jar Basically this just ...
1
vote
1answer
74 views

SCREEN: Permissions and security

I was just looking for some clarification on the screen command and permissions: I ran this command to allow the user to view their detached screen. Otherwise the user could not view their detached ...
-4
votes
1answer
77 views

Rackable 2U LCD Personalization

So I have several of these machines, however rather than physically labeling them (which I'd rather not do because there is really no place to do it, I would like to have the computer name displayed ...
2
votes
2answers
109 views

Linux - show screen logs on multiple screens?

I have a problem with screen. Basically I want it to make one log per screen, for example screen #1 will be screenlog.1 & screen #2 will be screenlog.2 - you get the memo. Anyhow, what happens is ...
0
votes
1answer
113 views

Can I make gnu screen display a message to a user when they attach to a screen session

I was wondering if there is a way to make screen display a message to a user when they attach to a screen session? For instance, if it is preferred that a user does not use a shared screen session for ...
1
vote
1answer
75 views

krenew command not working : Permission Denied

I am using a Linux server to perform my simulations. The login and the file-system of the server are protected using kerberos. The file-system is supported using NFS. Since my simulations take a lot ...
0
votes
1answer
75 views

Auto-restart “screen” script not working

I'm looking over a script that would actually be restarting game-servers in case they crash. The game-servers are actually started in a screen session through a control panel. They have to be ...
0
votes
2answers
858 views

Ubuntu Crontab or init script startup [duplicate]

What am I doing wrong here with cron on boot? Example: To launch manually: screen -S example ./script.sh To recover manually: screen -x example now, I just try to do the same thing (well, the ...
1
vote
2answers
388 views

Remote synchronous-then-asynchronous execution with SSH

TL;DR I want to remotely execute a script that begins synchronously (so that the local ssh command fails if the preparatory commands fail) and then goes asynchronous, thus terminating the local ssh ...
-3
votes
1answer
96 views

GNU screen, tmux, dvtm - none are working as ordinary user on OVH VPS [closed]

I bought cheapest vps for teamspeak hosting and I have strange issues with demonizing it's process. None of screen tmux and dvtm work for ordinary user, but they work witout a charm for root. As far ...
0
votes
2answers
98 views

Screen command in shell scripting

I am a newbie in shell scripting and want to use the screen command to automate the below scenario: Create a screen session1 and execute a shell script1 create another screen session2 and execute ...
0
votes
2answers
60 views

Quitting Screens With Same Name With SSH [duplicate]

I have a server, with a few screens started. This is what shows when I use screen -ls: There are screens on: 12811.screen (Detached) 2061.screen (Detached) 7055.screen (Detached) ...
1
vote
2answers
99 views

Close/Quit All Screens with SSH

I have a lot of screens on my server. With screen -ls I get: There are screens on: 12858.test1 (Detached) 28210.test2 (Detached) 12494.moretesting3 (Detached) 31787.testingfour4 ...
0
votes
0answers
197 views

Problems running screen without root permissions

I'm running Ubuntu 11.10 on a VPS and have problems running screen for non root users. Screen is working fine with root though. When I run it as root and hit "tty" I receive the following output: ...
1
vote
1answer
179 views

Is there a way to reattach screen session that has no named pipe in /tmp/uscreens/…?

I was having difficulty reattaching to a screen session, so I tried to kill the client screen session and reattach to the server session. This failed. Then I did something kinda stupid. I did a ...
0
votes
1answer
235 views

screen, expect and scripted detached interaction

Trying to write a bash script which will open a screen, start a python application, and interact with the python interaction as required when it is first started. If not possible in screen, I would ...
-5
votes
1answer
56 views

Fix thise Code (Debian Screen output) [closed]

This shell script dosent give me any output: GID="gmod01" PID= screen -list | grep $GID | cut -f1 -d'.' | sed 's/\W//g' echo $PID Echo PID is empty, how can i fix this? I get 12055 out but it ...
0
votes
1answer
218 views

Can't redirect STDERR or STDOUT to file

I have application written in Go language and it runs in screen (I do not think problem relates to Go language. I believe it uses STDOUT and STDERR) screen -S log_server -d -m go run log_server.go 2 ...
0
votes
2answers
96 views

Is there a way to watch all screens output in a single place?

having about 12 screens running long processes, I am willing to check out the state from time to time. I would like to "tail -f " them all in a single console window so I don't have to switch between ...
0
votes
3answers
320 views

How to watch other console without notification?

I want to see what is freelance admin doing to my server. But all solutions i have found - screen, conspy, vnc does't met my needs. Conspy is great but i have to ask free-lancer to run it first to ...
1
vote
1answer
32 views

Can I get the command history in a screen while something is running in it?

I've got a screen with a critical process running in it. I can't kill it, but I need to know the command that was used to start it. Can anyone offer a solution?
2
votes
1answer
1k views

GNU screen: ‘Cannot open your terminal '/dev/pts/3' - please check’

There is daemon in my system, it runs inside of a screen instance and all that is done from an unpriveleged user. I’ve added myself to special sudo group allowing me to run screen from this user, but ...
0
votes
1answer
72 views

Get the session name of a parent gnu screen

I know that the current session name can be accessed with the $STY environment variable, is there a way to get the session name of the parent screen session in case of nested screens?
0
votes
1answer
103 views

Ubuntu 12.10 strange screen

I've installed Ubuntu 12.10 desktop as a virtual machine on my VMware ESXi server. And i have no idea why the screen looks like this. And i can't find anything by googeling. Anyone?
0
votes
1answer
151 views

Crontab start a screen

I started a screen by shell script in crontab, when I entered the screen, the left side became "sh-4.1#". While I runed the script directly, it was nomal with "[root@localhost data]". What happened? ...