Skip to content

"Cannot autolaunch D-Bus without X11 $DISPLAY" while running tox test on dockerfile #3759

Answered by zhan9san
zeitounator asked this question in Q&A
Discussion options

You must be logged in to vote

The workaround solution is actually trivial but I have no idea at this point if it is acceptable. I could fix by just adding a line to tox.ini, i.e.:

# do not put * in passenv as it may break builds do to reduced isolation
passenv =
    DISPLAY
    [... rest of existing env in file ...]

A PR is welcomed and acceptable.

The DISPLAY environment variable is required if docker-credential-secretservice is invoked somewhere.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
1 reply
@zeitounator
Comment options

Answer selected by zeitounator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #3758 on November 29, 2022 17:16.