From c0ffcf22ac4e3eff97344ca4d032fe246547aa46 Mon Sep 17 00:00:00 2001 From: ShengYi Hung Date: Sun, 4 Jan 2026 13:28:52 +0800 Subject: [PATCH] setup.sh: Unset display for normal WM The wlroot refused to create X11 backend when DISPLAY is set. This makes most of the wlroot-based WM exit since they cannot create backend. Therefore, we unset DISPLAY in setup.sh to allow normal x11/wayland wm to start. See: https://github.com/swaywm/wlroots/issues/1930 --- res/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/res/setup.sh b/res/setup.sh index 8ec0f00..0fef335 100755 --- a/res/setup.sh +++ b/res/setup.sh @@ -104,4 +104,5 @@ if [ "$XDG_SESSION_TYPE" = "x11" ]; then [ -f "$XDG_CONFIG_HOME"/X11/Xresources ] && xrdb -merge "$XDG_CONFIG_HOME"/X11/Xresources fi +unset DISPLAY exec "$@"