Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start Waynergy as regular user; must start as root first #38

Closed
DigitalFunk opened this issue Jun 23, 2022 · 0 comments
Closed

Comments

@DigitalFunk
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant