KDE 4.4 to 4.5 upgrade login failed

I apparently had a repository enabled that should not have been. I got a update notice, and applied it without much attention. It attempted to updated my kde 4.4 to 4.5. It was a horrible failure. KDM comes up and instead presenting me with a list of users to login with, I get “login failed”. I can no longer change to Gnome, or any other. I can reboot, login into console, and that is about it. Once at the bash prompt, I can then run startx and it comes up. No sound!!! However, if I log in as root, startx, sound is fine. I completely deleted ALL /tmp files as well.

If I modify the /etc/sysconfig/displaymanager to autologin as my normal user and sound works! So digging through the logs I find:
:0[2510]: pam_warn(xdm-generic:auth): function=[pam_sm_authenticate] service=[xdm-generic] terminal=:0] user=<unknown>] ruser=<unknown>] rhost=<unknown>]

I removed gdm, kdm, and reinstalled. I updaged pam. All to no avail. Anybody have an idea what would cause this? I’ve seen lots of complaints about kde 4.5, but not this issue.

Hello? crickets…? I can’t be the only one having this problem

Hi,

Can you post this :

zypper lr

Thats is weird. You were planning on upgrading to 4.5 ? The repo didn’t add itself… Why dit it fail ? Do you know ?

Anyway, it seems you can get GUI to work as a normal user. You have 3 choices :

  1. switch back your kde packages to 4.4
  2. complete the upgrade to 4.5
  3. upgrade to 4.6

I would go to choice number 2 since some packages were already upgraded. But since kde4.6 is available, why not try a 4.6 upgrade. it’s up to you.

If you chose to go with choice 2, make sure you have both the kde4.5 and kde4.5 extra repos : KDE repositories - openSUSE. After that, go to yast->install/remove software->repo tab->select repo kde4.5 and switch package like you see it here : http://dl.dropbox.com/u/10573557/Switcher%20Pics/package%20switch%20kde.png

If you chose to upgrade to 4.6, it is the same procedure, but make sure to deactivate de kde4.4 and kde4.5 after the switch. So, you’ll have to add the 2 repos for the kde 4.6 found here KDE repositories - openSUSE and switch to those packages.

->Thats is weird. You were planning on upgrading to 4.5 ?

No, actually I had no intentions. I was just using it and having fun with it. I’ve been using linux on this laptop for a little over a year now.

->The repo didn’t add itself… Why dit it fail ? Do you know ?

Well, I"m sure I added a repo for something like adding the ability to view DVD’s and WMV files. I’m pretty sure I forgot to turn them back off. My bad.

->Anyway, it seems you can get GUI to work as a normal user. You have 3 choices :
->1. switch back your kde packages to 4.4
I could do this by just restoring from backup I guess.

->2. complete the upgrade to 4.5
I thought it was completed to be honest. Not sure what else needs to be done to “complete” it. I looked at a couple of tutorials on howto, and it looks like I’m done. Something is still mangled though.

->3. upgrade to 4.6
I didn’t even realize there was a 4.6! I found this web site:
KDE repositories - openSUSE

Not sure if this is where I should go, but it seems moving forward would be preferable to going backwards. Since I can always retore from backup, this seems like a no brainer. I just need some guidance on how to best move forward. I will see if I can find a tutorial on the proper way to upgrade.

It appears that there is a failure with xdm, gdm or something. The logs are showing: 0[2510]: pam_warn(xdm-generic:auth): function=[pam_sm_authenticate] service=[xdm-generic] terminal=:0] user=<unknown>] ruser=<unknown>] rhost=<unknown>] when I attempt to force the system to make me choose a username and password.

zypper lr

| Alias | Name | Enabled | Refresh

—±------------------------------------------------------------------±------------------------------------------------------------------±--------±-------
1 | KDE-Extra | KDE-Extra | Yes | Yes
2 | KDE45 | KDE45 | Yes | Yes
3 | KDE:Distro:Factory | KDE:Distro:Factory | Yes | Yes
4 | KDE:Extra | KDE:Extra | Yes | Yes
5 | Libdvdcss repository | Libdvdcss repository | No | Yes
6 | Packman Repository | Packman Repository | No | Yes
7 | download.opensuse.org-Wine | openSUSE BuildService - Wine CVS Builds | Yes | Yes
8 | download.opensuse.org-games | openSUSE BuildService - Games | Yes | Yes
9 | download.videolan.org-SuSE_1 | VideoLan Repository | No | Yes
10 | Index of /distribution/11.3/repo/oss/suse | Index of /distribution/11.3/repo/oss/suse | Yes | Yes
11 | libdvdcss | libdvdcss | No | Yes
12 | openSUSE-11.3 11.3-1.82 | openSUSE-11.3 11.3-1.82 | Yes | No
13 | openSUSE-11.3-Oss | openSUSE-11.3-Oss | Yes | Yes
14 | packman | packman | Yes | Yes
15 | reddwarf | reddwarf | Yes | Yes
16 | repo-debug | openSUSE-11.3-Debug | Yes | Yes
17 | repo-non-oss | openSUSE-11.3-Non-Oss | Yes | Yes
18 | repo-oss | openSUSE-11.3-Oss | Yes | Yes
19 | repo-source | openSUSE-11.3-Source | Yes | Yes
20 | repo-update | openSUSE-11.3-Update | Yes | Yes

I upgraded to 4.6 from 4.5 and still the same issue. Login failed at the gdm, or xdm login that opensuse uses. I’m not sure which it is. The only way into this box now, is to autologin. It seems to be something mangled in the pathway from xdm to /etc/passwd. Pam? Anybody have an idea?