From 593ab0919593399cd7113ea0de2c69a5966ae8c6 Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Mon, 22 Apr 2024 17:28:09 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(server):=20Run=20input-serve?= =?UTF-8?q?r=20as=20root=20to=20get=20permissions=20to=20create=20?= =?UTF-8?q?=E2=80=A6=20(#30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …devices ## Description **What(what issue does this code solve/what feature does it add):** Currently we get a permission error when trying to create a mouse. On further investigation, we realise that we have to run `/inputtino/input-server` as sudo/root. **How(how does it solve it):** ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments --- .scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/entrypoint.sh b/.scripts/entrypoint.sh index b1daf265..91e1e49c 100644 --- a/.scripts/entrypoint.sh +++ b/.scripts/entrypoint.sh @@ -161,7 +161,7 @@ fi openbox-session & #Now we can safely run our input server without permission errors -/inputtino/input-server & +sudo /inputtino/input-server & /usr/games/gamescope -- mangohud glxgears > /dev/null &