-
-
Notifications
You must be signed in to change notification settings - Fork 50
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 pkexec swhkd
#282
Comments
just a wild guess but can you check weather /dev/rfkill exists on your system? |
Thank you for getting back to me. |
Looks like it's trying to raise privileges: Line 16 in 75bcd8d
Not sure why it's trying to do that, and if I should it run as root, although in the readme, it doesn't talk about sudo. |
But if I run it with sudo, it's trying to read config for the root user:
|
Looks like it might be related to #156 |
Hey @manthanabc, I'm curious why you asked about I think I was able to successfully run swhkd, not sure if I can reproduce it, as I had to use pkexec when running manually from command line. Here is the log:
But also, for some reason, it killed my wifi, and i see |
And this is what I see when I try to run it as part of systemd
This is my service file:
And this is the script:
|
Version Information:
uname -a
)swhkd -V
)Describe the bug:
I was able to install it finally (#281). And following next steps in the readme, trying to start it manually:
Running
swhks &
works fine, or at least no errors,but running
swhkd
, I get:Expected behavior:
Not to error and run.
Actual behavior:
Errors out.
To Reproduce:
Install from AUR, and then run
swhkd
.Additional information:
If I try to run via systemd service with
pexec swhkd
I get sudo request, and then bunch of errors as well:The text was updated successfully, but these errors were encountered: