Skip to content

$DISPLAY is wrong in resurrected session #332

@zori

Description

@zori

Hi, I've tried both with and without DISPLAY in the update-environment option:

set-option -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"

Either way after rebooting my machine and attaching to a (resurrected) session, the DISPLAY variable is wrong (:0 while it should be :1).

I also use continuum, if that changes anything, with the following settings:

set -g @plugin 'tmux-plugins/tmux-continuum' # Continuous saving of tmux environment. https://github.com/tmux-plugins/tmux-continuum
set -g @continuum-save-interval '20' # Save the current session every 20 minutes
set -g @continuum-boot 'on'
set -g @continuum-restore 'on'

Any known work-arounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions