Attempting to enable mirrored displays on a fresh Ubuntu install fails when not root - missing dependency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
screen-resolution-extra (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-control-
This is a fresh install of Ubuntu Karmic 9.10. gnome-control-
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-
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-
Traceback (most recent call last):
File "/usr/share/
self.conf = get_xkit_service()
File "/usr/share/
granted = policy_
File "/usr/lib/
granted = self.auth_
File "/usr/lib/
'org.
File "/usr/lib/
follow_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
'su', (bus_name, flags)))
File "/usr/lib/
message, timeout)
dbus.exceptions
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
os.
OSError: [Errno 13] Permission denied: '/var/crash/
Original exception was:
Traceback (most recent call last):
File "/usr/share/
self.conf = get_xkit_service()
File "/usr/share/
granted = policy_
File "/usr/lib/
granted = self.auth_
File "/usr/lib/
'org.
File "/usr/lib/
follow_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
'su', (bus_name, flags)))
File "/usr/lib/
message, timeout)
dbus.exceptions
^CTraceback (most recent call last):
File "/usr/share/
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/
LiveMediaBuild: Ubuntu 9.10 "Karmic Koala" - Beta amd64 (20090929.2)
NonfreeKernelMo
Package: gnome-control-
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gnome-control-
Uname: Linux 2.6.31-11-generic x86_64
Related branches
affects: | gnome-control-center (Ubuntu) → screen-resolution-extra (Ubuntu) |
I am having the same problem, but it is when trying to disable mirrored displays (as explained in the description of the bug), not when enabling it (as the title says).
I have a Dell Latitude D420 with an Intel Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller and I am running a fresh install of Ubuntu 9.10 (Karmic Koala) with updates.
When I boot with an external monitor I get a bad resolution because by default the screens are mirrored, even when the lid of the notebook is closed.
When I untick Mirror screens and increase the resolution, the screens gets black with only the cursor visible, but it doesn't move. I have to do a hard reset.
The error is repeatable, even on the live cd. But it is strange that on my previous instalation of Ubuntu 9.10 on the same computer I did not experience this bug. It could be some update that broke it, but as I said, I get the same error from the live cd (with no updates).
Unfortunately, I was not able to gather much information. Running gnome-display- properties from the console and redirecting the output I only get (from the standard error): display- properties: 2149): Gtk-WARNING **: Ignoring the separator setting display- properties: 2149): Gtk-WARNING **: No object called:
(gnome-
(gnome-
I have enabled apport, but there is no apport.log in /var/log/ and /var/crash is empty.
As suggested, I installed policykit-gnome and its dependencies, even when policykit-1-gnome was already installed, but it did not fix the problem for me.
Eventually I found a workaround: untick Mirror screens, select the monitor of the notebook and switch the radio buttom to off.