opensuse 13.1 adding epson sx435w network printer problems

I had opensuse 12.3 working fine
installed clean opensuse 13.1 64bit onto clean formatted root/.had a separate home partition that i kept from 12.3.
install went ok had problem with networkmanager not starting and no network.had similar problem wth 12.3 sorted that ok

Trying to setup epson sx435w set to 192.168.0.200 fixed with dhcp

down loaded drivers for epson printer and installed
epson-inkjet-printer-201105w-1.0.0-1lsb3.2.x86_64.rpm

epson-inkjet-printer-escpr-1.3.0-1lsb3.2.x86_64.rpm

but when i try installing in
I get this.The printer is detected but no setting to the right
https://www.dropbox.com/s/ppdi5tcuijjdnyk/snapshot1.png
and can’t add anything.
in cups on a web browser
http://localhost:631/admin/
when i try to add printer Iget
Add Printer ErrorUnable to add printer:
ForbiddenImage of web page

https://www.dropbox.com/s/gq4nkmqoccphku3/snapshot2.png

I think its a rights issue in cups .don’t know where it go from here.could it be something to do with old 12.3 home partition.
never posted before sorry if i messed up

When you accessed the CUPS web page, did you provide your root credentials?

update just tried cups on web.
http://localhost:631/
But used root user and root password and that seems to have worked.should have thought of that before.

Still don’t understand why it did not work in system setting ,hardware, printer.I was logging in as root ,password
system setting hardware printer now has my printer in it but still can’t add printer in there though.
Nice if someone know what i am doing wrong though.

Good… as expected.

Still don’t understand why it did not work in system setting ,hardware, printer.I was logging in as root ,password
system setting hardware printer now has my printer in it but still can’t add printer in there though.

I Don’t know (as I never use that KDE utility). That might come down to polkit authorization…

Thanks for the fast response to question.
.

This was a clean install of opensuse 13.1 64 bit.
I Looked into problem setting printer options in system settings.
Though printer is now added i cant change setting as a user.
I create a new user and has the same problem there
When i try to change configure printer When printer setting is sellected to askes for root login and password.Then when i try to change default from color to black and white it asks to authenticate again and the dialog boxes get in a mess .The auth box goes behind main settings box and can’t input anything in authentication box .I have to close main printer setting dialog box.

So i tried running
systemsettings cli command in a root terminal
it works can change settings ok.
following info in
Chapter
It looks to me that polkit it default see
section of
/etc/polkit-default-privs.standard

system-config-printer

org.opensuse.cupspkhelper.mechanism.printer-set-default auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printer-enable auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printer-local-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printer-remote-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.class-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.server-settings auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printeraddremove auth_admin_keep
org.opensuse.cupspkhelper.mechanism.job-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.job-not-owned-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.devices-get auth_admin_keep
org.opensuse.cupspkhelper.mechanism.all-edit auth_admin_keep

I ran as root
set_polkit_default_privs

made no difference

Though I can work round this problem now just interested to see if this is a issue with 13.1 .

I don’t seem to have this file or this directory .Is this still ment to be there in 13.1
/etc/PolicyKit/PolicyKit.conf.

It looks to me that polkit it default see
section of
/etc/polkit-default-privs.standard

system-config-printer

org.opensuse.cupspkhelper.mechanism.printer-set-default auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printer-enable auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printer-local-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printer-remote-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.class-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.server-settings auth_admin_keep
org.opensuse.cupspkhelper.mechanism.printeraddremove auth_admin_keep
org.opensuse.cupspkhelper.mechanism.job-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.job-not-owned-edit auth_admin_keep
org.opensuse.cupspkhelper.mechanism.devices-get auth_admin_keep
org.opensuse.cupspkhelper.mechanism.all-edit auth_admin_keep

I ran as root
set_polkit_default_privs

made no difference

No, you need to adjust policies by editing /etc/polkit-default-privs.local

For example, adjusting the following policy (so that user in active session can addd printer without root credentials)

org.opensuse.cupspkhelper.mechanism.printeraddremove auth_admin:auth_admin:yes

then run ‘set_polkit_default_privs’

I don’t seem to have this file or this directory .Is this still ment to be there in 13.1
/etc/PolicyKit/PolicyKit.conf.

Long gone - superseded by the evolving polkit.

I have now edited
/etc/polkit-default-privs.local added

system-config-printer

org.opensuse.cupspkhelper.mechanism.printer-set-default auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printer-enable auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printer-local-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printer-remote-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.class-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.server-settings auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printeraddremove auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.job-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.job-not-owned-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.devices-get auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.all-edit auth_admin:auth_admin:yes

run /sbin/set_polkit_default_privs
tested still asking for authentication in setting printer
did not know if would change straight away so rebooted .still no good.
cant understand why this is not working as with was a clean install of 13.1.
list of polkit messages in log
m bus name :1.174, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
messages:2013-11-20T18:06:05.563696+00:00 asus dbus[635]: [system] Activating via systemd: service name=‘org.freedesktop.PolicyKit1’ unit=‘polkit.service’
messages:2013-11-20T18:06:07.954588+00:00 asus polkitd[694]: Started polkitd version 0.112
messages:2013-11-20T18:06:08.563738+00:00 asus polkitd[694]: Loading rules from directory /etc/polkit-1/rules.d
messages:2013-11-20T18:06:08.564378+00:00 asus polkitd[694]: Loading rules from directory /usr/share/polkit-1/rules.d
messages:2013-11-20T18:06:08.569063+00:00 asus polkitd[694]: Finished loading, compiling and executing 3 rules
messages:2013-11-20T18:06:08.571207+00:00 asus polkitd[694]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
messages:2013-11-20T18:07:03.236326+00:00 asus polkitd[694]: Registered Authentication Agent for unix-session:1 (system bus name :1.39 [/usr/lib64/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
messages:2013-11-20T18:17:10.043788+00:00 asus polkitd[694]: Reloading rules
messages:2013-11-20T18:17:10.044334+00:00 asus polkitd[694]: Collecting garbage unconditionally…
messages:2013-11-20T18:17:10.234524+00:00 asus polkitd[694]: Loading rules from directory /etc/polkit-1/rules.d
messages:2013-11-20T18:17:10.235931+00:00 asus polkitd[694]: Loading rules from directory /usr/share/polkit-1/rules.d
messages:2013-11-20T18:17:10.261248+00:00 asus polkitd[694]: Finished loading, compiling and executing 3 rules
messages:2013-11-20T18:17:10.261764+00:00 asus polkitd[694]: Reloading rules
messages:2013-11-20T18:17:10.262140+00:00 asus polkitd[694]: Collecting garbage unconditionally…
messages:2013-11-20T18:17:10.262519+00:00 asus polkitd[694]: Loading rules from directory /etc/polkit-1/rules.d
messages:2013-11-20T18:17:10.262941+00:00 asus polkitd[694]: Loading rules from directory /usr/share/polkit-1/rules.d
messages:2013-11-20T18:17:10.265904+00:00 asus polkitd[694]: Finished loading, compiling and executing 3 rules
messages:2013-11-20T18:17:11.351375+00:00 asus polkitd[694]: Reloading rules
messages:2013-11-20T18:17:11.352509+00:00 asus polkitd[694]: Collecting garbage unconditionally…
messages:2013-11-20T18:17:11.353487+00:00 asus polkitd[694]: Loading rules from directory /etc/polkit-1/rules.d
messages:2013-11-20T18:17:11.354966+00:00 asus polkitd[694]: Loading rules from directory /usr/share/polkit-1/rules.d
messages:2013-11-20T18:17:11.357838+00:00 asus polkitd[694]: Finished loading, compiling and executing 3 rules
messages:2013-11-20T18:17:11.361842+00:00 asus polkitd[694]: Reloading rules
messages:2013-11-20T18:17:11.362317+00:00 asus polkitd[694]: Collecting garbage unconditionally…
messages:2013-11-20T18:17:11.362718+00:00 asus polkitd[694]: Loading rules from directory /etc/polkit-1/rules.d
messages:2013-11-20T18:17:11.363107+00:00 asus polkitd[694]: Loading rules from directory /usr/share/polkit-1/rules.d
messages:2013-11-20T18:17:11.365080+00:00 asus polkitd[694]: Finished loading, compiling and executing 3 rules

thanks for help I might dig into rules.d directory to see what is in there
ph:sarcastic:

I have looked at /etc/sysconfig/security
security file contents below.do they look right as chapter 9 policykit talks about restrictive and standard.
have tried yes no and yast POLKIT_DEFAULT_PRIVS makes no difference.

Chapter

Type: string

Default: “standard”

Config: set_polkit_default_privs

SUSE ships with two sets of default privilege settings. These are

“standard” and “restrictive”.

Examples: “standard”, “restrictive foo bar”

If not set the value depends on the setting of

PERMISSION_SECURITY. If PERMISSION_SECURITY contains ‘secure’ or

‘paranoid’ the value will be ‘restrictive’, otherwise ‘standard’.

The ‘local’ file is always evaluated and takes precedence over all

other files.

POLKIT_DEFAULT_PRIVS=""

Type: list(yes,yast,no)

Default: yes

When working with packages and installation sources, check keys

and signatures: yes = in YaST and ZENWorks, yast = in YaST, no =

no checking.

CHECK_SIGNATURES=“yes”

I will carry on digging around was looking for a debug option to see resultant policies being applied.

You did run the command as root?

Check that the desired policies have been invoked with ‘pkaction --verbose --action-id’

For example

pkaction --verbose --action-id org.opensuse.cupspkhelper.mechanism.printeraddremove

To list all active policies

pkaction --verbose

Definitely root prompt #
this is the output for command
org.opensuse.cupspkhelper.mechanism.printer-set-default:
description: Set a printer as default printer
message: Privileges are required to set a printer, or a class, as default printer.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.printer-enable:
description: Enable/Disable a printer
message: Privileges are required to enable/disable a printer, or a class.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.printer-local-edit:
description: Add/Remove/Edit a local printer
message: Privileges are required to add/remove/edit a local printer.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.printer-remote-edit:
description: Add/Remove/Edit a remote printer
message: Privileges are required to add/remove/edit a remote printer.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.class-edit:
description: Add/Remove/Edit a class
message: Privileges are required to add/remove/edit a class.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.server-settings:
description: Get/Set server settings
message: Privileges are required to get/set server settings.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.printeraddremove:
description: Add/Remove/Edit a printer
message: Privileges are required to add/remove/edit a printer.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.job-edit:
description: Restart/Cancel/Edit a job
message: Privileges are required to restart/cancel/edit a job.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: yes

org.opensuse.cupspkhelper.mechanism.job-not-owned-edit:
description: Restart/Cancel/Edit a job owned by another user
message: Privileges are required to restart/cancel/edit a job owned by another user.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.devices-get:
description: Get list of available devices
message: Privileges are required to get list of available devices.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

org.opensuse.cupspkhelper.mechanism.all-edit:
description: Change printer settings
message: Privileges are required to change printer settings. This should only be needed from the Printers system settings panel.
vendor: The openSUSE Project
vendor_url: openSUSE.org
icon: printer
implicit any: auth_admin
implicit inactive: auth_admin
implicit active: auth_admin_keep

sorry not sure about implicit meanings
iv re run setting may time and tested keep asking.look to me the are not changing
iv tided file up
/etc/polkit-default-privs.local

In particular, this file will not be touched during an upgrade of the

installation. It is designed to be a placeholder for local

additions by the administrator of the system.

Note that you need to run /sbin/set_polkit_default_privs for auth_admin:auth_admin:yes

changes to take effect.

Format:

<privilege> <any>:<inactive>:<active>

system-config-printer

org.opensuse.cupspkhelper.mechanism.printer-set-default auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printer-enable auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printer-local-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printer-remote-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.class-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.server-settings auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.printeraddremove auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.job-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.job-not-owned-edit auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.devices-get auth_admin:auth_admin:yes
org.opensuse.cupspkhelper.mechanism.all-edit auth_admin:auth_admin:yes

re run command same problem
cant see in the above but there is gaps where needed.
maybe give up an this one don’t like to I like to sort it out.from default install i didnt do much.only thing i can think of that might mess things up was instal virtualbox 4.3.2
had to run a command that ran a make
zypper in gcc make kernel-devel
/etc/init.d/vboxdrv setup
can’t see it being that though.

None of your ‘org.opensuse.cupspkhelper…’ policies appear to have changed from default. Did you really run ‘set_polkit_default_privs’ as root?

have tried this in fileorg.opensuse.cupspkhelper.mechanism.printer-set-default yes:yes:yesorg.opensuse.cupspkhelper.mechanism.printer-enable yes:yes:yes
org.opensuse.cupspkhelper.mechanism.printer-local-edit yes:yes:yes
org.opensuse.cupspkhelper.mechanism.printer-remote-edit yes:yes:yes
org.opensuse.cupspkhelper.mechanism.class-edit yes:yes:yes
org.opensuse.cupspkhelper.mechanism.server-settings yes:yes:yes
org.opensuse.cupspkhelper.mechanism.printeraddremove yes:yes:yes
org.opensuse.cupspkhelper.mechanism.job-edit yes:yes:yes
org.opensuse.cupspkhelper.mechanism.job-not-owned-edit yes:yes:yes
org.opensuse.cupspkhelper.mechanism.devices-get yes:yes:yes
org.opensuse.cupspkhelper.mechanism.all-edit yes:yes:yes

don’t know if you can do this but it makes o difference to output of pkaction

just got your message yes definitely root .

the file permissions on 3 files to
asus:/etc # ls -la ./pol*
-rw-r–r-- 1 root root 1233 Nov 20 20:15 ./polkit-default-privs.local
-rw-r–r-- 1 root root 24744 Oct 23 18:37 ./polkit-default-privs.restrictive
-rw-r–r-- 1 root root 29291 Oct 23 18:37 ./polkit-default-privs.standard

./polkit-1:
total 20
drwxr-xr-x 3 root root 4096 Nov 6 20:00 .
drwxr-xr-x 128 root root 12288 Nov 20 20:15 …
drwx------ 2 polkitd root 4096 Nov 20 20:18 rules.d

is that right rules.d is polkitd.

Sorry for more posts but cant add to old
looked in
/etc/polkit-1/rules.d /90-default-privs.rules file
definitely changed values in here
so running command is working ?

I’m not sure what else to advise. If you have have defined your custom privileges in etc/polkit-default-privs.local (with editor as root), and run ‘set_polkit_default_privs’, then the changes should be reflected in the pkaction output, and the new privileges should be active.

Do you have KDE set up to start a new session on login? (System Settings >> System Administration >> Startup and Shutdown >> ‘Start with an empty session’

It’s entirely possible I’ve overlooked something new, but perhaps you’ve encountered a bug that I’m not aware of…

Nothing of interest in the changelog (that I can see)

polkit-default-privs-13.1-9.1.noarch RPM

did this made no difference
i tried a new profile (windows term i think) new user same problem
think will leave it at this thanks for help learnt something on the way
i will probably try a virtualbox machine install same as i did this time, but is probably won’t prove anything .can’t see it being like this for everyone.
i can always setup a command kdesu systemsettings for now
ph

setup virtualbox using default kde 13.1 64bit install disk these answers on install
virtualbox 4.3.2
install dvd 13.1 64 bit
install
language
uk
uk
next
un tick use automatic configuration
europe uk
next
kde
next
propose separate home partition
use proposed setting for partition
put name password in
autologin and use pass for sys admin
password too simple warning yes want to use

printed settings
hostname
asustest home.local
2 boxed un ticked default

ended up with same results can’t change policies rights for printing in kde settings
so I think its a bug?
ph