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

Gcode-shell-command Error: Failed to restart KlipperScreen.service: Interactive authentication required. #847

Open
fabiandj64 opened this issue May 1, 2024 · 2 comments

Comments

@fabiandj64
Copy link

What happened

When i try to restart the KlipperScreen.service with a script which runs when the given macro is used. i get the following error: "Failed to restart KlipperScreen.service: Interactive authentication required. See system logs and 'systemctl status KlipperScreen.service' for details."

it worked on my old system a few weeks back. but i had to set up a new raspberry because i broke the fw on the last one :/ since setting up everything the command will no longer work. i tried everything i could find. added polkit rules, added sudoers, added every user to the NOPASSWD rule it changed nothing...

i dont know which files are needed for this problem but i can upload the requested files then

Client

Fluidd, KlipperScreen

Browser

Firefox

How to reproduce

install gcode shell command
make script including "systemctl restart KlipperScreen.service"
try to run script

Additional information

No response

@fabiandj64 fabiandj64 added the bug Something isn't working label May 1, 2024
@fabiandj64
Copy link
Author

when i try to run the script on the pi i get the following in the console (hope it helps)

==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to restart 'KlipperScreen.service'.
Authenticating as: ,,, (pi)
Password:

@Arksine Arksine added user help request and removed bug Something isn't working labels May 2, 2024
@Arksine
Copy link
Owner

Arksine commented May 8, 2024

This doesn't appear related to Moonraker. GCode Shell Command is a 3rd party modification to Klipper and not supported in the official repos. I would suggest seeking assistance on one of the various discords, as someone there may be able/willing to assist with unofficial code.

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

No branches or pull requests

2 participants