From 20096174a0cc3135c7f5800783b84eacfb057abe Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Mon, 30 Jul 2018 17:25:56 +0200 Subject: [run-virt] resolution: output device detection given more time --- .../data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes') diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc index 55f24407..66433663 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/includes/60_resolution.inc @@ -25,7 +25,7 @@ set_resolution() # Zu verbessern: Der Name des Verbundenen ist nicht immer bekannt. Daher nehmen wir das # erste 'connected' in der Ausgabe xrandrs Und warten evtl. ein Weilchen):: - for wartezeit in 1 1 1 2 0 ende; do + for wartezeit in 1 1 1 2 2 2 4 4 0 ende; do [ "$wartezeit" = "ende" ] && { logger "openslx resolution utility: Could not detect output device. Exiting." ; exit 1; } AUSGABE=$(DISPLAY="${DISPLAY}" XAUTHORITY="${XAUTHORITY}" xrandr -q|grep -m 1 " connected "|awk '{print $1}') [ -n "$AUSGABE" ] && break -- cgit v1.2.3-55-g7522