<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/"/>

<title>Jeff Epler's blog</title>
<modified>2013-11-20T17:06:41Z</modified>
<tagline>Photos, electronics, cnc, and more</tagline>
<author><name>Jeff Epler</name><email>jepler@unpythonic.net</email></author>
<entry>
<title>TCP connections to X server</title>
<issued>2013-11-20T17:06:41Z</issued>
<modified>2013-11-20T17:06:41Z</modified>
<id>https://gamma.unpythonic.net/01384967201</id>
<link rel="alternate" type="text/html" href="https://gamma.unpythonic.net/01384967201"/>
<content type="text/html" mode="escaped">

In modern times, the X server doesn't listen on TCP by default.
A user typically can't elect to turn it on, but &lt;tt &gt;socat&lt;/tt&gt;
can:
&lt;pre &gt;
socat TCP-LISTEN:6000,fork,reuseaddr UNIX-CONNECT:/tmp/.X11-unix/X0
&lt;/pre&gt;
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.
</content>
</entry>
</feed>
