Unable to start Waynergy as regular user; must start as root first
Closed this issue · 0 comments
Issue:
Despite configuring uinput on my system, waynergy fails to start unless using root first.
System:
Client: Arch Linux, with Wayland/GNOME 42
Server: Barrier on Windows 10
Technical Context:
When starting up waynergy I get this error immediately:
uinput fd open failed (this is normal if not using uinput backend): Permission denied
This was frustrating as I had already setup uinput as described in the readme, but it refused to work.
After logging in/rebooting I found it would work if I tried to start as root first (where it would fail), but then it would work immediately afterwards when running as regular user.
I eventually found the uinput module wasn't automatically loading (by using modprobe) and it was easily fixed by creating /etc/modules-load.d/uinput.conf
with the contents of uinput
With the conf file in place, the program now starts without issue after fresh boot.
Could this be added to the documentation for others to find?