This is current/amd64, but I don't think it makes a difference.

I work in a tmux session opened in an xterm, as people do.
I read email, run some shell commands, and run some X apps
from the tmux command line, such as launch mupdf to view the PDF
I have just compiled from a TeX source. All works fine.

Then I go home, login remotely to my work machine,
and reattach the tmux session to read more work email.
All works fine.

The next day at work, I cannot launch X apps from the tmux session.
Looking at the environment, I see that DISPLAY and WINDOWID are
no longer present in env(1) run from the tmux shell.

Is this intentional? I suppose tmux resets DISPLAY and WINDOWID
when I reattach the tmux session remotely. My speculation is that
they are not set back, and that's why X apps can no longer be launched.

        Jan

Reply via email to