From 95027fe6fed755ad4c4461e584e6d6f6dc916fcd Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 16 Jun 2026 12:57:21 +0000 Subject: [PATCH] fix: export XAUTHORITY in start.sh so xinput touch init never hits auth error Without XAUTHORITY set, xinput can fail with "Authorization required" if the display manager doesn't propagate it through the session environment. Hardcode the kiosk user's .Xauthority path to guarantee xinput works. https://claude.ai/code/session_01EyjEQLWbTXcZgbMDarf7NU --- ubuntu-based-kiosk-v1.0.3.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ubuntu-based-kiosk-v1.0.3.sh b/ubuntu-based-kiosk-v1.0.3.sh index a94355b..e5a9db4 100644 --- a/ubuntu-based-kiosk-v1.0.3.sh +++ b/ubuntu-based-kiosk-v1.0.3.sh @@ -7332,6 +7332,7 @@ for i in {1..30}; do done export DISPLAY=:0 +export XAUTHORITY=/home/kiosk/.Xauthority export ELECTRON_ENABLE_LOGGING=1 # Ensure PipeWire is running