Announcement

Collapse
No announcement yet.

[SOLVED-ish]Graphical login fails - xorg?

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

    [SOLVED-ish]Graphical login fails - xorg?

    When I try to log in via KDM, it fails and freezes at a blank screen with a flashing cursor. KDM seems to load fine, but when I type my password and press "enter" or click the button to log in, it crashes. Luckily it recognizes the shutdown button, so I can do a clean reboot.
    The only way I can log in is to restart the xserver, login via console, and issue the "startx" command. After that, KDE starts fine and runs very well.
    This has been happening to me in beta 2 and RC.

    .xsession-errors in my home folder has two x sessions listed. One of them has about 5 lines of text after it, the second one has a huge amount of verbosity.
    Here is the output for the first session:
    Code:
    Xsession: X session started for vicky at Thu Apr 22 21:36:25 EDT 2010
    konsole(1239)/kdeui (kdelibs): Attempt to use QAction "change-profile" with KXMLGUIFactory! 
    x-terminal-emulator: Fatal IO error: client killed
    kDebugStream called after destruction (from virtual Konsole::SessionManager::~SessionManager() file ../../../../apps/konsole/src/SessionManager.cpp line 301)
    Konsole SessionManager destroyed with sessions still alive 
    Xsession: X session started for vicky at Thu Apr 22 21:36:41 EDT 2010
    Does anyone have this issue and/or know how to fix it?

    #2
    Re: Graphical login fails - xorg?

    Update/edit: aptitude command 'install' changed to 'reinstall'. </oops>

    Originally posted by Cauda_Draconis
    When I try to log in via KDM, it fails and freezes at a blank screen with a flashing cursor. KDM seems to load fine, but when I type my password and press "enter" or click the button to log in, it crashes.

    <snip>

    Does anyone have this issue and/or know how to fix it?
    Not exactly. Two things to try (test each). Re-install kdm and if that doesn't work reinstall kubuntu-desktop. Sounds like your core Ubuntu stuff is working fine but you have issues with some part of the KDE system. I wouldn't be entirely surprised if reinstalling kdm got you where you needed to be.

    This is my command-line method:
    Code:
    sudo aptitude update && sudo aptitude safe-upgrade
    Look for kdm in the list of updates (if they exist). If so, apply the updates by pressing <enter> to accept and see if that works. If kdm does not list in the updates (if they exist):

    Code:
    sudo aptitude reinstall kdm
    (update/hint: if you want to see what aptitude will do without really doing it, use the 'simulate' option as in "sudo aptitude -s reinstall kdm".)

    If that still doesn't get it, try 'kbuntu-desktop' in the place of 'kdm' above.

    If even that doesn't get it, you may need to reinstall the RC but I would wait for someone else to chime in before doing that (unless you just like running the installer ).


    Comment


      #3
      Re: Graphical login fails - xorg?

      I tried both of these and neither of them worked. I've also tried replacing my .kde directory in the home folder.

      Comment


        #4
        Re: Graphical login fails - xorg?

        What's the GPU?

        Comment


          #5
          Re: Graphical login fails - xorg?

          Intel Integrated Mobile 945.

          Relevant output from lspci
          00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
          00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

          Comment


            #6
            Re: Graphical login fails - xorg?

            OK, it's not driver.

            I googled your error, and it seems to be a bug experience in earlier KDE 4 versions:

            http://forums.netbeans.org/post-33711.html

            http://old.nabble.com/-Bug-183244--New:-Message-when-opening-konsole---Attempt-to-use-QAction-%22change-profile%22-with-KXMLGUIFactory!-td21841787.html

            It says in one of them that this is the fix:

            --- Comment #3 from Bernhard Rosenkraenzer <bero arklinux org> 2009-07-20 18:42:13 ---
            Happens here (Ark Linux with fairly current KDE 4.3 snapshot) too -- the cause
            is the "mm=\E[1034h" entry in /etc/termcap for xterm-basic (common to pretty
            much any system that builds /etc/termcap from ncurses sources).

            (It comes from the smm=\E[?1034h entry in xterm-basic, line 3285 in
            misc/terminfo.src in current ncurses).

            Removing that bit from /etc/termcap fixes it and doesn't seem to cause any new
            wrongdoing (at least as long as konsole is the only xterm implementation being
            used and the keyboard is a standard PC one).
            Hope that helps -- I have not heard of this one before.

            Comment


              #7
              Re: Graphical login fails - xorg?

              That wasn't the fix, apparently. That person's problem didn't seem to have much to do with mine, as far as I could tell (though I'm not much of a code-person). In any case, there was nothing in /etc/termcap. It was absolutely blank when I opened it up.

              Just so you know, I did a fresh install of Kubuntu Beta2, and then soon after upgraded to the RC. It has been an issue since I fresh-installed. I didn't erase my home directory from Ubuntu Beta 2 though, since it's on a different partition.

              Comment


                #8
                Re: Graphical login fails - xorg?

                Drat!

                It's an odd problem description. The "black screen with blinking cursor" part of it is very reminiscent of problems with proprietary video drivers, but you're not using one. The "KDE won't log me in" part of it is reminiscent of root permissions on the ~.ICEauthority and ~.Xauthority files in your /home/user directory. But, altogether it's not a problem I've seen described before, nor do we have any other reports of that error message. I have the same GPU that you have on my Toshiba NB205, and it runs KDM just fine (on a sidux system).

                You already renamed the .kde folder, which is the next thing I would have suggested.

                You don't have a full filesystem, do you? Run
                Code:
                df -h
                and check it.


                Originally posted by Cauda_Draconis
                I didn't erase my home directory from Ubuntu Beta 2 though, since it's on a different partition.

                I'm still wondering if there's something about that separate /home partition that has something to do with your problem. It wouldn't be an easy maneuver, but if you could copy your data elsewhere, then delete everything else that's left in it, then restart KDM, you might learn something.

                Comment


                  #9
                  Re: Graphical login fails - xorg?

                  Output of df -h:
                  Code:
                  Filesystem      Size Used Avail Use% Mounted on
                  /dev/sda6       5.0G 3.0G 1.8G 63% /
                  none         493M 276K 493M  1% /dev
                  none         497M   0 497M  0% /dev/shm
                  none         497M  96K 497M  1% /var/run
                  none         497M   0 497M  0% /var/lock
                  none         497M   0 497M  0% /lib/init/rw
                  none         5.0G 3.0G 1.8G 63% /var/lib/ureadahead/debugfs
                  /dev/sda7       9.4G 1.7G 7.2G 20% /home
                  /dev/sda1       60G  48G  12G 81% /windows
                  I might end up wiping my home folder.

                  Comment


                    #10
                    Re: Graphical login fails - xorg?

                    Good luck -- I'll cross my fingers. I really don't know what else to try. :P

                    I would suggest using the "rm" command to delete everything in your /home/user folder. You could reformat it if you want, but in that case the UUID will change, and you might have to fix it in /etc/fstab. Just a reminder ...

                    Comment


                      #11
                      Re: Graphical login fails - xorg?

                      Wiping my home dir worked. Thank you!

                      Comment


                        #12
                        Re: [SOLVED-ish]Graphical login fails - xorg?

                        88 to go before your big 10K party, Dibl!
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #13
                          Re: [SOLVED-ish]Graphical login fails - xorg?

                          Originally posted by GreyGeek
                          88 to go before your big 10K party, Dibl!
                          Mein Gott!



                          note to self: Get A Life!

                          Comment


                            #14
                            Re: [SOLVED-ish]Graphical login fails - xorg?

                            Originally posted by dibl
                            note to self: Get A Life!

                            I'm not doing anything with mine. Make me an offer (you pay shipping!)
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment

                            Working...
                            X