configure-x.sh generates broken xorg.conf files from lts.conf

Bug #199675 reported by Jamie Zawinski
6
Affects Status Importance Assigned to Milestone
ltsp (Ubuntu)
Won't Fix
Undecided
Unassigned
Hardy
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: ltsp-client-core

Many of the options available in /var/lib/tftpboot/ltsp/i386/lts.conf
don't work properly.

There are five different bugs here; forgive me for lumping them
all together, but they all come to down to "configure-x.sh is
pretty broken".

1: When I specify

        XKBOPTIONS = "ctrl:nocaps"

it is ignored, because it is overridden by
/opt/ltsp/i386/etc/default/console-setup.
The priority of those should go the other way.

2: When I specify

        X_MOUSE_DEVICE = "/dev/gpmdata"
        X_MOUSE_PROTOCOL = "MouseSystems"

I get a "Mouse1" that does that, but "Mouse0" is still using
/dev/input/mice! The reason that I'm using gpm is so that I
can re-map the mouse buttons, and this doesn't help at all.
When I specify X_MOUSE_DEVICE, it must *override* the default
mouse, not turn into an *additional* mouse.

3: Furthermore, it creates an xorg.conf file with a syntax error.
It writes:

 Option Device /dev/gpmdata

but that causes an error unless those strings are quoted, like:

 Option "Device" "/dev/gpmdata"

4: There is no way to turn off DPMS. I need a way to add the line

 Option "DPMS" "off"

5: There is no way to specify that the DRI module must not be loaded.
I need a way to *delete* the line

 Load "dri"

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"

ltsp-client-core:
  Installed: (none)
  Candidate: 5.0.39
  Version table:
     5.0.39 0
        500 http://archive.ubuntu.com gutsy/main Packages

Oliver Grawert (ogra)
Changed in ltsp:
importance: Undecided → Medium
milestone: none → ubuntu-8.04.1
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into -proposed, please test and give feedback here

Steve Langasek (vorlon)
Changed in ltsp:
milestone: ubuntu-8.04.1 → none
Revision history for this message
Oliver Grawert (ogra) wrote :

see the excerpt from the package changelog in hardy-proposed:

 * make sure the users XKBOPTIONS setting in lts.conf overrides console-setup
     (partially LP: #199675)
   * add support for ten options to adjust monitor settings in xorg.conf
     (X_MONITOR_OPTION_01-10) to make things like 'Option "DPMS" "off"'
     available through lts.conf (partially LP: #199675)
   * make sure X_MOUSE_DEVICE is properly quoted if added to xorg.conf
     (partially LP: #199675)

please test these fixes, they were all tested locally and used for two weeks by me, but an independent comment would be useful to get the package promoted to hardy-updates and on the hardy 8.04.1 CD

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in ltsp:
status: Fix Committed → Fix Released
Revision history for this message
Oliver Grawert (ogra) wrote :

input handling in Xorg 1.5 (whic is used in intrepid) completely changed to hal-input, if bugs like that show up in intrepid they need to be fixed in hal

Changed in ltsp:
status: New → 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.