Version: unspecified (using KDE 4.4.5) OS: Linux When a system is set up with a CUPS server that require authentication, the authentication prompt is on the command line only. As a result, someone who launches system-config-printer-kde from a GUI tool will never see the password prompt and can't properly use system-config-printer-kde. Reproducible: Always Steps to Reproduce: Run kcmshell4 system-config-printer-kde Actual Results: I see a prompt as follows on the command line. Password for my_username on print_server_name Expected Results: I get a GUI password prompt instead The prompt is coming from CUPS. I see the same text prompt when I run "cupsctl". I tried setting stdin to /dev/null, but I still get it. While this is not a problem when someone launches system-config-printer-kde from the command line, I image the majority of the users access system-config-printer-kde through systemsettings. When launching from the command line, I don't see the printer setup GUI until I take some action, e.g. press ctrl+d.
I also experience this on a Gentoo system with KDE 4.6.3 for quite a while now. We have a remote CUPS server that requires authentication via https/ipp. It is not possible to print with KDE apps to a remote CUPS printer without locally configuring it, since KDE apps do not ask for the password for printing. Instead, print jobs will hang until they are manually killed. GNOME apps (like Firefox or LibreOffice) simply ask for the password.
(In reply to comment #1) I should add here that we use the advertisement functionality of CUPS to see the remove printers on the CUPS server. (This part works fine!)
I confirm the bug, it would be nice to get this working (btw, firefox or libreoffice ask a password, but only with a gnome desktop)
I confirm this on ubuntu 12.10 This might also help: Traceback (most recent call last): File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 437, in on_tvMainList_cursor_changed self.fillServerTab() File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 1786, in fillServerTab self.server_settings = self.cups.adminGetServerSettings() File "/usr/share/kde4/apps/system-config-printer-kde/authconn.py", line 218, in <lambda> return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds) File "/usr/share/kde4/apps/system-config-printer-kde/authconn.py", line 226, in _authloop if self._perform_authentication () == 0: File "/usr/share/kde4/apps/system-config-printer-kde/authconn.py", line 405, in _perform_authentication self._perform_authentication_with_dialog () File "/usr/share/kde4/apps/system-config-printer-kde/authconn.py", line 462, in _perform_authentication_with_dialog d = AuthDialog (parent=self._parent) NameError: global name 'AuthDialog' is not defined
The best way to reproduce is to configure a printer in cups that requires a password. This is best accomplished changing the directive OpPolicy from default to authenticated in a printer in /etc/cups/printer.conf Try to print with it using lp[r]. (Note that this is best seen remotely, as a local print server could skip the authentication.) A dialog will ask for the password. Now open a KDE application like kate from a terminal and try to print from it. The same dialog will show in the terminal.
Can confirm bug on openSuSE 12.3 running KDE 4.10 Rainer
There is another bug report that describes the same problem: https://bugs.kde.org/show_bug.cgi?id=230522 After all it seems to be a qt bug, and voting for this qt-bug is recommended (see description of bug 230522). Perhaps this could help to get the bug finally fixed.
"system-config-printer-kde" is no longer maintained and has been replaced with "Print Manager" since KDE 4.10. The new version is a C++ rewrite of the old Python version, and may still lack some features or have some bugs. If this or another issue still needs to be addressed in KDE 4.10 or newer, please add a comment, or report it for "Print Manager".