Re: #887495, cupsd not finding printer, KDE plays a role here
On Thu, Oct 11, 2018 at 06:34:26PM +, Sune Vuorela wrote: > On 2018-10-11, Marc Haber wrote: > > However, it looks like KDE plays a role in the issue: Log out of KDE, > > log in with a different desktop environment, retry the print job, and > > see CUPS work. Log out of the different desktop environment, log in to > > KDE, try printing, see CUPS still work. > > It could also be "different desktop environment" doing something that > maybe Plasma also should do. > > I'm assuming it is the exact same way you try to do printing when it > succeeds or doesn't. (as in. Okular in all cases, or firefox in all > cases or ...) I think it was LibreOffice in all three cases. When I had this issue on a second machine, all it needed to log in to lxqt, print (successfully), log out again, log in to KDE and print again (successfully). So the "good" change that lxqt did was actually a persistent change that also "repaired" KDE. > I think print-manager contains the gui bits that lets you handle a > printer in a plasma desktop, but I don't think it tries to set anything > up on login. What package is that from? I am not aware of using any graphical printing interface. If I remember correctly, KDE 3's really nice graphical printer management capablities went away during the KDE 3 => KDE SC 4 "migration" and didn't return ever since. Is there a package I should have installed for graphical printer management in Plasma 5? > Other possibilities, but this is more like guessing/brainstorming: > - cups has some kind of security pattern where you need to register >specifically with logind / policykit in order to get printer access In that case, the "repair" done by lxqt shold not survive a reboot. > - cups has some subservices that needs to be invoked in a special way >(dbus activation of some sorts) that for some reason doesn't happen >in your case until you visit with other-desktop. Also, that doesn't explain the persistence of the repair. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
Re: #887495, cupsd not finding printer, KDE plays a role here
On 2018-10-11, Marc Haber wrote: > However, it looks like KDE plays a role in the issue: Log out of KDE, > log in with a different desktop environment, retry the print job, and > see CUPS work. Log out of the different desktop environment, log in to > KDE, try printing, see CUPS still work. It could also be "different desktop environment" doing something that maybe Plasma also should do. I'm assuming it is the exact same way you try to do printing when it succeeds or doesn't. (as in. Okular in all cases, or firefox in all cases or ...) I think print-manager contains the gui bits that lets you handle a printer in a plasma desktop, but I don't think it tries to set anything up on login. Other possibilities, but this is more like guessing/brainstorming: - cups has some kind of security pattern where you need to register specifically with logind / policykit in order to get printer access - cups has some subservices that needs to be invoked in a special way (dbus activation of some sorts) that for some reason doesn't happen in your case until you visit with other-desktop. But this is just throwing random pointers in random directions. /Sune
#887495, cupsd not finding printer, KDE plays a role here
Hi, I would like to point your kind attention to #887495, an issue in CUPS that was first reported half a year ago. Sadly, the CUPS maintainers didn't bother to do anything visible. The issue is that cups accept a print job and the complains in the webinterface that it cannot find the printer, and succests that cups-browsed my be the issue. In my thinking, this is an issue as far away from the Desktop as I can imagine. However, it looks like KDE plays a role in the issue: Log out of KDE, log in with a different desktop environment, retry the print job, and see CUPS work. Log out of the different desktop environment, log in to KDE, try printing, see CUPS still work. I do not have the slightest idea which component of KDE may play a role in this, hence I am only carrying this to a mailing list instead of reassigning the bug report. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany| lose things."Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421