Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Login to X session fails after YaST Online Update

  1. #1

    Default Login to X session fails after YaST Online Update

    Hello,

    I want to have your help to solve a boot and log-in problem.

    I got a workstation with openSuse 10.3 pre-installed. After I did the Online Update from YaST2 and rebooted the machine as requested by YaST2, the system came to fail starting up an X session.

    Below are excerpts of the message appeared on the screen at the end of the boot process. (I transcripted it from the screen by hand.)
    Code:
    Waiting for mandatory devices:  eth1 __NSC__
    10 9 8 7 5 4 3 2 1
      eth1    devices: Intel Corporation 82573L Gigabit Ethernet Controller
      eth1    DHCP4 client (dhcpcd) is running
      eth1    . . . but is still waiting for data
      eth1    DHCP6 client (dhclient6) is running
      eth1    . . . but is still waiting for data
      eth1    IP address:  [Let me hide this.]
      eth1                                                                                 waiting
      eth1    interface could not be set up until now                                   failed
    Setting up service (localfs) network  .  .  .  .  .  .  .  .  .  .                   failed
    
    ... [omitted] ...
    
    Master Resource Control: runlevel 5 has been                                    reached
    Failed services in runlevel 5:                                                       network
    Skipped services in runlevel 5:                                                    cifs nfs
    After this message, the screen shows the log in prompt, and I can log-in from the command prompt.

    I checked whether or not the machine is actually connected to the network by
    Code:
    $ ping [IP address of another machine at the same network]
    and it seems to be connected to the network. A line in the output reads:
    Code:
    4 packets transmitted, 4 received, 0% packet loss, time 3005ms
    I tried starting up X from the command line:
    Code:
    $ startx
    and I got an error message, an excerpt of which reads.
    Code:
    ...
    FATAL: Module nvidia not found.
    (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
    (EE) NVIDIA:    system's kernel log for additional error messages. 
    (EE) Failed to load module "nvidia" (module-specific error, 0)
    (EE) No drivers available.
    
    Fatal server error:
    no screens found
    
    ...
    Among the updated packages, there were security patches for x11.

    Before I did the Online Update, I changed the hostname of the computer from YaST2 -> Network Devices -> Network Settings. I'm wondering if this was relevant to the current problem.

    As another possibly relevant thing, while I was doing the Online Update, a system tool running in the right-hand side of the bar at the bottom of the screen in the X session was checking the available updates, but when I click it, it always showed an empty progress bar and said "0%". So, I have just ignored it.

    The installed Linux kernel is
    Code:
    $ uname --kernel-release
    2.6.34.8-0.2-desktop
    Do you have any idea about what is causing the failure of the X session and how to fix the problem? I would be glad if you give me any hints or pointers.

    I am sorry if there is a typo or if an important information is missing in the error messages manually copied above. Please tell me if I should write additional information.

    Norio

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

    Default Re: Login to X session fails after YaST Online Update

    This is not about all what is in ypour post just a first attempt to make
    your X start.
    Login to the console and check if the file /etc/X11/xorg.conf exists on your
    machine.
    Rename it or delete it and try to start again, you may have an old xorg.conf
    file which contains settings which are no longer usable and X is able to
    start without xorg.conf.

    --
    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

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

    Default Re: Login to X session fails after YaST Online Update

    martin_helm wrote:

    > This is not about all what is in ypour post just a first attempt to make
    > your X start.
    > Login to the console and check if the file /etc/X11/xorg.conf exists on
    > your machine.
    > Rename it or delete it and try to start again, you may have an old
    > xorg.conf file which contains settings which are no longer usable and X is
    > able to start without xorg.conf.
    >

    I forgot to add, by default you cannot use startx. Use as root
    Code:
    init 3
    init 5
    to test it.

    --
    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
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Login to X session fails after YaST Online Update

    On 2011-06-01 19:06, noriotakemoto wrote:
    >
    > Hello,
    >
    > I want to have your help to solve a boot and log-in problem.
    >
    > I got a workstation with openSuse 10.3 pre-installed. After I did the
    > Online Update from YaST2 and rebooted the machine as requested by YaST2,
    > the system came to fail starting up an X session.


    Impossible. OpenSUSE 10.3 is out of maintenance, there are no updates, so
    you could not have updated it.

    Thus, you probably do not have openSUSE, you have SLED or SLES - and then,
    this is not the correct forum.

    That. of you have copied the wrong version number.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

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

    Default Re: Login to X session fails after YaST Online Update

    Carlos E. R. wrote:
    >
    > That. of you have copied the wrong version number.
    >

    The kernel version posted (2.6.34.8) shows it is a 11.3, it is a typo, SLES
    has a different kernel.

    --
    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: Login to X session fails after YaST Online Update

    Hello martin_helm and robin_listas,

    first of all, please let me correct the version number. It is indeed 11.3.
    Code:
    $ less /etc/SuSE-release
    openSUSE 11.3 (x86_64)
    VERSION = 11.3
    I am sorry for the error.

    Norio

  7. #7

    Default Re: Login to X session fails after YaST Online Update

    Quote Originally Posted by martin_helm View Post
    martin_helm wrote:

    > This is not about all what is in ypour post just a first attempt to make
    > your X start.
    > Login to the console and check if the file /etc/X11/xorg.conf exists on
    > your machine.
    > Rename it or delete it and try to start again, you may have an old
    > xorg.conf file which contains settings which are no longer usable and X is
    > able to start without xorg.conf.
    >

    I forgot to add, by default you cannot use startx. Use as root
    Code:
    init 3
    init 5
    to test it.

    --
    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
    Hello martin_helm,

    I tried your suggestion to rename xorg.conf, but it did not go well:
    Code:
    # mv /etc/X11/xorg.conf /etc/X11/xorg.conf-backup20110602
    # init 3
    Boot logging started on /dev/char/ ../tty1(/dev/console) at Thu Jun  2 08:26:18 2011
    Master Resource Control: previous runlevel: 5, switching to runlevel:                                 3
    Shutting down service kdm                                                                                          done
    Shutting down service kdm                                                                                          done
    Master Resource Control: runlevel 3 has been                                                                 reached
    _
    At this point, the cursor flickers at the left end of the line, and a command prompt does not come back (at least 15 minutes until now).

    By the way, does any of you know how to shut down the computer safely from this status?

    Norio

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: Login to X session fails after YaST Online Update

    Quote Originally Posted by noriotakemoto View Post
    By the way, does any of you know how to shut down the computer safely from this status?
    In a text mode, with root permissions, you can halt the computer with the command:
    Code:
    shutdown -h now
    and you can also restart the computer with the command
    Code:
    shutdown -r now

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: Login to X session fails after YaST Online Update

    Can you tell us exactly what nVidia hardware your computer has ? If you do not know, you can find out by typing:
    Code:
    /sbin/lspci -nnk | grep VGA -A2
    Note that by default, openSUSE-11.4 will try to boot using the 'nouveau' open source video driver. If your hardware is not too new, then you could instead disable kernel mode setting and try to boot to the 'nv' open source video driver with the boot code (enter this in the initial grub boot screen's option line):
    Code:
    nomodeset
    and if that fails, you can try to boot to the FBDEV open source video driver by entering the boot code (in the grub boot menu options line) by typing in that line (when booting):
    Code:
    x11failsafe

  10. #10

    Default Re: Login to X session fails after YaST Online Update

    Quote Originally Posted by noriotakemoto View Post
    Hello martin_helm,

    I tried your suggestion to rename xorg.conf, but it did not go well:
    Code:
    # mv /etc/X11/xorg.conf /etc/X11/xorg.conf-backup20110602
    # init 3
    Boot logging started on /dev/char/ ../tty1(/dev/console) at Thu Jun  2 08:26:18 2011
    Master Resource Control: previous runlevel: 5, switching to runlevel:                                 3
    Shutting down service kdm                                                                                          done
    Shutting down service kdm                                                                                          done
    Master Resource Control: runlevel 3 has been                                                                 reached
    _
    At this point, the cursor flickers at the left end of the line, and a command prompt does not come back (at least 15 minutes until now).

    By the way, does any of you know how to shut down the computer safely from this status?

    Norio
    After this post, I pushed Ctrl+Alt+Del keys at the same time, and the system safely rebooted.
    Then, wow, the X log-in screen appeared!

    But, then, after I logged in, I realized that the mouse motion is not recognized. The mouse cursor is frozen in the middle of the desktop.

    I guess I have to recover the /etc/X11/xorg.conf file to set appropriate parameters for the mouse and probably for other things. Am I right?
    If so, do you have any suggestions? Or, do you know any references?

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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