When I first start my
screen session my X-display works. I.e., I can start X-apps like
However, when I reattach my previous
screen session, from a different X, the X-display no longer works. E.g., if I start
xterm, I'll get:
xterm: Xt error: Can't open display: localhost:10.0
However my X-display (of localhost:10.0) works just find if I quit/suspend the reattach
screen session. I.e., it works outside of reattach
screen session, but not inside.
How to make my X-display works inside of the reattach
screen session as well?