PDA

View Full Version : [SOLVED-ish]Graphical login fails - xorg?



Cauda_Draconis
Apr 23rd 2010, 02:29 AM
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:

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?

hunkirdowne
Apr 23rd 2010, 03:26 AM
Update/edit: aptitude command 'install' changed to 'reinstall'. </oops>



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:


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


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 ::) ).

Cauda_Draconis
Apr 23rd 2010, 02:34 PM
I tried both of these and neither of them worked. I've also tried replacing my .kde directory in the home folder.

dibl
Apr 23rd 2010, 02:39 PM
What's the GPU?

Cauda_Draconis
Apr 23rd 2010, 03:15 PM
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)

dibl
Apr 23rd 2010, 04:42 PM
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.

Cauda_Draconis
Apr 23rd 2010, 05:22 PM
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.

dibl
Apr 23rd 2010, 05:32 PM
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
df -h and check it.




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.

Cauda_Draconis
Apr 23rd 2010, 11:42 PM
Output of df -h:

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.

dibl
Apr 23rd 2010, 11:54 PM
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 ... :)

Cauda_Draconis
Apr 24th 2010, 12:30 AM
Wiping my home dir worked. Thank you!

GreyGeek
Apr 24th 2010, 01:57 AM
88 to go before your big 10K party, Dibl! ;D

dibl
Apr 24th 2010, 02:06 AM
88 to go before your big 10K party, Dibl! ;D


Mein Gott!



note to self: Get A Life!

;D

Snowhog
Apr 24th 2010, 02:50 AM
note to self: Get A Life!

;D


I'm not doing anything with mine. Make me an offer (you pay shipping!) ;D ;D