Jeff Epler's blog

20 November 2013, 17:06 UTC

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.

[permalink]

All older entries
Website Copyright © 2004-2017 Jeff Epler