thanks to my friend Gabriella Davis for the heads up on this awesome linux tool
I was having issues with the Sametime TURN server timing out due to my linux session dying or timing out and Gab suggested to look up the screen command.
It is a simple yet affective tool which is implemented usually by default on a linux server that allows you to reconnect to a screen initiated session
you simply enter the command screen from your linux servers command line – the remote session may look like nothing has happened but you are now connected via screen.
carry on as you would normally – if you are disconnected or timed out – log back on the remote linux machine and enter the command screen -ls
[root@myserver bin]# screen -ls
There is a screen on:
1 Socket in /var/run/screen/S-root.
to reconnect the session enter the command
screen -r session info
screen -r 25755.pts-0.myserver
and you are reconnected
if you want to exit the screen session type exit and you will see [screen is terminating]
Excellent little tool .. thanks again Gabriella for the heads up on this 🙂
3 Replies to “Screen for linux how did I not know about this”
Screen rocks. It’s really good for long running stuff. I THINK but I’m not sure that Daniel nashed’s linux startup script for domino uses it was well.
There’s a decent tutorial here I think: http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to
also there’s another linux program I’ve NOT figured out yet but have heard about. TMUX. My impression is this is like screen on steroids where you can get multiple virtual screens going on 1 physical screen at the same time. Kinda like windows for the linux console I guess.
Neat tip, thanks Sharon!
PS. Great to see you back blogging!
Thanks for sharing Sharon…