Merge pull request #22 from Cougar/display_0_fix

FIX for displays other than :0
This commit is contained in:
Sameer Naik 2017-10-12 13:23:13 +05:30 committed by GitHub
commit d62347133e

View File

@ -66,7 +66,7 @@ prepare_docker_env_parameters() {
prepare_docker_volume_parameters() {
touch ${XAUTH}
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge -
xauth nlist ${DISPLAY} | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge -
VOLUMES+=" --volume=${XSOCK}:${XSOCK}"
VOLUMES+=" --volume=${XAUTH}:${XAUTH}"