Linked by Thom Holwerda on Thu 30th Aug 2012 23:11 UTC, submitted by MOS6510
Linux "You are logged into your remote server via SSH and happily plucking along at your keyboard and then it happens. Suddenly, the characters stop moving and then you get the dreaded 'Connection Closed' message. You have just lost your session. You were halfway through some task and now you have to start over. Ugh. Well you can prevent this from happening by using screen. The Linux screen tool can not only save you from disconnection disasters, but it also can increase your productivity by using multiple windows within one SSH session. I use this tool all of the time in our server management work." An older tutorial, and even though I have little to no knowledge about screen, I know one thing: lots of people swear by it.
Thread beginning with comment 533437
To read all comments associated with this story, please click here.
Comment by OSbunny
by OSbunny on Fri 31st Aug 2012 12:21 UTC
OSbunny
Member since:
2009-05-23

Isn't screen obsolete now that we have GUIs everywhere? It's much easier to just open a new tab in Konsole (or your favourite terminal app) and make another SSH connection. If you are using Windows you just open up another putty window.

Reply Score: 0

RE: Comment by OSbunny
by ssokolow on Fri 31st Aug 2012 12:46 in reply to "Comment by OSbunny"
ssokolow Member since:
2010-01-21

Isn't screen obsolete now that we have GUIs everywhere? It's much easier to just open a new tab in Konsole (or your favourite terminal app) and make another SSH connection. If you are using Windows you just open up another putty window.


Aside from terminals not having support for detaching and re-attaching sessions the way screen and tmux do, my responsive, lightweight terminals of choice (uxterm and urxvt) don't always do tabs.

(urxvt does, but it's basically a Perl script that does textual tabs in a manner inferior to screen or tmux)

Also, terminal tabs are less than ideal if you have to open a new SSH connection every time you Ctrl+Shift+T rather than just running screen on the remote system and doing Ctrl+a c.

Reply Parent Score: 4

RE: Comment by OSbunny
by Soulbender on Fri 31st Aug 2012 14:56 in reply to "Comment by OSbunny"
Soulbender Member since:
2005-08-18

Isn't screen obsolete now that we have GUIs everywhere?


No.

It's much easier to just open a new tab in Konsole (or your favourite terminal app) and make another SSH connection.


Pressing Ctrl-b+c is a lot quicker and easier than opening a new tab and making a new connection. Not to mention that the screen/tmux session survives disconnects.

Reply Parent Score: 5

RE: Comment by OSbunny
by gilboa on Sun 2nd Sep 2012 16:29 in reply to "Comment by OSbunny"
gilboa Member since:
2005-07-06

Say you run apt/yum from command line, using a konsole tab or putty and suddenly, gasp, you lose connection / your X session dies / SSH dies, etc. Recovery, if possible, will be -very- painful.

I never, never, never, never run anything destructive from a normal command prompt - I always use screen.

- Gilboa

Reply Parent Score: 2