summaryrefslogtreecommitdiffstats
path: root/tools/guest-diag/gl_verify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/guest-diag/gl_verify.sh')
-rw-r--r--tools/guest-diag/gl_verify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/guest-diag/gl_verify.sh b/tools/guest-diag/gl_verify.sh
index edfaab2..bb615e9 100644
--- a/tools/guest-diag/gl_verify.sh
+++ b/tools/guest-diag/gl_verify.sh
@@ -18,7 +18,7 @@ gx() { "${VMEXEC[@]}" exec --timeout "${1:-45}" "$2" 2>&1 | tail -n "${3:-40}";
if [ "$RESTART" = "1" ]; then
# The DDX ScreenInit is a per-start lottery ("GPU exception"): retry up to 3x.
for try in 1 2 3; do
- gx 30 "pkill -f '[X]org :0' 2>/dev/null; sleep 1; systemctl reset-failed xorg0 2>/dev/null; systemd-run --unit=xorg0 --collect --setenv=HOME=/root /usr/bin/Xorg :0 -config /etc/X11/xorg.conf >/dev/null 2>&1; echo XSTART-ISSUED" >/dev/null
+ gx 30 "pkill -x Xorg 2>/dev/null; sleep 1; systemctl reset-failed xorg0 2>/dev/null; systemd-run --unit=xorg0 --collect --setenv=HOME=/root /usr/bin/Xorg :0 -config /etc/X11/xorg.conf >/dev/null 2>&1; echo XSTART-ISSUED" >/dev/null
sleep 8
ok=$(gx 20 "timeout 12 env DISPLAY=:0 xdpyinfo >/dev/null 2>&1 && echo XDPYINFO-OK || echo X-DEAD" 3 | tail -1)
echo "try $try: $ok"