Tumbleweed KDE Cups Server asks for root password

Agree. I am not a Linux expert but a User. I do have some experience.
I don’t even know what nsswitch is.

Ok, that checks out as expected.

Next…
sudo systemctl status avahi-daemon
sudo firewall-cmd --list-all

“Name Service Switch”. It controls where Linux looks for different types of information, such as user accounts, groups, and hostname resolution.

1 Like
sudo systemctl status avahi-daemon
[sudo] password for root: 
● avahi-daemon.service - Avahi mDNS/DNS-SD Stack
     Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; preset: enabled)
     Active: active (running) since Tue 2026-07-28 21:22:58 AEST; 8h ago
 Invocation: e11ffceacde043638927f2cbdc0d5fe1
TriggeredBy: ● avahi-daemon.socket
   Main PID: 902 (avahi-daemon)
     Status: "Server startup complete. Host name is linux.local. Local service cookie is 1212725120."
      Tasks: 1 (limit: 18835)
        CPU: 315ms
     CGroup: /system.slice/avahi-daemon.service
             └─902 "avahi-daemon: running [linux.local]"

Jul 28 21:47:53 localhost.localdomain avahi-daemon[902]: Files changed, reloading.
Jul 28 21:47:53 localhost.localdomain avahi-daemon[902]: No service file found in /etc/avahi/services.
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: Joining mDNS multicast group on interface wlp0s20f3.>
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: New relevant interface wlp0s20f3.IPv6 for mDNS.
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: Registering new address record for fe80::3c74:b6ef:2>
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: Joining mDNS multicast group on interface wlp0s20f3.>
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: New relevant interface wlp0s20f3.IPv4 for mDNS.
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: Registering new address record for 192.168.50.59 on >
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: Files changed, reloading.
Jul 29 05:29:57 localhost.localdomain avahi-daemon[902]: No service file found in /etc/avahi/services.
...skipping...

sudo firewall-cmd --list-all
public (default, active)
  target: default
  ingress-priority: 0
  egress-priority: 0
  icmp-block-inversion: no
  interfaces: wlp0s20f3
  sources: 
  services: dhcpv6-client
  ports: 
  protocols: 
  forward: yes
  masquerade: no
  forward-ports: 
  source-ports: 
  icmp-blocks: 
  rich rules: 

Sorry deano, I have got to go as its 06:15AM here in Australia and I have got to get some stuff done.
It will be at least 5 hours before I can get back to this.
Thanks for all the help so far :slightly_smiling_face:

1 Like

Your firewall settings confirm you haven’t yet allowed mDNS. That’s why it fails. Read the following section…

https://en.opensuse.org/SDB:Configuring_Scanners#Network_Discovery_Requirements

Glad to have been of help. :slight_smile:

I forgot also detailed here:
https://en.opensuse.org/SDB:Installing_a_Printer#Driverless_Printing

Thank you daeno :sparkler:
I had to use both links to get it all working.
Both scanner and Printer are working without requiring sudo password and both were re-tested after a couple of reboots.
Suse Tumbleweed does require a bit more setting up then other distros.

I think that depends on what you’re setting up. :wink:

In this case, the issue wasn’t really Tumbleweed itself, but the default public firewall configuration, which blocks mDNS by default. That’s a deliberate security vs. convenience choice. It frequently trips new openSUSE users up. Once mDNS is allowed, driverless printing and scanning usually work as expected.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.