I am attaching through
ssh -Y to my server, and rotating with tmux to a preexisting window. The problem is, if I just
export DISPLAY=:<port ssh used originally for X> evince #for example
On the original (new) window the X forwarding worked fine. I check the port with
echo $DISPLAY and use that in the above example. When I do this I get:
Unable to init server: Could not connect: Connection refused Cannot parse arguments: Cannot open display:
Is this something I can workaround?
I am on Debian 9.0.