From: Silvio Rhatto Date: Fri, 21 Aug 2015 01:58:04 +0000 (-0300) Subject: Adds DISPLAY env var to exec so we can run X11 apps X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d2cf751558216cad14a068d7ed40577ecc9ce639;p=vbox.git Adds DISPLAY env var to exec so we can run X11 apps --- diff --git a/vbox b/vbox index 0069bd6..ae2db78 100755 --- a/vbox +++ b/vbox @@ -23,7 +23,7 @@ function vbox_exec { local command="guestcontrol" local options="execute --username vagrant --password vagrant --image $bin" - options="$options --verbose --wait-exit --wait-stdout --wait-stderr -- $*" + options="$options --verbose --wait-exit --wait-stdout --wait-stderr --environment \"DISPLAY=:0\" -- $*" vbox_run $command $options }