diff options
-rwxr-xr-x | remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution | 4 | ||||
-rwxr-xr-x | remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution b/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution index 24a0594f..35fb42e3 100755 --- a/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution +++ b/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution @@ -9,7 +9,7 @@ MOUNTDIR=/mnt/diskmount RESFILE="${MOUNTDIR}"/openslx.ini -DISPLAY=:0.0 +export DISPLAY=:0.0 check_resolution() { # Now, let's wait even more seconds to see if another process re-changes res.: @@ -44,7 +44,7 @@ fi XAUTHDATEI=$(ps aux | grep -o "X.* \-auth *[^ ]*" | awk '{print $NF}') if [ -n "$XAUTHDATEI" ]; then logger "openslx resolution utility: XAUTHFILE found." - XAUTHORITY="${XAUTHDATEI}" + export XAUTHORITY="${XAUTHDATEI}" else logger "openslx resolution utility: XAUTHFILE not found. Exiting." exit 1 diff --git a/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone b/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone index c6cac4f9..bc139cdb 100755 --- a/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone +++ b/remote/modules/run-virt/data/opt/openslx/vmchooser/data/linux/resolution_standalone @@ -9,7 +9,7 @@ MOUNTDIR=/mnt/diskmount RESFILE="${MOUNTDIR}"/openslx.ini -DISPLAY=:0.0 +export DISPLAY=:0.0 check_resolution() { # Now, let's wait even more seconds to see if another process re-changes res.: @@ -73,7 +73,7 @@ fi XAUTHDATEI=$(ps aux | grep -o "X.* \-auth *[^ ]*" | awk '{print $NF}') if [ -n "$XAUTHDATEI" ]; then logger "openslx resolution utility: XAUTHFILE found." - XAUTHORITY="${XAUTHDATEI}" + export XAUTHORITY="${XAUTHDATEI}" else logger "openslx resolution utility: XAUTHFILE not found. Exiting." exit 1 |