Bug 106553 - impossible to enter printers ; error message when opening printer settings
Summary: impossible to enter printers ; error message when opening printer settings
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: kcmprintmgr (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 13:52 UTC by Daniel Moyne
Modified: 2018-09-04 18:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Moyne 2005-05-31 13:52:29 UTC
Version:            (using KDE 3.4.0%2C%2520Debian%2520Package%25204%253A3.4.0-0ubuntu3.2%2520%283.1%29)
Compiler:          gcc%2520version%25203.3.5%2520%28Debian%25201%253A3.3.5-8ubuntu2%29
OS:                Linux%2520%28i686%29%2520release%25202.6.10-5-686

I can only add printers in root mode ; when opening Kcontrol / printers I have thge following error message when initializing printer server :
- impossible to extract the printer list,
- connexion to CUPS failed,
- cannot find host !

Though if I use "Add printer" I can configure a printer but cannot add it to the user list as at the end of this process the printer does not appear as added.

I can only add printers in root mode though I have the same error message at the beginning !
Comment 1 Michael Goffioul 2005-05-31 15:56:14 UTC
Can you check the KDEPrint settings, especially the CUPS-related options: "kaddprinterwizard --kdeconfig"

Michael.
Comment 2 Daniel Moyne 2005-06-01 12:40:10 UTC
even by changing Cups user password in this printerwizard it is the same problem ; furthermore if I click on Superuser mode I get nothing with KDE Control Center > Printers ; Ubuntu is supposed to put some restriction on Task Administration when using port 631 ; can this explain that ?
Comment 3 Michael Goffioul 2005-06-01 15:21:33 UTC
Are the CUPS server and port correctly set in the KDEPrint settings?
Can you access the CUPS web interface http://<servername>:631?
Comment 4 Daniel Moyne 2005-06-01 16:00:08 UTC
(1) I have part of the answer for the bug : my machine name is "azun" but if I put azun as server name it does not work ; I have to put "localhost" which does not make sense as both have the same IP 127.0.0.1 ; my "hosname" file under "/etc" contains "azun" ; my "host" file under "/etc" contains the following line :
127.0.0.1 localhost.localdomain localhost azun.home.fr azun

Do you see anything wrong with this ?

(2) Now if I try to access the cups server with local host through http://localhost:631 I can but when trying to open "Tasks administration" I have to supply user name + password and those supplied through "kaddprinterwizard --kdeconfig" are not accepted which again does not make sense.

(3) This wizard is a little bit puzzling as any user can execute it and enter different informations for the same server which again does not make sense.

Can you please clarify ; regards.
Comment 5 Michael Goffioul 2005-06-02 09:23:16 UTC
(1) I don't see anything wrong, but it looks mor like a network config problem than a kdeprint problem.

(2)-(3) You need to understand that kdeprint is a graphical layer built on top of an independent print spooler (CUPS), which has its own configuration. When using the wizard, you provide the few settings that kdeprint needs to know to work with the internal CUPS server: the server/port to connect to, the default username to use in case the server asks for authentication (the password is not saved for security reasons). This means that by specifying those, you don't configure the CUPS server at all, you configure your KDE desktop and it doesn't impact the server configuration in any way.
When you use http://localhost:631, you connect directly to the CUPS server without using kdeprint. When entering "Task administration", CUPS is usually configured to require that you provide administrator username/password. This is CUPS-only and it of course doesn't look in your desktop configuration.

Michael.
Comment 6 Cristian Tibirna 2005-08-22 17:25:22 UTC
UNCONFIRMED (batch reassigning messed this)
Comment 7 FiNeX 2008-12-30 16:52:52 UTC
@Daniel: can you still reproduce this bug using a more recent KDE version? 

Probably it was a downstram issue.
Comment 8 Andrew Crouthamel 2018-09-04 18:00:45 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Kcontrol has been replaced by System Settings in Plasma. Please give the latest version of that a try, and open a new bug in "systemsettings" if you continue to have an issue. Thank you!