Repository navigation
Commit 6d9fcdd
committed
util/docker_shell: Don't hard-code DISPLAY for fetching auth info
The flow/util/docker_shell script looks up the X authorization
information (magic cookie) for display :0 and exports it to the
container, but sets DISPLAY to match DISPLAY of the host shell. There
are no guarantees that the authorization information for :0 is the
same as for $DISPLAY, if $DISPLAY != :0.
This patch changes flow/util/docker_shell to always extract the
authorization information for $DISPLAY.
Signed-off-by: Frej Drejhammar <frej.drejhammar@gmail.com>1 parent e05a2d1 commit 6d9fcdd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments