Here’s the path I want to send X packets across:

[nightly] - corporatefirewall - internets - [server] - [desktop]

The server only has what it needs to serve, which means no X server. I assumed that my X packets would just get merrily passed through when using [ssh -Y]. But the server didn’t have the [xauth] package installed – without it, you don’t get X authentication – in fact, all you do get is the extremely unhelpful error message “can’t open display”.

emerge -Davu xauth
(18 package installations, yikes!)

Next I had to make sure that ssh allowed X packets, and allowed them over TCP. Edit [/etc/ssh/sshd_config]:

Match User m
    X11Forwarding yes
    AllowTcpForwarding yes

Of course, I’m a bad person for doing this kind of insecure stuff. Silly me giving up security for usefulness. Oh well.

Leave a Reply