From d3062f5e24e3e02f3b71d7fb2c781e99ff4ef55b Mon Sep 17 00:00:00 2001 From: Sandwich Date: Sun, 6 Sep 2026 08:56:27 +0200 Subject: [PATCH] fix: stop ly and other tui display managers for single-gpu passthrough --- scripts/gpu-passthrough.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gpu-passthrough.sh b/scripts/gpu-passthrough.sh index 74c669a..338bcfc 100755 --- a/scripts/gpu-passthrough.sh +++ b/scripts/gpu-passthrough.sh @@ -237,7 +237,7 @@ prepare) # 1. stop whatever is holding the DRM device dm=$(systemctl list-units --type=service --state=running --no-legend 2>/dev/null | - awk '{print $1}' | grep -xE '(gdm|sddm|lightdm|lxdm|greetd|display-manager)\.service' | head -1) + awk '{print $1}' | grep -xE '((gdm|sddm|lightdm|lxdm|greetd|ly|emptty|lemurs)(@[a-z0-9-]+)?|display-manager)\.service' | head -1) if [ -n "$dm" ]; then echo "$dm" > "$STATE/dm" log "stopping $dm"