Results 1 to 3 of 3

Thread: System update broke xorg.conf

  1. #1
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,704

    Default System update broke xorg.conf

    System update today

    I have an xorg.conf because I have and odd ball monitor through a KVM (1600x900) and I have to force things but the update of xorg-X11 files wiped my /etc/X11/xorg.conf file

    Ok I guess I should move stuff to xorg.conf.d but the update should not mess with existing xorg.conf files

    All is good now but I thought a heads up was in order

  2. #2

    Default Re: System update broke xorg.conf

    Probably done by this postinstall script of xorg-x11-server:
    Code:
    # Move SaX2 generated xorg.conf file to xorg.conf.sle11
    #
    # Only in very rare cases a static X configuration is still
    # required on sle12. And, in some cases the migration from a
    # static sle11 X configuration to a static sle12 X configuration
    # is not possible at all, e.g. some video and input drivers
    # are no longer available on sle12. In short, trying to migrate
    # will result in more harm than benefit.
    if [ -f etc/X11/xorg.conf -a ! -f etc/X11/xorg.conf.sle11 ]; then
      echo "xorg.conf exists and xorg.conf.sle11 does not"
      if grep -q "SaX generated X11 config file" etc/X11/xorg.conf; then
        echo "move SaX generated xorg.conf to xorg.conf.sle11"
        mv etc/X11/xorg.conf{,.sle11}
        # remove dangling link (bnc#879360, comment#15)
        rm -f etc/X11/XF86Config
        # prevent %postun of NVIDIA/fglrx driver packages from restoring xorg.conf
        # backup or running sax2 as fallback to create a new xorg.conf (bcn#877315)
        rm -f etc/X11/xorg.conf.nvidia-post \
              etc/X11/xorg.conf.fglrx-post
        chmod -x usr/sbin/sax2
      fi
    fi
    This would rename /etc/X11/xorg.conf to /etc/X11/xorg.conf.sle11 if it contains the comment "SaX generated X11 config file".

    Do you have an /etc/X11/xorg.conf.sle11 now?
    OTOH, this was already part of the package shipped with 13.2, so it should have happened during the upgrade already.

    And one question is why this is part of the openSUSE package...

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,704

    Default Re: System update broke xorg.conf

    Yes I do ..

    Took a bit to figure the problem but I just moved the xorg.conf over from my 13.1 partition

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •