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

Issue with Running 'powerctl' Using 'sudo' #321

Open
abdelrahman-essawy opened this issue Oct 1, 2023 · 0 comments
Open

Issue with Running 'powerctl' Using 'sudo' #321

abdelrahman-essawy opened this issue Oct 1, 2023 · 0 comments

Comments

@abdelrahman-essawy
Copy link

Hello guys,
I am encountering an issue while attempting to execute the powerctl command with sudo.
The error messages I'm receiving are as follows:

$ sudo playerctl next
Could not connect to players: Error spawning command line “dbus-launch --autolaunch=47ba66aecd1746139cb72e29d2d891e1 --binary-syntax --close-stderr”: Child process exited with code 1
$ sudo playerctl -l
Error spawning command line “dbus-launch --autolaunch=47ba66aecd1746139cb72e29d2d891e1 --binary-syntax --close-stderr”: Child process exited with code 1

Thank you in advance.

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