TCP connections to X server

In modern times, the X server doesn't listen on TCP by default. A user typically can't elect to turn it on, but socat can:
socat TCP-LISTEN:6000,fork,reuseaddr UNIX-CONNECT:/tmp/.X11-unix/X0
How to do stuff like copy your xauth information is left to the reader, who will need some good old fashioned incantations to do it.

Entry first conceived on 20 November 2013, 17:06 UTC, last modified on 27 January 2014, 18:03 UTC
Website Copyright © 2004-2024 Jeff Epler