HPLIP inside a distrobox (HP printer, printing works but scanning doesn't)
Printer model: HP LaserJet Pro MFP M127fs
Without the hplip drivers I can print but cannot scan, so I am trying to get scanning to work. Overlaying hplip with
I have created a debian:stable container and installed the
Anyone have any idea what to do after this?
Without the hplip drivers I can print but cannot scan, so I am trying to get scanning to work. Overlaying hplip with
rpm-ostree does not work since the hplip gui wants to do the installation of drivers itself, which due to bazzite being an atomic distro is not an allowed operation, therefore hplip must go inside a container.I have created a debian:stable container and installed the
hplip-gui package in it. Here is what happens when I try to run hp-toolbox (printer is connected over usb): https://pastebin.com/f9wbHFY0 (pastebin due to being too long). The key error seems to be error: Unable to connect to dbus system bus. Exiting. but googling reveals nothing and I cannot understand why this error is happening or what it means.Anyone have any idea what to do after this?
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Solution
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/run/host/var/run/dbus/system_bus_socket hp-toolbox
