The i3 FAQ has migrated to https://www.reddit.com/r/i3wm/. All content here is read-only.
Ask Your Question
0

system-config-printer root permissions (policykit?)

asked 2014-11-21 09:00:31 +0000

peterN gravatar image

updated 2014-11-21 09:05:43 +0000

Running system-config-printer in a regular user account on debian does raise an exception when I use the unlock button (it in order to modify/add printers):

(system-config-printer.py:10425): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
enter code here

(system-config-printer.py:10425): Gtk-WARNING **: Error acquiring permission: Failed to acquire permission for action-id org.opensuse.cupspkhelper.mechanism.all-edit

My Login-Manager is lightdm.

In another FAQ FAQ question root policykit was mentioned.

Any help for further analysis or improvements appreciated.

edit retag flag offensive close merge delete

Comments

Can you take a look at `system-config-printer.py`? The WARNING seems to be on line 10425. My file has only 2198 lines.

cee gravatar imagecee ( 2014-11-21 10:46:08 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-21 09:08:03 +0000

cee gravatar image

updated 2014-11-21 09:24:49 +0000

Do you belong to the right group?

On my Arch-Linux /var/spool/cups is owned by = root:lp. Therefore either I need to be root (sudo) or belong to group lp to execute cups magic.

EDIT:
Link to Arch Wiki entry about cups with some trouble-shooting tips.

edit flag offensive delete link more

Comments

thx for your feedback. Yes, I am member of lp group plus the lpadmin group that is refered to in cups. running /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 by itself runs into the first exeception mentioned im my original post

peterN gravatar imagepeterN ( 2014-11-21 10:35:24 +0000 )edit

This thread https://bbs.archlinux.org/viewtopic.php?id=116736 could also be related to your problem.

cee gravatar imagecee ( 2014-11-21 10:50:54 +0000 )edit

Question Tools

Stats

Asked: 2014-11-21 09:00:31 +0000

Seen: 594 times

Last updated: Nov 21 '14