Public bug reported:

Binary package hint: gnome-control-center

This is a fresh install of Ubuntu Karmic 9.10. gnome-control-center is
at version 2.28.0-0ubuntu2

On a fresh install of Ubuntu on a system with an ATI card and dual-
monitors (no proprietary ATI drivers), I tried to turn off mirroring...

I performed these actions:
1. Selected System / Preferences / Display (which appears to execute 
gnome-display-properties)
2. Unchecked the box for Mirror Displays
3. Dialog box appears asking if I wish to increase my virtual resolution to 
support this mode, and I click yes.
4. The display properties window freezes. Process is still running but no 
longer responding.

When running via the CLI, I see:
(gnome-display-properties:5172): Gtk-WARNING **: No object called: 
Traceback (most recent call last):
  File "/usr/share/screen-resolution-extra/policyui.py", line 184, in 
on_button1_clicked
    self.conf = get_xkit_service()
  File "/usr/share/screen-resolution-extra/policyui.py", line 75, in 
get_xkit_service
    granted = policy_auth.obtain_authorization(POLICY_KIT_ACTION, widget)
  File "/usr/lib/python2.6/dist-packages/ScreenResolution/policykit.py", line 
65, in obtain_authorization
    granted = self.auth_agent.ObtainAuthorization(action_id, xid, pid)
  File "/usr/lib/python2.6/dist-packages/ScreenResolution/policykit.py", line 
91, in __get_auth_agent
    'org.freedesktop.PolicyKit.AuthenticationAgent', '/')
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in 
activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in 
start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The 
name org.freedesktop.PolicyKit.AuthenticationAgent was not provided by any 
.service files
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 100, in 
apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL), 'w')
OSError: [Errno 13] Permission denied: 
'/var/crash/_usr_share_screen-resolution-extra_policyui.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/screen-resolution-extra/policyui.py", line 184, in 
on_button1_clicked
    self.conf = get_xkit_service()
  File "/usr/share/screen-resolution-extra/policyui.py", line 75, in 
get_xkit_service
    granted = policy_auth.obtain_authorization(POLICY_KIT_ACTION, widget)
  File "/usr/lib/python2.6/dist-packages/ScreenResolution/policykit.py", line 
65, in obtain_authorization
    granted = self.auth_agent.ObtainAuthorization(action_id, xid, pid)
  File "/usr/lib/python2.6/dist-packages/ScreenResolution/policykit.py", line 
91, in __get_auth_agent
    'org.freedesktop.PolicyKit.AuthenticationAgent', '/')
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in 
activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in 
start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in 
call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The 
name org.freedesktop.PolicyKit.AuthenticationAgent was not provided by any 
.service files
^CTraceback (most recent call last):
  File "/usr/share/screen-resolution-extra/policyui.py", line 245, in <module>
    gtk.main()

It appears that the display manager is attempting to increase my virtual
resolution, which requires authentication in order to write to those
files, but is failing to find the authentication libraries.

To fix this, I did:

sudo apt-get install policykit-gnome

and then followed the same steps above, but this time was prompted for
my password at step 4 and, upon successfully entering my password,
everything worked.


I would suggest that in dual-monitor situations (or maybe always?) the 
policykit-gnome libraries are required?

ProblemType: Bug
Architecture: amd64
Date: Sat Oct 17 14:56:31 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-display-properties
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Beta amd64 (20090929.2)
NonfreeKernelModules: fglrx
Package: gnome-control-center 1:2.28.0-0ubuntu2
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: gnome-control-center
Uname: Linux 2.6.31-11-generic x86_64

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Attempting to enable mirrored displays on a fresh Ubuntu install fails when not 
root - missing dependency
https://bugs.launchpad.net/bugs/454261
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-control-center in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to