-
Notifications
You must be signed in to change notification settings - Fork 5
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
Replacing pkexec with sudo #8
Comments
For not entering the password every times you want to connect or disconnect, as @k561 said, replace in ~/.local/share/cinnamon/applets/[email protected]/applet.js
by :
Then in
Replace YOUR_USER_NAME by your username or ALL ######################## The config files needs to be in /etc/wireguard/ (e.g /etc/wireguard/wg0.conf) ######################## Finally restart Cinnamon to make it works ( Alt+F2, type r and hit enter) |
How to fix it? |
Sorry I don't know, I don't use WIregard anymore. Create a new issue and explain what you have done... |
If you get tired of entering the password requested by pkexec, you can use sudo.
Add in /etc/sudoers:
user ALL=NOPASSWD:/usr/bin/wg-quick
and replace in ~/.local/share/cinnamon/applets/[email protected]/applet.js:
The text was updated successfully, but these errors were encountered: