Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: X server problem story

  1. #1

    Default X server problem story

    I'm using Opensuse 12.3 x86_64 with gigabyte nvidia geforce 6200 graphics card, using nvidia drivers.
    One day last week I turn on the computer and I got no graphics. I thought taht something have gone wrong with graphics initialization so I logged in to a text console and I did

    init 3
    init 5


    but again no graphics.

    Then I tried startx but I got an error reporting that I had to use a display manager or adjust /etc/permission.local, so I edited /ets/permission.local

    Code:
    #
    # /etc/permissions.local
    #
    # This file is used by SuSEconfig and chkstat to check or set the modes
    # and ownerships of files and directories in the installation.
    #
    # In particular, this file will not be touched during an upgrade of the
    # installation. It is designed to be a placeholder for local
    # additions by the administrator of the system to reflect filemodes
    # of locally installed packages or to override file permissions as
    # shipped with the distribution.
    #
    # Format:
    # <file> <owner>:<group> <permission>
    #
    # Please see the file /etc/permissions for general usage hints of the
    # /etc/permissions* files.
    # Please remember that logfiles might be modified by the logfile
    # rotation facilities (e.g. logrotate) so settings entered here might
    # be overridden. Also devices files (/dev/*) are not static but
    # managed via udev so this file can't be used to modify device
    # permissions either.
    #
    
    #
    # suexec is only secure if the document root doesn't contain files
    # writeable by wwwrun. Make sure you have a safe server setup
    # before setting the setuid bit! See also
    # https://bugzilla.novell.com/show_bug.cgi?id=263789
    # http://httpd.apache.org/docs/trunk/suexec.html
    #
    #/usr/sbin/suexec2            root:root       4755
    
    # setuid bit on Xorg is only needed if no display manager, ie startx
    # is used. Beware of CVE-2010-2240.
    #
    #/usr/bin/Xorg                 root:root       4711
    discommenting the last line

    I tried startx again ...... no graphics


    Then I thought some packet had crashed so I got the OS 12.3 DVD and I reinstall the OS (update option) ....... no graphics

    Then I removed kdm and install xdm ....... no graphics

    Then I removed all nvidia packets ... some thing changed. A xdm login appears. When I log in I got a basic X window system with a terminal (the most basic system). Surprinsingly It is located on Alt-F3 instead ALt-F7

    Then I reinstalled nvidia drivers through one click install and I got the X system and KDE working again. ......... but resolution is now 1280x1024 while my monitor is capable 1920x1080 and in system settings I can't change it (well I can but 1280x1024 is the maximun resolution allowed).


    In the meantime I remembered I had an "old" installation of Opensuse 12.2 on another partition an some space unused in the hardisk so I installed Kubuntu on the free space (always I am pissed off with Opensuse I give I try to kubuntu or other distribution but I never like them) and I use the 12.3 DVD to make an upgrade of the "old" OS12.2 installation.

    As I have a separated /home partition I thought I could boot with any of the three systems with no problem with the same /home.

    But, my surprise: my plasma desktop has 6 desktop looking like http://ubuntuone.com/5zPefwXTXLLgR4fBZ8YqqU

    But when booting kubuntu the desktop has just one desktop and all my stuff have dissapear...... I thought KDE should use the same profile

    Booting both Opensuse partitions keep my desktop but one (the updated installation) woks fine (1920x1080 resolution) and the other one (the one I had the graphics problem) just woks at 1280x1024 resolution.
    Both of them are using:

    nvidia-compute-G02 304.88
    nvidia-gfx-kmp-default 304.88
    x11-vide-nvidiaG02
    xorg-X11-server 7.6_1


    Actually I've solved my problem because I'm using the updated installation wich works fine but I still don't know why did the problem appeared.


    regards

  2. #2

    Default Re: X server problem story

    Did you upgrade to KDE 4.10.3? Kdm was broken, last Tuesday, IIRC. See this thread. Maybe it was the root of your problem.

  3. #3

    Default Re: X server problem story

    Quote Originally Posted by JJMT View Post
    Did you upgrade to KDE 4.10.3? Kdm was broken, last Tuesday, IIRC. See this thread. Maybe it was the root of your problem.
    No I haven't. I have kdebase4 4.10.2 on both installations.
    I am not using the kde repo but the OSS repo
    I think the problem must appear after an automatic update. I think I switched of the system working on Thursday night and I switched it on Friday mornign and it didn't work

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,852
    Blog Entries
    14

    Default Re: X server problem story

    Quote Originally Posted by fperal View Post
    No I haven't. I have kdebase4 4.10.2 on both installations.
    I am not using the kde repo but the OSS repo
    I think the problem must appear after an automatic update. I think I switched of the system working on Thursday night and I switched it on Friday mornign and it didn't work
    First thing to do to exclude that you did run into the kdm bug (AFAICT this bug hit the 4.10.2 packages as well, in the meantime it's been fixed):

    At the konsole login prompt, login with your username and password, and do
    Code:
    su -c 'zypper ref && zypper up'
    When it's done, reboot and see what happens.

    If this doesn't change anything, please tell us what your videocard is. Depending on how often you update you may have hit a kernel update.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Feb 2011
    Location
    Zagreb, Croatia
    Posts
    120

    Default Re: X server problem story

    Quote Originally Posted by fperal View Post
    Then I tried startx but I got an error reporting that I had to use a display manager or adjust /etc/permission.local, so I edited /ets/permission.local
    Code:
    # setuid bit on Xorg is only needed if no display manager, ie startx
    # is used. Beware of CVE-2010-2240.
    #
    #/usr/bin/Xorg                 root:root       4711
    Uncommenting is not enough, you should run SuSEconfig --module permissions (though i think this no longer exists with 12.3, it certainly doesn't with current Factory)or chkstat --system. Just note it imposes a security issue then.

    Quote Originally Posted by fperal View Post
    But, my surprise: my plasma desktop has 6 desktop looking like http://ubuntuone.com/5zPefwXTXLLgR4fBZ8YqqU
    But when booting kubuntu the desktop has just one desktop and all my stuff have dissapear...... I thought KDE should use the same profile
    regards
    AFAIK, kubuntu/debian are using ~/.kde as $KDEHOME, and we are using ~/.kde4

    Quote Originally Posted by Knurpht View Post
    First thing to do to exclude that you did run into the kdm bug (AFAICT this bug hit the 4.10.2 packages as well, in the meantime it's been fixed):
    The bug appeared first with 4.10.3 update. Though i still recommend a full update before proceeding further

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,852
    Blog Entries
    14

    Default Re: X server problem story

    Another thing: an update to xorg-x11-server could be the cause. It overwrites some part of the nvidia driver. A reinstall of the driver should fix that.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7

    Default Re: X server problem story

    Quote Originally Posted by Knurpht View Post
    First thing to do to exclude that you did run into the kdm bug (AFAICT this bug hit the 4.10.2 packages as well, in the meantime it's been fixed):

    At the konsole login prompt, login with your username and password, and do
    Code:
    su -c 'zypper ref && zypper up'
    When it's done, reboot and see what happens.

    If this doesn't change anything, please tell us what your videocard is. Depending on how often you update you may have hit a kernel update.

    Code:
    andromeda:~ # zypper ref && zypper up
    Repository 'nVidia Graphics Drivers' is up to date.
    Repository 'openSUSE-12.3-Non-Oss' is up to date.
    Repository 'openSUSE-12.3-Oss' is up to date.
    Repository 'openSUSE-12.3-Update' is up to date.
    Repository 'openSUSE-12.3-Update-Non-Oss' is up to date.
    All repositories have been refreshed.
    Loading repository data...
    Reading installed packages...
    
    The following package updates will NOT be installed:
      PackageKit-browser-plugin unison 
    
    Nothing to do.
    andromeda:~ #

    mi video card is gigabyte nvidia ge-force 6200

    It's working fine (full resolution) on another installation on another partition in the same computer with the same OS (Opensuse 12.3)

  8. #8

    Default Re: X server problem story

    Quote Originally Posted by Knurpht View Post
    Another thing: an update to xorg-x11-server could be the cause. It overwrites some part of the nvidia driver. A reinstall of the driver should fix that.
    I removed all nvidia packages, even the repository and the reinstalled them via one-click-install.
    Everything seems to be fine except resolution.

    regards

  9. #9

    Default Re: X server problem story

    Quote Originally Posted by fperal View Post
    Everything seems to be fine except resolution.
    You can change the resolution by running "nvidia-settings".

  10. #10

    Default Re: X server problem story

    Quote Originally Posted by wolfi323 View Post
    You can change the resolution by running "nvidia-settings".
    I've tried. I'm running the Xserver with not full resolution. I run nvidia-settings:

    Code:
    andromeda:~# nvidia-settings
    
    You do not appear to be using the NVIDIA X driver.  Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
    
    
    
    andromeda:~ # nvidia-xconfig
    
    WARNING: Unable to locate/open X configuration file.
    
    New X configuration file written to '/etc/X11/xorg.conf'


    My new Xorg.conf

    Code:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig:  version 304.88  (buildmeister@swio-display-x86-rhel47-06)  Wed Mar 27 15:32:58 PDT 2013
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection


    I restart Xserver and.... no graphics again.

Page 1 of 2 12 LastLast

Posting Permissions

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