From 7d5354177e2a2285cae8f929a1395f9c225caa9c Mon Sep 17 00:00:00 2001 From: zeus Date: Fri, 10 Dec 2021 02:08:13 +0200 Subject: [PATCH] x11 --- install/usr/share/swarmlab.io/sec/run-gui-backup.sh | 1 + install/usr/share/swarmlab.io/sec/run-gui.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 install/usr/share/swarmlab.io/sec/run-gui-backup.sh mode change 100755 => 100644 install/usr/share/swarmlab.io/sec/run-gui.sh diff --git a/install/usr/share/swarmlab.io/sec/run-gui-backup.sh b/install/usr/share/swarmlab.io/sec/run-gui-backup.sh new file mode 100755 index 0000000..4a0625e --- /dev/null +++ b/install/usr/share/swarmlab.io/sec/run-gui-backup.sh @@ -0,0 +1 @@ +docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix microservice-firefox /bin/sh -c "firefox" diff --git a/install/usr/share/swarmlab.io/sec/run-gui.sh b/install/usr/share/swarmlab.io/sec/run-gui.sh old mode 100755 new mode 100644 index 4a0625e..012a38c --- a/install/usr/share/swarmlab.io/sec/run-gui.sh +++ b/install/usr/share/swarmlab.io/sec/run-gui.sh @@ -1 +1 @@ -docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix microservice-firefox /bin/sh -c "firefox" +docker exec -e DISPLAY=$DISPLAY microservice-firefox_masterservice_1 /bin/sh -c "firefox"