The problem# When writing confirm-module, my original design did the communication over a Unix socket. I spent a while trying to figure out how to implement a very simple client/server program that could send a query to a Unix socket and wait for a response as a shell script using socat and could...
The problem# I returned to my desktop to find an error message saying the screensaver was unable load, and it wouldn't show the password box to unlock the screen. When I logged in via SSH from a different device and reattached to a Screen session I had previously started from inside my X session,...
The problem# I wanted to maintain an SSH port forward to a Unix socket indefinitely. Such a connection would allow a specific user (or group) on the remote computer access to a network service running on the source computer that's not exposed to the public internet. The part where I want the...
The problem# For various reasons you might want graphical access to another computer, since some things can't be done over a text interface, including actually designing and troubleshooting what the graphical interface looks like. The other computer might be in a remote location across the...
You know, like "lions and tigers and bears, oh my"… okay, not funny, moving on… The problem# There's a lot of different ways to transmit streams of bytes between applications on the same host or different hosts with various reasons you might want to use each one. And sometimes the two endpoints...
The problem# Previously, I wrote about using named pipes for IPC to allow controlling a process by another process running on the same computer possibly as a different user, with the access control set by file permissions. But I observed that the restricted unidirectional communication mechanism...