I successfully downloaded and installed Samsung Unified Linux Printer Driver for Samsung M2020W Printer. The latest cups is already installed. Both power cable and printer USB cable are firmly connected to the printer. However, I cannot configure the printer for first use. I tried the following:
Via Configure Desktop > Printers
The “Password -System Settings” window asks for the root password. I enter my root password, but it says “wrong user name or password”. I use the same password for logging into Leap, or YAST without any problems. This particular window keeps asking for password for user “root”.
Via YAST > Hardware > Printer Configurations
The screen says “There is no print queue”
I have successfully done this many times before in Leap 42.2, Tumbleweed, Fedora 25 and Debian 8 on the same PC. This is the first time I run into problems configuring Samsung M2020 printer in Leap 42.3. Any suggestions?
I use Firefox browser. How do I find localhost in the browser?
Please note that both cups and ghostscript are already installed. All other Linux OS’s including Tumbleweed, Fedora 26 and Debian 9 have the printer working.
I got “cups 1.7.5” page after typing “localhost:631” in Firefox’s address bar.
The following is copied from localhost:631/admin/log/error_log tab of the same page:
E [13/Jul/2017:12:08:24 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:08:26 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:08:37 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:08:40 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:09:00 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:09:02 -0400] [Client 17] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [13/Jul/2017:12:09:38 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:09:41 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:10:35 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:10:38 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:11:12 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:11:15 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:11:44 -0400] [Client 17] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:12:00 -0400] [Client 15] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [13/Jul/2017:12:12:23 -0400] [Client 15] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:12:25 -0400] [Client 15] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:20:42 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:20:44 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:21:08 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:21:40 -0400] [Client 16] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [13/Jul/2017:12:22:32 -0400] [Client 16] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:22:34 -0400] [Client 16] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:24:16 -0400] [Client 17] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [13/Jul/2017:12:29:28 -0400] [Client 13] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:29:29 -0400] [Client 13] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:29:59 -0400] [Client 13] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:30:36 -0400] [Client 14] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
E [13/Jul/2017:12:30:45 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:30:47 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:31:02 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:31:05 -0400] [Client 14] pam_authenticate() returned 7 (Authentication failure)
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M332xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M262xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/ML-2160sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/SF-760sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M267xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/ML-2540sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M301xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLX-3160sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-600sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M283xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/C420sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-310sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLX-3170sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M306xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M2070sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-610sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-300sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/K2200sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLX-216xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/ML-2950sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLX-6220sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/C410sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/SCX-472xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M337xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M2020sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/SCX-4650sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/M288xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-620sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/SCX-470xsc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-320sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-360sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLX-3180sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/SCX-3400sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/CLP-660sc.cts”!
E [13/Jul/2017:12:33:00 -0400] [cups-driverd] Bad driver information file “/usr/share/cups/model/uld-samsung/cms/C43xsc.cts”!
It’s not clear to me why that was needed. I’m away from my Linux machines for the next few days so can’t investigate further. Usually entering the credentials for the administrator (SystemGroup) defined in cupsd.conf should be sufficient. Maybe security setting related?
I was not trying to edit the file. I clicked on the file to see if I can read it.
su -c "nano /etc/cups/cupsd.conf"
bash: nano: command not found
ls -l /etc/cups/cupsd.conf
-rw-r----- 1 root lp 6244 Jun 14 04:50 /etc/cups/cupsd.conf
In Yast2 > User & Group Management, via Set Filter, I saw that root belongs to the System Users Group. But when I tried to configure the printer, a dialog box appears with user = root. When I provide root’s password, it says “Wrong user name or password”.
The choice of nano was just a CLI editor example, with the ‘su -c’ command to show you how to launch it (as root) from a user terminal. You obviously don’t have it installed, and so that would be the first step.
You could also just view it using
cat /etc/cups/cupsd.conf
In Yast2 > User & Group Management, via Set Filter, I saw that root belongs to the System Users Group. But when I tried to configure the printer, a dialog box appears with user = root. When I provide root’s password, it says “Wrong user name or password”.
The CUPS administrator is defined in cups-files.conf typically (it used to be in cupsd.conf in earlier CUPS versions).
For reference, I get (as expected)
cat cups-files.conf|grep Sys
SystemGroup root
I’m not sure why your root credentials aren’t working as expected though.
Yast2 >User & Group Management > Set Filter > System Groups > Root (Group)
**Add my userid to the Root Group > Apply
**
Then I was able to add the ** .ppd **file suitable to Samsung M2020 series printer to the printer configuration box.