Results 1 to 7 of 7

Thread: Problem starting xserver after upgrade

  1. #1

    Default Problem starting xserver after upgrade

    Hello everyone,
    today I did a serious mistake.

    I was about to do upgrade from 11.3 to 11.4.
    I was following the guide I found in opensuse's website.
    I was to the point where I had to disable all 11.3 repositories and add the 11.4
    at that point I forgot to change my nvidia repository ( I have a g210m graphic card).

    thus after the upgrade the X could not start at all. I think this was because Yast could not find the nvidia driver.

    Using text mode YaSt2 I added the nvidia driver but after restart I can not see and X running. I receive an error message that the current kernel can not be loaded!!!

    I also checked in command line if there is something like Sax2.. but I couldnot find anything.

    What is the easiest way first to make X work with a simple graphic card and then afterwards add the nvidia driver?

    I would like to thank you in advance for your help

    Regards
    Alex

  2. #2
    Join Date
    Dec 2010
    Location
    Ankara, Turkey
    Posts
    250

    Default Re: Problem starting xserver after upgrade

    I have an idea, it may or may not work, but before I need to see your
    Code:
    zypper lr -d
    . If it is not possible try it doing it like this:

    Code:
     zypper search --sort-by-repo -i "*" >> all.txt
    And after that:

    Code:
    zypper search --sort-by-repo -i --repo=alias_of_your_11.4_oss --repo=alias_of_11.4_nonoss -i "*" >> some.txt
    and after that:

    Code:
    diff -w -B --suppress-common-lines all.txt some.txt >> difference.txt
    Then you should see your installed packages that doesn't belong to either on of the 11.4 repos. I would uninstall them, and make a zypper dup again (after making sure of the enabled repos are correct though ).

    This maybe a risky move, I would personally go for it but, I like adventures. It is up to you.
    The only problem with troubleshooting is that sometimes trouble shoots back.
    My blog (in Turkish): http://yasar.serveblog.net

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Problem starting xserver after upgrade

    If the kernel could not be loaded you would not be able to do anything
    further, so its sounds to me that it was not able to load a kernel module??
    First of all check if there is an old xorg.conf in /etc/X11 and if so rename
    it and try to restart X. It might be you have simply an old xorg.conf as
    leftover from your 11.3 which is not compatible with the nvidia driver in
    11.4.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  4. #4

    Default Re: Problem starting xserver after upgrade

    Quote Originally Posted by martin_helm View Post
    If the kernel could not be loaded you would not be able to do anything
    further, so its sounds to me that it was not able to load a kernel module??
    First of all check if there is an old xorg.conf in /etc/X11 and if so rename
    it and try to restart X. It might be you have simply an old xorg.conf as
    leftover from your 11.3 which is not compatible with the nvidia driver in
    11.4.

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

    Tried this one.
    I removed it as root the file and wrote startx. The kde appeared
    then I logged in as normal user but startx failed! which is the file that I am looking to remove now? Did not find anything in my home folder

    Vielen Dank. Scoenes Wochenende

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Problem starting xserver after upgrade

    That can be a lot of things, since I guess you have your old .kde4 config
    files.
    You can rename the .kde4 folder in your home and check if that helps, it can
    also be that the problem lies in the folder .kde or the file .kderc (do not
    delete it, it may contain things you need, like the emails in kmail).

    Another way to check that is to create a new user and see if that user works
    with kde.

    By the way did you try the following simple test?
    Login as root on the console (not from within kde).
    Code:
    init 3 # to be sure you are not in runlevel 5
    init 5 # to go to the runlevel where kdm should start automatically
    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  6. #6

    Default Re: Problem starting xserver after upgrade

    Quote Originally Posted by alaios View Post
    Tried this one.
    I removed it as root the file and wrote startx. The kde appeared
    then I logged in as normal user but startx failed!
    This is normal... more precisely this is the expected behaviour. SInce 11.4, startx doesn't work for normal users anymore. If you want to be able to run startx as user, you have to set Xorg SUID again, so as root:

    Code:
    chmod 4711 /usr/bin/Xorg
    Don't know if it advisable though (they may have change it for a good reason... or not).

    You might have to uncomment the following line in /etc/permissions.local too:
    Code:
    #/usr/bin/Xorg                 root:root              4711
    * Haven't read the whole thread and I don't know what is the problem. But this is how to run startx as user.

  7. #7

    Default Re: Problem starting xserver after upgrade

    Quote Originally Posted by martin_helm View Post
    That can be a lot of things, since I guess you have your old .kde4 config
    files.
    You can rename the .kde4 folder in your home and check if that helps, it can
    also be that the problem lies in the folder .kde or the file .kderc (do not
    delete it, it may contain things you need, like the emails in kmail).

    Another way to check that is to create a new user and see if that user works
    with kde.

    By the way did you try the following simple test?
    Login as root on the console (not from within kde).
    Code:
    init 3 # to be sure you are not in runlevel 5
    init 5 # to go to the runlevel where kdm should start automatically
    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.3 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram
    I did this and worked . Regards

Posting Permissions

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