Language Selection

English French German Italian Portuguese Spanish

Using screen for remote interaction

Filed under
HowTos

Recently I needed to do some distance education; one of my coworkers wanted me to show him how to do software builds on Linux. The only problem was that I'm on the East Coast and he is on the West. How could I show him the build and install process? After considering some alternatives, we found our solution in GNU Screen.

I considered using the standard Unix utility script to save a log of my typing. script has several problems, not the least of which is the horrible resulting output (script saves everything, including carriage returns and corrections). In addition, this would be completely non-interactive. If my coworker had a question or needed a clarification, we would have to correspond via email afterward. That would be a frustrating experience for both of us.

Another possible solution would be to use VNC. My coworker could connect to my display, and we could alternate control of the mouse and keyboard. That approach seemed like overkill, since what I wanted to demonstrate was purely command-line work. It would also be difficult to generate a log of a VNC session. Finally, technical limitations dictated that the only way he could connect to my machine for the demonstration was over a simple SSH connection, so this dictated a purely command-line solution.

Screen is one of those tools that is hard to explain but pure genius once you see it in operation. The description from its official Web site doesn't help much:

Full Story.

More in Tux Machines

NetworkManager 1.4 Adds Support for Setting IPv6 Tokenized Interface Identifiers

Today, August 24, 2016, Lubomir Rintel released the final build of the NetworkManager 1.4 open-source network connection manager software used by default in almost all GNU/Linux distributions. Read more

elementary Devs Need Your Help for a 4 Day elementary OS Hackathon in Paris

The elementary OS developers are currently working very hard on the next major release of the Ubuntu-based distro, elementary OS 0.4 "Loki", and they are planning on an elementary Hackfest event in Paris, France. Read more

LG V20 leak shows the Android phone is keeping its second screen

LG's V20 is set to debut on September 6th, but mobile leaker Evan Blass has already got his hands on a high-resolution image of the Android flagship and posted it to Twitter. The image shows off a rather bland-looking smartphone with an uncluttered home screen devoid of any duplicate apps and unnecessary bloatware. What we can see from this image is LG's commitment to the second screen concept it debuted with last year's V10. Read more