Announcement

Collapse
No announcement yet.

Solved: Can't login to kde

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

    Solved: Can't login to kde

    Yesterday I made a upgrade with Adept which reported that it can't finish the upgrade due to a circular dependency problem. Unfortunately I don't remember the exact problem but I made an apt-get install -f and the problem seemed resolved. But since then I can't login to kde. I see the authentication screen, I give name and password, wait a few seconds and get back to the authentication screen.
    I can login to a console so there is no authentication problem.
    This evening I made an upgrade that finished without problem but without a fix either.
    I give:
    Code:
    $sudo apt-get update
    ...
    finished ok
    $sudo apt-get dist-upgrade
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following packages have been kept back:
     gwenview
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    $sudo dpkg --configure -a
    (nothing)
    after a kdm restart and a try to login to kde the logs are as follows:
    auth.log:Feb 23 23:57:12 maria sudo: nikos : TTY=tty4 ; PWD=/home/nikos ; USER=root ; COMMAND=/etc/init.d/kdm restart
    auth.log:Feb 23 23:57:21 maria kdm: :0[14374]: pam_unix(kdm:session): session opened for user nikos by (uid=0)
    auth.log:Feb 23 23:57:21 maria kdm: :0[14374]: pam_ck_connector(kdm:session): nox11 mode, ignoring PAM_TTY :0
    auth.log:Feb 23 23:57:21 maria kdm: :0[14374]: pam_unix(kdm:session): session closed for user nikos
    daemon.log:Feb 23 23:57:12 maria kdm: :0[14021]: Abnormal termination of greeter for display :0, code 1, signal 0
    daemon.log:Feb 23 23:57:13 maria acpid: client connected from 14336[0:0]
    daemon.log:Feb 23 23:57:15 maria kdm_greet[14420]: Cannot open default user face
    daemon.log:Feb 23 23:57:22 maria console-kit-daemon[5464]: WARNING: Unable to activate console: No such device or address
    daemon.log:Feb 23 23:57:22 maria acpid: client connected from 14336[0:0]
    daemon.log:Feb 23 23:57:24 maria kdm_greet[14674]: Cannot open default user face
    kdm.log==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 23 23:57:13 2009
    syslog:Feb 23 23:57:12 maria kdm: :0[14021]: Abnormal termination of greeter for display :0, code 1, signal 0
    syslog:Feb 23 23:57:13 maria acpid: client connected from 14336[0:0]
    syslog:Feb 23 23:57:15 maria kdm_greet[14420]: Cannot open default user face
    syslog:Feb 23 23:57:22 maria console-kit-daemon[5464]: WARNING: Unable to activate console: No such device or address
    syslog:Feb 23 23:57:22 maria acpid: client connected from 14336[0:0]
    syslog:Feb 23 23:57:24 maria kdm_greet[14674]: Cannot open default user face
    Xorg.0.log==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 23 23:57:13 2009
    Has anybody an idea what is happening?

    #2
    Re: Can't login to kde

    The obvious reply would be to boot from another system
    (for instance, a (K)Ubuntu CD) and manually change the
    /etc/passwd or the /etc/shadow file.
    Yet, from the messages you report, I fear a misconfiguration
    of the X server.
    Which is your current system version (Ubuntu, kernel and X server)
    and which were the precise packages affected by the upgrade ?
    Paul Preziosi

    Comment


      #3
      Re: Can't login to kde

      thanks for the reply!
      I don't think it is an authentication problem because I can login and work in the console.
      Of course I run kubuntu 8.10 with kernel 2.6.27-12-generic. the Xserver is 1.5.2

      the affected packages were:
      2009-02-23 00:03:26 status installed kdeplasma-addons 4:4.1.4-0ubuntu1~intrepid1
      2009-02-23 00:03:46 status installed kdeplasma-addons-libs4 4:4.1.4-0ubuntu1~intrepid1
      2009-02-23 00:03:46 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:04:10 status installed man-db 2.5.2-2
      2009-02-23 00:04:11 status installed menu 2.1.40ubuntu1
      2009-02-23 00:04:12 status installed libkdegames4 4:4.1.4-0ubuntu1~intrepid1
      2009-02-23 00:04:13 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:04:15 status installed kdebase-workspace-libs4+5 4:4.1.4-0ubuntu1~intrepid3
      2009-02-23 00:04:22 status installed man-db 2.5.2-2
      2009-02-23 00:05:21 status installed kdebase-runtime-data-common 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:21 status installed kde-icons-oxygen 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:21 status installed kdebase-runtime-data 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:22 status installed kdelibs5-data 4:4.2.0-0ubuntu2~intrepid2
      2009-02-23 00:05:22 status installed phonon-backend-xine 4:4.3.0-0ubuntu1~intrepid1
      2009-02-23 00:05:23 status installed kdelibs-bin 4:4.2.0-0ubuntu2~intrepid2
      2009-02-23 00:05:23 status installed kdelibs5 4:4.2.0-0ubuntu2~intrepid2
      2009-02-23 00:05:23 status installed kdebase-runtime-bin-kde4 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:23 status installed kdebase-runtime 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:24 status installed libkdecorations4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:05:24 status installed libkwineffects1 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:05:25 status installed kget 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:25 status installed libkdegames5 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:25 status installed kbreakout 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:25 status installed kgoldrunner 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:05:25 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:05:25 status installed menu 2.1.40ubuntu1
      2009-02-23 00:18:09 status installed kscreensaver 4:4.1.4-0ubuntu1~intrepid1
      2009-02-23 00:18:10 status not-installed kscreensaver <none>
      2009-02-23 00:18:10 status installed kubuntu-desktop 1.101
      2009-02-23 00:18:10 status not-installed kubuntu-desktop <none>
      2009-02-23 00:18:10 status installed man-db 2.5.2-2
      2009-02-23 00:18:10 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:18:13 status installed libplasma2 4:4.1.4-0ubuntu1~intrepid3
      2009-02-23 00:18:13 status installed kdebase-workspace-data 4:4.1.4-0ubuntu1~intrepid3
      2009-02-23 00:18:14 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:18:17 status installed libplasma3 4:4.2.0-0ubuntu2~intrepid2
      2009-02-23 00:18:17 status installed kdebase-workspace-libs4+5 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:18:18 status installed kate 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:18:18 status installed kdebase-plasma 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:18:18 status installed ksysguard 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:18:18 status installed plasmoid-quickaccess 0.7.1-0ubuntu6~intrepid1
      2009-02-23 00:18:18 status installed libical0 0.33-1
      2009-02-23 00:18:18 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:24:53 status installed man-db 2.5.2-2
      2009-02-23 00:24:54 status installed language-pack-el 1:8.10+20090205
      2009-02-23 00:24:54 status installed language-pack-en 1:8.10+20090205
      2009-02-23 00:24:54 status installed language-pack-kde-el 1:8.10+20090205
      2009-02-23 00:24:54 status installed language-pack-kde-en 1:8.10+20090205
      2009-02-23 00:24:54 status installed libgnutls26 2.4.1-1ubuntu0.3
      2009-02-23 00:24:54 status installed kdepimlibs-data 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:54 status installed kdepimlibs5 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:54 status installed libkdepim4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed akregator 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed ark 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed libkonq5-templates 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed libkonq5 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed dolphin 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed dragonplayer 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed juk 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kdepim-kresources 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed libkleo4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed kaddressbook 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed kcron 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kde-icons-mono 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed python-sip4 4.7.9-1ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed python-qt4-common 4.4.4-2ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed python-qt4 4.4.4-2ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed python-kde4 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed python-qt4-dbus 4.4.4-2ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kde-printer-applet 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kde-window-manager 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed libkcddb4 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kdemultimedia-kio-plugins 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kmix 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kscd 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kdemultimedia 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kdenetwork-filesharing 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kdepasswd 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:55 status installed kdepim-strigi-plugins 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed knotes 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed libkholidays4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:55 status installed korganizer 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:56 status installed kdepim-wizards 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:24:56 status installed kdeplasma-addons-data 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:24:56 status installed kdf 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:49 status installed kdm 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:49 status installed kfind 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kgpg 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed khelpcenter4 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed khelpcenter 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed klipper 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed kmag 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kmousetool 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed knetworkconf 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed konqueror-nsplugins 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed konsole 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kontact 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed kppp 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed krdc 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed krfb 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed ksysguardd 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed ksystemlog 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed ktimetracker 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed kuser 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kwalletmanager 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kweather 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kwin 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed libkpgp4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed libksieve4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed libmimelib4 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed system-config-printer-kde 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed systemsettings 4:4.2.0-0ubuntu1~intrepid2
      2009-02-23 00:25:50 status installed kamera 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kde-zeroconf 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed kdegraphics-strigi-plugins 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed ksnapshot 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed libokularcore1 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed okular 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:50 status installed okular-extra-backends 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:51 status installed kdebase-bin 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:51 status installed kdebase-data 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:51 status installed konqueror 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:25:51 status installed libc6 2.8~20080505-0ubuntu9
      2009-02-23 00:29:07 status installed kdeplasma-addons-data 4:4.2.0-0ubuntu1~intrepid1
      2009-02-23 00:29:09 status installed libxklavier12 3.7-1
      2009-02-23 00:29:09 status installed libc6 2.8~20080505-0ubuntu9
      and my sources.list is:
      # deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Alpha i386 (20080222)]/ hardy main restricted
      # deb-src http://ftp.ntua.gr/pub/linux/ubuntu/ intrepid main restricted #Added by software-properties
      # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
      # newer versions of the distribution.

      deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted
      deb-src http://archive.ubuntu.com/ubuntu/ intrepid multiverse universe #Added by software-properties

      ## Major bug fix updates produced after the final release of the
      ## distribution.
      deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
      deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates restricted main multiverse universe #Added by software-properties

      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
      ## team, and may not be under a free licence. Please satisfy yourself as to
      ## your rights to use the software. Also, please note that software in
      ## universe WILL NOT receive any review or updates from the Ubuntu security
      ## team.
      deb http://archive.ubuntu.com/ubuntu/ intrepid universe
      deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe

      ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
      ## team, and may not be under a free licence. Please satisfy yourself as to
      ## your rights to use the software. Also, please note that software in
      ## multiverse WILL NOT receive any review or updates from the Ubuntu
      ## security team.
      deb http://archive.ubuntu.com/ubuntu/ intrepid multiverse
      deb http://archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

      ## Uncomment the following two lines to add software from the 'backports'
      ## repository.
      ## N.B. software from this repository may not have been tested as
      ## extensively as that contained in the main release, although it includes
      ## newer versions of some applications which may provide useful features.
      ## Also, please note that software in backports WILL NOT receive any review
      ## or updates from the Ubuntu security team.
      # deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
      # deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

      ## Uncomment the following two lines to add software from Canonical's
      ## 'partner' repository. This software is not part of Ubuntu, but is
      ## offered by Canonical and the respective vendors as a service to Ubuntu
      ## users.
      deb http://archive.canonical.com/ubuntu intrepid partner
      # deb-src http://archive.canonical.com/ubuntu hardy partner

      deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted
      deb-src http://archive.ubuntu.com/ubuntu/ intrepid-security restricted main multiverse universe #Added by software-properties
      deb http://archive.ubuntu.com/ubuntu/ intrepid-security universe
      deb http://archive.ubuntu.com/ubuntu/ intrepid-backports restricted main multiverse universe
      deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe
      deb http://archive.ubuntu.com/ubuntu/ intrepid-security multiverse

      Comment


        #4
        Re: Can't login to kde

        This did it for me, maybe it's worth a try in your case.
        In a world without walls and fences - who needs windows and gates?

        Comment


          #5
          Re: Can't login to kde

          Thanks Soonchica.
          I tried but the file was already read-write.

          Comment


            #6
            Re: Can't login to kde

            Better make sure your partition is not full with

            Code:
            sudo df -h
            If it is full, check #16 on the FAQs in my signature.

            Comment


              #7
              Re: Can't login to kde

              It appears that the last update was screwed up in some manner. My son's comp is having the exact same issue and I traced it down to a missing libplasma.so.3 (I believe I found the message in /var/log/daemon-error (or some file name like that, I'm at work right now). It looks like KDE tried to update to 4.2 (from the current 4.1 on Intrepid) and failed, leaving the system in a hybrid 4.1 - 4.2 state -- So libplasma.so.2 is in the correct place, but libplasma.so.3 was never installed.

              I couldn't force an update last night (it was late and couldn't get him an internet connection for some reason), but I'll try to force the rest of the update through and see if that fixes it.

              BTW, if you drop to a command line and type "sudo apt-get upgrade", if you have the same issue as I do, you should see a bunch of packages listed along with a failure message from apt-get.

              Beemer

              Comment


                #8
                Re: Can't login to kde

                Thanks for the replies guys
                Bibl I have enough space.
                I think that it happened what bmr5770 describes.

                I managed to login to my children account which is kept without a password.
                The theme was changed, a new panel was created at the top etc...
                I can't login to a account requiring a password.
                I still try!

                Comment


                  #9
                  Re: Can't login to kde

                  I unistall kubuntu-desktop and purged kdm, then install kubuntu-desktop.
                  I can login to a new password requiring account.

                  I think the problem occurred due to a plasmoid I installed before the upgrade.

                  Comment


                    #10
                    Re: Can't login to kde

                    Problem solved
                    The ~/.dmrc file contained
                    [Desktop]
                    Session=failsafe
                    I can't understand why this caused a problem but after I deleted it a new .dmrc appeared and I managed to login.
                    Thanks everybody for their suggestions.

                    Comment

                    Working...
                    X