mirror of
https://github.com/sameersbn/docker-browser-box
synced 2024-10-30 15:20:13 +00:00
Merge pull request #22 from Cougar/display_0_fix
FIX for displays other than :0
This commit is contained in:
commit
d62347133e
@ -66,7 +66,7 @@ prepare_docker_env_parameters() {
|
|||||||
|
|
||||||
prepare_docker_volume_parameters() {
|
prepare_docker_volume_parameters() {
|
||||||
touch ${XAUTH}
|
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=${XSOCK}:${XSOCK}"
|
||||||
VOLUMES+=" --volume=${XAUTH}:${XAUTH}"
|
VOLUMES+=" --volume=${XAUTH}:${XAUTH}"
|
||||||
|
Loading…
Reference in New Issue
Block a user