From owner-freebsd-ports@FreeBSD.ORG Mon Feb 15 03:24:37 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D25D6106566B for ; Mon, 15 Feb 2010 03:24:37 +0000 (UTC) (envelope-from duncan.young@pobox.com) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 937378FC14 for ; Mon, 15 Feb 2010 03:24:37 +0000 (UTC) Received: from compute1.internal (compute1 [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 0573BD1C9D for ; Sun, 14 Feb 2010 22:05:11 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 14 Feb 2010 22:05:11 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:date:mime-version:content-type:content-transfer-encoding:message-id; s=smtpout; bh=Z9C7o9sT7rrk7TF29F2MpXP9bT0=; b=LFxb6Yo5SUccL7gWOdtmvAYDtge0nU2h2XlkSlGsZFMx1ra7nvgDlklPnp/uMXoBpcYVHGjm/WEsQT+XGlFT9c9PMBz7dGx/rw+beOd9ULtABzSgEhloesfUuo2fhSO9Tk2cy4/iLNcMmEkAG3ifI3rcHYbw3KtwqJzhb0bkdac= X-Sasl-enc: qKL3Jt6iOKlwkleEBpopgayLMgzFV/a4RDMlEisoWPNt 1266203110 Received: from triple0.internal (c122-108-168-198.rochd4.qld.optusnet.com.au [122.108.168.198]) by mail.messagingengine.com (Postfix) with ESMTPSA id 72D3739D14 for ; Sun, 14 Feb 2010 22:05:10 -0500 (EST) Received: from triple0.internal (triple0 [192.168.0.50]) by triple0.internal (Postfix) with ESMTP id 47F417BC5E for ; Mon, 15 Feb 2010 13:05:07 +1000 (EST) From: Duncan Young To: "freebsd-ports" Date: Mon, 15 Feb 2010 13:05:06 +1000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201002151305.06464.duncan.young@pobox.com> Subject: Problems with policykit and printer-applet X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 03:24:38 -0000 Hi all, I'm currently trying to resolve an ongoing issue I have with printer-applet refusing to run for me. The output from running it on the command line is as follows. % printer-applet printer-applet(10724) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1.QEventDispatcherUNIX::unregisterTimer: invalid argument Traceback (most recent call last): File "/usr/local/kde4/bin/printer-applet", line 1161, in applet = JobManager() File "/usr/local/kde4/bin/printer-applet", line 297, in __init__ notification = NewPrinterNotification(bus, self) File "/usr/local/kde4/bin/printer-applet", line 1050, in __init__ bus_name = dbus.service.BusName (PDS_OBJ, bus=bus) File "/usr/local/lib/python2.6/site-packages/dbus/service.py", line 129, in __new__ retval = bus.request_name(name, name_flags) File "/usr/local/lib/python2.6/site-packages/dbus/bus.py", line 306, in request_name 'su', (name, flags)) File "/usr/local/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.44" is not allowed to own the service "com.redhat.NewPrinterNotification" due to security policies in the configuration file I'm running FreeBSD 8.0-RELEASE-p2 on amd64 an have a fairly up to date set of ports. i.e. kdebase-4.3.5 and kdeutils-printer-applet-4.3.5_2. I believe the problem is due to policykit settings, but I must admit I'm not up on how to modify the config files. I believe the relevant file is /usr/local/etc/dbus-1/system.d/newprinternotification.conf. cat Any help would be greatly appreciated Duncan