KX(1)

NAME
kx - securely forward X conections

SYNOPSIS
kx host

DESCRIPTION
The kx forwards a X connection from a remote client to a local screen through an authenticated and encrypted stream.

EXAMPLES
To forward a connection from host foo to host bar (where the display is), you might do the following.

1.  Login to foo.

2.  Move your X-cookie from bar to foo.

    The cookie you should move is the one used for unix-domain connections, like:

        bar.baz.com/unix:0  MIT-MAGIC-COOKIE-1  bf40ca5d710d80e400541a9ff0fb7ebc

    On foo, type the following

        xauth add `hostname`/unix:1 . bf40ca5d710d80e400541a9ff0fb7ebc

3.  Assuming you have added kxd to inet.conf on bar, just start kx on foo:

        kx bar&

4.  Start any X applications on foo, remember to use display 1.

        xclock -display :1

SEE ALSO
kxd(8)

BUGS
Only works if the unix-sockets are located in /tmp/.X11-unix.

Can only be used by one person at a time (since it only uses display #1).