dxpc for Debian
---------------

For dxpc to be useful, you need to have a compatible version of dxpc
running on another computer.  Versions 3.9.0 and above are not
compatible with the 3.8 or earlier versions.  If the other computer
does not have version 3.9.0 or newer of dxpc installed, you may need
to obtain the dxpc archive and compile it yourself on the non-debian
computer.  Precompiled binaries for many systems are available from
http://www.vigor.nu/dxpc/.

For more information, see http://www.vigor.nu/dxpc/.

dxpc is a very useful tool, but it can be complex to figure out the
setup from the documentation.  For applications in which both machines
can access each other's IP addresses, the examples in the manual page
should be sufficient.  Here's a simple recipe for using it from a host
behind a firewall to access another host, tunneling dxpc through ssh.
This assumes you are sitting in front of 'local' and are logging into
'remote' with ssh.

# Get the xauth key for your current local display for later use
local% xauth list localhost.localdomain/unix:0 | awk '{print $NF}'
# Map local port 4000 to remote-host's port 4000
local% ssh remote -x -L 4000:localhost:4000

# On the remote host:
remote% dxpc -f
remote% xauth add :8 . <key-from-above>
remote% export DISPLAY=:8

# In another window on the local host:
local% dxpc -f localhost

Now you are ready to run X applications on 'remote' displaying on
local with reasonable performance even on a slow link.

 -- Jay Berkenbilt <qjb@debian.org>, Sat, 29 Aug 2009 10:19:43 -0400
