[apport] GUI tools don't handle a missing xorg.conf file correctly

Bug #93749 reported by Clemens on 2007-03-19
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)

Bug Description

Binary package hint: displayconfig-gtk

Just a wild guess here, but this is probably caused by the fact that i don't have a xorg.conf, since xorg 7.2 let's me autoconfig it.

ProblemType: Crash
Architecture: i386
Date: Mon Mar 19 15:53:44 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/displayconfig-gtk
InterpreterPath: /usr/bin/python2.5
Package: displayconfig-gtk 0.2ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/bin/displayconfig-gtk
ProcCwd: /home/clemens
PythonArgs: ['/usr/bin/displayconfig-gtk']
SourcePackage: displayconfig-gtk
Uname: Linux clemens-desktop 2.6.20-12-generic #2 SMP Sun Mar 18 03:07:14 UTC 2007 i686 GNU/Linux

Clemens (clast) wrote :
Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Changed in displayconfig-gtk:
importance: Undecided → Medium
Sebastian Heinlein (glatzor) wrote :

This is an issue in the backend.

Changed in displayconfig-gtk:
status: Unconfirmed → Confirmed

Sorry, I only fixed this for displayconfig-gtk. I will move my changes to the backend.

Changed in kde-guidance:
status: Confirmed → Fix Released
status: Fix Released → In Progress
Fausto Piovesan (faustop) wrote :

This bug is still present in gusty beta.

A missing file is wrongly reported as "You need administrative rights to change all screen settings".

And with a blanc file the app starts with all fields and options blanc

Przemek K. (azrael) wrote :

I can confirm it (bug in gutsy).

Changed in kde-guidance:
assignee: nobody → kitterman
milestone: none → ubuntu-8.04-beta
Scott Kitterman (kitterman) wrote :

I've uploaded an interim fix to my ppa:


This won't be pretty, but in my testing it at least worked.

Please test as follows if you are running Hardy:

Install from the PPA.

Run displayconfig from a konsole window - most display settings will likely be wrong.

If that goes well, then try it as kdesudo:
kdesudo displayconfig

Try changing and applying display resolution and then exit.

Run displayconfig again and see if it has more a more realistic configuration displayed.

Changed in kde-guidance:
importance: Medium → High
Scott Kitterman (kitterman) wrote :

First order fix uploaded. With this fix you will need to select your monitor the first time you use Display and Monitor (displayconfig), then restart X (logout/login), and then set your settings the way you want them. I'll continue working on a better solution, but for the moment at least it doesn't crash.

Changed in kde-guidance:
assignee: kitterman → nobody
status: In Progress → Fix Committed
Scott Kitterman (kitterman) wrote :

kde-guidance (0.8.0svn20080103-0ubuntu6) hardy; urgency=low

  * Bump standards version to 3.7.3 without further change
  * Rename kubuntu_14_displayconfig_survive_no_serverlayout.patch to be
    - Don't crash if xorg.conf is missing (LP: #93749):
      - In xorgconfig, create an emtpy xorg.conf if none exists and lie and
        pretend a minimal, largely generic xorg.conf exists
      - In xorgconfig, if not running with Admin priviledges just trap the no
        xorg.conf error and continue
      - In displayconfig, assume xorg.conf belongs in /etc/X11 and create it
        if it happens to be missing when trying to save out a configuration
      - This is not a fully satisfactory solution to this problem - users will
        have to select their monitor, restart X, and then make their settings
    - In xorgconfig, as previously patched, add a ServerLayout section if an
      existing xorg.conf is missing one (LP: #173768)
  * Add kubuntu_16_displayconfig_no_xrrqueryextention.patch to avoid crashing
    if the XRRQueryExtension is not found (LP: #146945)

Changed in kde-guidance:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers