Update, I found that CUPS was failing to be modified by the gnome(?) user interface component.
apparmor is getting in the way, "protecting" cupsd. To fix this, install the apparmor utilities: sudo apt-get install apparmor-utils Then set apparmor to complain about cupsd, instead of blocking access: sudo aa-complain cupsd You can now print. I hope this helps someone else too. This was quite difficult to troubleshoot. ar 24 16:10:45 semiauto google-chrome.desktop[216920]: [216913:216943:0324/161045.967690:ERROR:connection_factory_impl.cc(428)] Failed to connect to MCS endpoint with error -105 Mar 24 16:10:46 semiauto google-chrome.desktop[216920]: [216913:216913:0324/161046.442656:ERROR:device_event_log_impl.cc(222)] [16:10:46.442] Printer: local_printer_handler_default.cc:167 Failure enumerating local printers, result: kFailed Mar 24 16:10:46 semiauto google-chrome.desktop[216920]: Warning: disabling flag --expose_wasm due to conflicting flags Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:325: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: for action in printer_manager_action_group.list_actions (): Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:326: DeprecationWarning: Gtk.Action.set_sensitive is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: action.set_sensitive (False) Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:334: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: act = printer_manager_action_group.get_action (action) Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: self.ui_manager.ensure_update () Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ()) Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:374: DeprecationWarning: Gtk.UIManager.get_action is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: action = self.ui_manager.get_action ("/new-printer") Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:375: DeprecationWarning: Gtk.Action.create_menu_item is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: newprinteritem = action.create_menu_item () Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:673: DeprecationWarning: Gtk.Action.get_proxies is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: for widget in action.get_proxies (): Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: /usr/share/system-config-printer/system-config-printer.py:2253: DeprecationWarning: Gdk.threads_enter is deprecated Mar 24 16:10:51 semiauto google-chrome.desktop[216920]: Gdk.threads_enter () Mar 24 16:10:51 semiauto dbus-daemon[764]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.1686' (uid=1000 pid=395280 comm="/usr/bin/python3 /usr/share/system-config-printer/" label="unconfined") Mar 24 16:10:51 semiauto systemd[1]: Starting Hostname Service... Mar 24 16:10:51 semiauto dbus-daemon[764]: [system] Successfully activated service 'org.freedesktop.hostname1' Mar 24 16:10:51 semiauto systemd[1]: Started Hostname Service. Mar 24 16:10:53 semiauto kernel: [663246.142511] serial 0000:00:16.3: LSR safety check engaged! Mar 24 16:10:53 semiauto kernel: [663246.142539] audit: type=1400 audit(1679688653.733:100): apparmor="DENIED" operation="capable" class="cap" profile="/usr/sbin/cupsd" pid=395323 comm="serial" capability=21 capname="sys_admin" Here were a few other telling messages: Mar 24 16:13:14 semiauto kernel: [663387.182005] audit: type=1400 audit(1679688794.769:101): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:17 semiauto kernel: [663389.718118] audit: type=1400 audit(1679688797.305:102): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:24 semiauto kernel: [663397.180664] audit: type=1400 audit(1679688804.769:103): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:24 semiauto kernel: [663397.180678] audit: type=1400 audit(1679688804.769:104): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:26 semiauto kernel: [663399.385467] audit: type=1400 audit(1679688806.973:105): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:26 semiauto kernel: [663399.385511] audit: type=1400 audit(1679688806.973:106): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:29 semiauto kernel: [663401.903042] audit: type=1400 audit(1679688809.489:107): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:13:31 semiauto kernel: [663403.494875] audit: type=1400 audit(1679688811.081:108): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:14:50 semiauto kernel: [663483.050466] audit: type=1400 audit(1679688890.638:111): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 Mar 24 16:14:52 semiauto kernel: [663485.093715] audit: type=1400 audit(1679688892.682:112): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/sbin/cupsd" name="/run/utmp" pid=287961 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0 ouid=0 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups in Ubuntu. https://bugs.launchpad.net/bugs/2012288 Title: Ubuntu Gnome Settings / Chrome / CUPS (printing) communications Status in cups package in Ubuntu: New Bug description: I am trying to print. Context :: printer - The network printer I have "HP LaserJet Professional M1217nfw MFP" announces itself via Bonjour, supports SLP Config, LPD Printing and WS-Discovery. The printer is wired to ethernet, and receives it's IP address in IPV4 and IPV6 from the router, set statically at the router. Client - The client machine, Ubuntu 22.10 , is either on wireless (192.168.2.X - DHCP assigned randomly) or wired ethernet (192.168.2.Y - DHCP assigned statically). Sometimes the machine has both interfaces as well as receiving IPV6 addresses for both of these interfaces. It's unclear how printing occurs for discovery, but for comparison - Android "just works", iPhone "just works" , and Windows 10 "just works". Only Ubuntu is the outlier here. When printing a PDF from Chrome, I see there is a mismatch between the printers that Chrome sees, and the printers that are registered with the gnome(?) printers configuration settings. This leads me to believe that these 2 parts of printing are not in sync with one another(!!). Additional, possibly related behavior: When I remove all printers listed. And simply watch the Gnome(?) Printers settings section then a new printer is added automatically exactly this text, yes the duplicate 'HP': "HP HP Laserjet Professional M1217nfw MFP, driverless". This may be a cause of issues since I have not configured an additional printer, yet it appears. When I DO attempt to print to this auto-added printer I receive a vague error after some kind of timeout "Stopped Please restart when the problem is resolved" --- what problem ? What is causing the issue ? This error does not help identify the issue. Can you help me understand what is happening here and how this can be resolved ? If auto-adding a printer is going to magically work , then please include detailed, actionable error messages. Attached -- screenshot of printer subsystems mismatch. ProblemType: Bug DistroRelease: Ubuntu 22.10 Package: xorg 1:7.7+23ubuntu2 ProcVersionSignature: Ubuntu 5.19.0-35.36-generic 5.19.17 Uname: Linux 5.19.0-35-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file. .proc.driver.nvidia.registry: Binary: "" .proc.driver.nvidia.suspend: suspend hibernate resume .proc.driver.nvidia.suspend_depth: default modeset uvm .proc.driver.nvidia.version: NVRM version: NVIDIA UNIX x86_64 Kernel Module 525.85.05 Sat Jan 14 00:49:50 UTC 2023 GCC version: gcc version 12.2.0 (Ubuntu 12.2.0-3ubuntu1) ApportVersion: 2.23.1-0ubuntu3 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: pass CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Mon Mar 20 11:54:41 2023 DistUpgraded: 2023-01-14 21:42:30,924 DEBUG Running PostInstallScript: '/usr/lib/ubuntu-advantage/upgrade_lts_contract.py' DistroCodename: kinetic DistroVariant: ubuntu DkmsStatus: 8812au/5.6.4.2_35491.20191025, 5.19.0-31-generic, x86_64: installed 8812au/5.6.4.2_35491.20191025, 5.19.0-35-generic, x86_64: installed nvidia/525.85.05, 5.19.0-35-generic, x86_64: installed virtualbox/6.1.38, 5.19.0-31-generic, x86_64: installed virtualbox/6.1.38, 5.19.0-35-generic, x86_64: installed ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller]) Subsystem: Lenovo TigerLake-LP GT2 [Iris Xe Graphics] [17aa:22d4] InstallationDate: Installed on 2023-01-09 (70 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) MachineType: LENOVO 20XY0027US ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic root=UUID=1cae8af8-977f-4853-9106-9169f34c4bc2 ro quiet splash vt.handoff=7 SourcePackage: xorg Symptom: display UpgradeStatus: Upgraded to kinetic on 2023-01-15 (64 days ago) dmi.bios.date: 02/09/2023 dmi.bios.release: 1.59 dmi.bios.vendor: LENOVO dmi.bios.version: N32ET83W (1.59 ) dmi.board.asset.tag: Not Available dmi.board.name: 20XY0027US dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 31 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.33 dmi.modalias: dmi:bvnLENOVO:bvrN32ET83W(1.59):bd02/09/2023:br1.59:efr1.33:svnLENOVO:pn20XY0027US:pvrThinkPadX1YogaGen6:rvnLENOVO:rn20XY0027US:rvrSDK0J40697WIN:cvnLENOVO:ct31:cvrNone:skuLENOVO_MT_20XY_BU_Think_FM_ThinkPadX1YogaGen6: dmi.product.family: ThinkPad X1 Yoga Gen 6 dmi.product.name: 20XY0027US dmi.product.sku: LENOVO_MT_20XY_BU_Think_FM_ThinkPad X1 Yoga Gen 6 dmi.product.version: ThinkPad X1 Yoga Gen 6 dmi.sys.vendor: LENOVO nvidia-settings: ERROR: An internal driver error occurred version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.113-2 version.libgl1-mesa-dri: libgl1-mesa-dri 22.2.5-0ubuntu0.1 version.libgl1-mesa-glx: libgl1-mesa-glx 22.2.5-0ubuntu0.1 version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.5 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-3 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/2012288/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp