I installed Tumbleweed a few days ago.
I have been using Kubuntu and Fedora to connect to my printer and KDE System Setting. I never encountered any problems.
But now, when I open KDE System Setting in the same way and click Add printer, I get “Failed to get a list of devices: ‘Forbidden’” (I am using the Japanese version, so the expression may be slightly incorrect. However, it does indeed say “Forbidden.”) The error message “Failed to get a list of devices: ‘Forbidden’” is displayed.
I found a similar error in Ask Ubuntu (permissions - "Failed to get a list of devices: 'Forbidden'", when list new printers on Kubuntu20.04 - Ask Ubuntu), but it seems to be managed by root in openSUSE, so it did not help. That is, in /etc/cups/cups-files.conf it says this.
# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup root
Also, I checked the previous post on this form, which stated that it was because I was authenticating with my account instead of Root(Can't add printer in KDE System Settings), but I was authenticating with Root.
I had authenticated with Root. When I intentionally entered the wrong password, I was scolded for “Wrong Password”, so at least it seems to be authenticated correctly as Root.
I ran sudo journalctl -u cups.service
and checked the logs and got the following results.
7月 17 21:28:25 localhost.localdomain cupsd[1417]: pam_kwallet5(cups:auth): pam_kwallet5: pam_sm_authenticate
7月 17 21:28:25 localhost.localdomain cupsd[1417]: pam_kwallet5(cups:auth): pam_kwallet5: Refusing to do anything for the root user
7月 17 21:28:25 localhost.localdomain cupsd[1417]: pam_kwallet5(cups:setcred): pam_kwallet5: pam_sm_setcred
7月 17 21:28:25 localhost.localdomain cupsd[1417]: pam_kwallet5(cups:auth): pam_kwallet5: pam_sm_authenticate
7月 17 21:28:25 localhost.localdomain cupsd[1417]: pam_kwallet5(cups:auth): pam_kwallet5: Refusing to do anything for the root user
7月 17 21:28:25 localhost.localdomain cupsd[1417]: pam_kwallet5(cups:setcred): pam_kwallet5: pam_sm_setcred
Also, the result of sudo cat /var/log/cups/error_log
is as follows.
E [17/Jul/2023:21:28:32 +0900] [Client 36] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [17/Jul/2023:21:28:48 +0900] [Client 44] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
Access from Root seems to be denied.
I do not know if this is a problem with kde system setting, cups, or something else.
What is the cause? Or is there a way to investigate the cause more deeply? I would be grateful if you could tell me.
Please forgive my poor English. Thank you.
*I posted this in another topic that was not very appropriate before, and it was moved, but I deleted it and reopened it because it was not well explained. I apologize for any inconvenience caused.