Skip to content
Discussion options

You must be logged in to vote

I came out with this workaround:

# --- Herdr X11 Display Syncing ---

# 1. Outside herdr: Save the active SSH display pointer
if [ -n "$SSH_TTY" ] && [ -z "$HERDR_ENV" ]; then
    echo "export DISPLAY=\"$DISPLAY\"" > ~/.herdr_x11_env
fi

# 2. Inside herdr: Read the active SSH display pointer
if [ "$HERDR_ENV" = "1" ]; then
    if [ -f ~/.herdr_x11_env ]; then
        source ~/.herdr_x11_env
    fi
fi

it should work if you first connet with ssh -Y; not sure if it works if you use herdr --remote ssh://user@host

@ogulcancelik don't know if it's a bug, but I think it would be nice to handle it internally (not with this workaround) - personally, I want to be able to open GUI apps, as well as …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@ampatzid
Comment options

@noamgot
Comment options

Answer selected by noamgot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants