Announcement

Collapse
No announcement yet.

Start-up: Command Line Instead of Graphical Login...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Start-up: Command Line Instead of Graphical Login...

    I recently installed Kubuntu and after a few typical start-ups I am now taken to the command line instead of the graphical login prompt. The screen seems to flash briefly after the Kubuntu loading screen/bar, right before the point when it would go to the login screen. Instead however, it brings up a command line, asking for my login and password.

    I tried leaving per the usual way (F7), but that simply brings up an empty command line. Furthermore, I attempted to stop and then restart KDE itself, with no change either. I'm rather perplexed overall.


    #2
    Re: Start-up: Command Line Instead of Graphical Login...

    Does the command line that it automatically takes you to have a series of error messages above it? If not, try Alt-F1 and see if there is a login prompt below a series of error messages. If so, those error messages will tell what happened when it tried to run your Xserver.

    Comment


      #3
      Re: Start-up: Command Line Instead of Graphical Login...

      My bad, I thought it was a command line. It was a textual login prompt. Thus, ALT-F1 did not take me anywhere, since I was already there. No errors that I can see. F7 just brings up a blank screen with a flashing underscore at the top, as if it's awaiting text input, but nothing shows up if I were to try typing.

      Starting Up...

      Ubuntu 6.10 vega ttyl

      vega login:


      After entering my login information, I get

      [i]Last login: Tue Mar 6 00:02:02 2007 on ttyl
      Linux vega 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686

      The programs included with the Ubuntu system are free software;
      the exact distribution terms for each program are in the individual files in /usr/share/doc/*/copyright.

      Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
      applicable law.

      alexander@vega:~$

      Comment


        #4
        Re: Start-up: Command Line Instead of Graphical Login...

        Please, type:

        Code:
        $ startx
        In that $ promt and tell us what happens.

        If the GUI starts normally, it's probabky some kdm error. If it doesn't it's quite probably a Xorg issue.

        Kdm error:

        Check in the control panel that the kdm service is started.

        Xorg issue:

        You can try to issue the following command:

        Code:
        $ sudo dpkg-reconfigure xserver-xorg
        This will ask you lots of questions about your setup. Ask the ones that you understand and leave the default value for the ones that you don't. When it ask choose the easy monitor configuration system.

        If it doesn't work report back the error messages that startx should give you.

        Comment


          #5
          Re: Start-up: Command Line Instead of Graphical Login...

          Upon entering "startx" I receive the following error:

          API mismatch: the nvidia kernel module has the version 1.0-7184, but this x module has the version 1.0-9746. Please make sure that the kernel module and all nvidia driver components have the same version.

          (EE) NVIDIA(0): Failed to initialize the nvidia kernel module! Please ensure that there is a supported nvidia gpu in the system, and that the nvidia device files have been created properly. Please consult the nvidia read me for details. ***Aborting***

          (EE) Screen(s) Found, but none have a usable configuration.

          Fatal server error:

          No screens found
          xio: fatal io error 104 (connection reset by peer) on x server ":0.0" after 0 requests (0 known processed) with 0 events remaining


          This would seem plausible, as I had recently installed a new NVIDIA driver. I did so much in that setting (and then left it for the night) however that it had slipped my mind. It seemed to be needed, as games (Nexuiz specifically) were running rather slowly or not at all until after it was installed. I have a GeForce 6800.

          Comment


            #6
            Re: Start-up: Command Line Instead of Graphical Login...

            Originally posted by javierrivera
            Code:
            $ sudo dpkg-reconfigure xserver-xorg
            What happened when you tried that?

            Comment


              #7
              Re: Start-up: Command Line Instead of Graphical Login...

              You should probably reinstall the Nvidia driver. It's probably that some update (either to the kernel or the driver itself) has mangled it.

              How to reinstall it depends on how you installed it, as there are several ways and mixing then could give you a unstable system.

              Javier.

              Comment


                #8
                Re: Start-up: Command Line Instead of Graphical Login...

                Upon entering $ sudo dpkg-reconfigure xserver-xorg, I was taken to a series of questions regarding my video card, keyboard layout, number of mouse buttons and monitor. After going through all of them, I arrived at one that asked my preferred monitor color depth. I chose 24bit and then the command line popped up again at the button, leaving me at the $.

                I had originally downloaded the video driver right from NVIDIA's website and then installed through:
                sudo /etc/init.d/kdm stop
                cd "directory where the nvidia driver was"
                sudo sh NVIDIA-Linux-x86-1.0-9746-pkg1


                It seemed to work at the time. I had a nifty new NVIDIA control panel and everything.

                Comment


                  #9
                  Re: Start-up: Command Line Instead of Graphical Login...

                  Originally posted by Morari
                  It seemed to work at the time
                  Yep, mine did too, at the time. But (as it turned out) it didn't really work -- something about it kept me from ever installing all of Beryl that I needed. I kind of had to start over to get back to a fully-functioning Nvidia installation. See the 5th post on this thread:

                  http://kubuntuforums.net/forums/inde...opic=3080413.0

                  I am running Feisty Herd 5 -- I don't know whether the routine will be the same on your setup. Basically, the nvidia-glx and "nv" driver were interfering, I think, with the proprietary driver installation.

                  Comment


                    #10
                    Re: Start-up: Command Line Instead of Graphical Login...

                    Originally posted by Morari
                    I had originally downloaded the video driver right from NVIDIA's website and then installed through:
                    sudo /etc/init.d/kdm stop
                    cd "directory where the nvidia driver was"
                    sudo sh NVIDIA-Linux-x86-1.0-9746-pkg1
                    You should probably do it again. But before check with adept if you have some package related to nvidia installed and deinstall it.

                    This seems like a driver conflict. Half of your video drivers (xorg part) are version 9746, installed as you said. The other half (linux kernel) are version 7184, installed in some mysterious way (maybe a kernel update?).

                    So using adpet to remove all drives that could had been installed through it, and them reinstalling the ones from the web page, should work.

                    Or at least that is what I hope.

                    BTW, if you need a fast-restore option do the dpkg-reconfigure xorg-xserver dance and select the vesa driver. After dpkg-reconfigure you should do

                    Code:
                    $ sudo /etc/init.d/kdm restart
                    or just restart the system to go to the GUI. But I don't believe that resolving your problem is going to that easy.

                    Javier.

                    Comment


                      #11
                      Re: Start-up: Command Line Instead of Graphical Login...

                      @ dibl: How do you manage to said the same that me but in 20 lines less ?

                      Javier.

                      Comment


                        #12
                        Re: Start-up: Command Line Instead of Graphical Login...

                        Javier -- it's in the air!

                        Comment


                          #13
                          Re: Start-up: Command Line Instead of Graphical Login...

                          Well, I must admit that I don't believe I was getting anywhere with my attempts and it was quickly frustrating me, so I simply reinstalled Kubuntu altogether. I didn't really have much setup to begin with, so it wasn't too painful. Maybe this time, if I even dare to attempt an NVIDIA driver again, I'll try Envy or EasyUbuntu?

                          Now I just need to get Pingus to show up in the program menu... :P

                          Comment


                            #14
                            Re: Start-up: Command Line Instead of Graphical Login...

                            I got the same problem as Morari, but after i logged in (from the textual prompt), i entered "startx", and it reported an error, which follows:

                            (EE) I810(0) No video BIOS modes for chosen depth.
                            (EE) screen(s) found, but none have a usable configuration.


                            Fatal server error:
                            no screens found
                            XIO: fatal IO error 104 (connection reset bu peer) on X server ":0.0"
                            after 0 requests (0 known processed) with 0 events remaining.


                            What do you think I may do? (i'd really rather not reinstall Kubuntu..)

                            Thanks in advance

                            Comment


                              #15
                              Re: Start-up: Command Line Instead of Graphical Login...

                              This doesn't seen to be a NVIDIA problem.

                              You should probably do the :

                              Code:
                              $ sudo dpkg-reconfigure xorg-xserver
                              dance. Select a lower color depth, maybe 24 bits.

                              Javier.

                              Comment

                              Working...
                              X