displayconfig: couldn't connect to X server

Bug #108314 reported by pokpok
6
Affects Status Importance Assigned to Milestone
displayconfig-gtk (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Binary package hint: displayconfig-gtk

hardware: amilo 1650G (turion64 ML-32, 1GB, 80GB, radeon express 200m: 1280x800)
software: 7.04 beta up-to-date

everything was working correctly for 3 weeks
after one of apt-get dist-upgrade -- noticed X errors listed below (X Error: BadDevice), but everything was working OK

today:
external monitor connected (first time)
displayconfig set to two monitors (lcd & CRT different content)
after X restart desktop switched to about 2000x1000
displayconfig doest not work anymore

error messages given by displayconfig:

X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode: 144
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode: 144
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
  File "/usr/bin/displayconfig", line 1720, in <module>
    displayapp = DisplayApp()
  File "/usr/bin/displayconfig", line 437, in __init__
    self.xf86server = xf86misc.XF86Server()
  File "/usr/share/python-support/kde-guidance/xf86misc.py", line 133, in __init __
    raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in ap port_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
IndexError: list index out of range

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/displayconfig", line 1720, in <module>
    displayapp = DisplayApp()
  File "/usr/bin/displayconfig", line 437, in __init__
    self.xf86server = xf86misc.XF86Server()
  File "/usr/share/python-support/kde-guidance/xf86misc.py", line 133, in __init __
    raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.
u@u-laptop:~$ sudo displayconfig
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode: 144
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
  Major opcode: 144
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Traceback (most recent call last):
  File "/usr/bin/displayconfig", line 1720, in <module>
    displayapp = DisplayApp()
  File "/usr/bin/displayconfig", line 437, in __init__
    self.xf86server = xf86misc.XF86Server()
  File "/usr/share/python-support/kde-guidance/xf86misc.py", line 133, in __init__
    raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/apport_python_hook.py", line 44, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwdu(), sys.argv[0]))
IndexError: list index out of range

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/displayconfig", line 1720, in <module>
    displayapp = DisplayApp()
  File "/usr/bin/displayconfig", line 437, in __init__
    self.xf86server = xf86misc.XF86Server()
  File "/usr/share/python-support/kde-guidance/xf86misc.py", line 133, in __init__
    raise XF86Error, "Couldn't connect to X server."
xf86misc.XF86Error: Couldn't connect to X server.

Michael Vogt (mvo)
Changed in displayconfig-gtk:
importance: Undecided → Medium
Revision history for this message
Bryce Harrington (bryce) wrote :

The BadDevice errors are red herrings - they're just warning messages printed because of the hardcoded wacom tablet entries in xorg.conf; comment out those devices in xorg.conf and the error messages will go away.

The real issue is the cannot connect to X server error.

Changed in displayconfig-gtk:
status: New → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

Thank you for reporting this bug and for your efforts to make Ubuntu better. As Xorg has improved this past year, an unfortunate side effect of these improvements is that it has rendered several design assumptions in displayconfig-gtk obsolete. So, starting with Hardy we are no longer putting displayconfig-gtk forth as a primary configuration tool, and are putting our development focus into the Screen Resolution applet. As a result, we do not plan to fix this bug and thus are closing it.

For more background on this change, please see this page: [WWW] https://wiki.ubuntu.com/X/DisplayConfigGtk

Changed in displayconfig-gtk:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.