Announcement

Collapse
No announcement yet.

Can't login via KDM after upgrading to Precise

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

    Can't login via KDM after upgrading to Precise

    Hello guys,

    I have a weird problem that happened after upgrading to Precise. I've never EVER had a problem like this, so I really appreciate your help since i have absolutely no clue.

    Basically, KDM thinks my password is incorrect. I just... can't login. The only way to start a session is opening a tty and running

    Code:
    startx /usr/bin/startkde
    but I need to login via KDM because I need ConsoleKit and... a regular KDE session. This is my /var/log/kdm.log

    Code:
    ********************************************************************************
    Note that your system uses syslog. All of kdm's internally generated messages
    (i.e., not from libraries and external programs/scripts it uses) go to the
    daemon.* syslog facility; check your syslog configuration to find out to which
    file(s) it is logged. PAM logs messages related to authentication to authpriv.*.
    ********************************************************************************
    
    [dix] Could not init font path element unix/:7100, removing from list!
    klauncher(1903) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
    kdeinit4: Communication error with launcher. Exiting!
    kdmgreet(1775)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 
    
    kdmgreet(1775)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: File o directory non esistente
    QFileSystemWatcher: failed to add paths: /tmp/0143100545/.config/ibus/bus
     ddxSigGiveUp: Closing log
    Server terminated successfully (0). Closing log file.
    klauncher(3874) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
    kdeinit4: Communication error with launcher. Exiting!
    kdmgreet(3866)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 
    
    kdmgreet(3866)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: File o directory non esistente
    QFileSystemWatcher: failed to add paths: /tmp/1733584797/.config/ibus/bus
     ddxSigGiveUp: Closing log
    Server terminated successfully (0). Closing log file.
    [dix] Could not init font path element unix/:7100, removing from list!
    klauncher(1765) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. 
    kdeinit4: Communication error with launcher. Exiting!
    kdmgreet(1756)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "Not connected to D-Bus server" 
    
    kdmgreet(1756)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
    QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: File o directory non esistente
    QFileSystemWatcher: failed to add paths: /tmp/1830281830/.config/ibus/bus
    QThread::wait: Thread tried to wait on itself
    QThread: Destroyed while thread is still running
     ddxSigGiveUp: Closing log
    Server terminated successfully (0). Closing log file.
    From my noobish view, I can see there are some dbus, fonts and time zone errors, but it seems I'm not missing any package. I thought about KAuth but I couldn't find anything, so I'm begging you to pretty please help me out!

    Please, tell me if you need more information.

    See ya!
    Last edited by Montblanc; May 03, 2012, 09:02 PM. Reason: Changed thread title, it doesn't seem a KDM issue
    [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
    Linux User #446003 | Ubuntu User #13193

    #2
    Are any files in your home directory (or subdirectories) possibly owned by root? A quick way to find out:
    Code:
    cd ~
    find -user root

    Comment


      #3
      Thanks for your reply, SteveRiley. It seems nothing important is owned by root, just some personal files and debs in my backup folder. Maybe I should post some authorization confs and logs:

      /etc/pam.d/kdm
      Code:
      #
      # /etc/pam.d/kdm - specify the PAM behaviour of kdm
      #
      auth       required     pam_nologin.so
      auth       required     pam_env.so readenv=1
      auth       required     pam_env.so readenv=1 envfile=/etc/default/locale
      @include common-auth
      session    required     pam_limits.so
      @include common-account
      @include common-password
      @include common-session
      /etc/pam.d/login
      Code:
      #
      # The PAM configuration file for the Shadow `login' service
      #
      
      # Enforce a minimal delay in case of failure (in microseconds).
      # (Replaces the `FAIL_DELAY' setting from login.defs)
      # Note that other modules may require another minimal delay. (for example,
      # to disable any delay, you should add the nodelay option to pam_unix)
      auth       optional   pam_faildelay.so  delay=3000000
      
      # Outputs an issue file prior to each login prompt (Replaces the
      # ISSUE_FILE option from login.defs). Uncomment for use
      # auth       required   pam_issue.so issue=/etc/issue
      
      # Disallows root logins except on tty's listed in /etc/securetty
      # (Replaces the `CONSOLE' setting from login.defs)
      #
      # With the default control of this module:
      #   [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die]
      # root will not be prompted for a password on insecure lines.
      # if an invalid username is entered, a password is prompted (but login
      # will eventually be rejected)
      #
      # You can change it to a "requisite" module if you think root may mis-type
      # her login and should not be prompted for a password in that case. But
      # this will leave the system as vulnerable to user enumeration attacks.
      #
      # You can change it to a "required" module if you think it permits to
      # guess valid user names of your system (invalid user names are considered
      # as possibly being root on insecure lines), but root passwords may be
      # communicated over insecure lines.
      auth [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die] pam_securetty.so
      
      # Disallows other than root logins when /etc/nologin exists
      # (Replaces the `NOLOGINS_FILE' option from login.defs)
      auth       requisite  pam_nologin.so
      
      # SELinux needs to be the first session rule. This ensures that any 
      # lingering context has been cleared. Without out this it is possible 
      # that a module could execute code in the wrong domain.
      # When the module is present, "required" would be sufficient (When SELinux
      # is disabled, this returns success.)
      session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
      
      # This module parses environment configuration file(s)
      # and also allows you to use an extended config
      # file /etc/security/pam_env.conf.
      # 
      # parsing /etc/environment needs "readenv=1"
      session       required   pam_env.so readenv=1
      # locale variables are also kept into /etc/default/locale in etch
      # reading this file *in addition to /etc/environment* does not hurt
      session       required   pam_env.so readenv=1 envfile=/etc/default/locale
      
      # Standard Un*x authentication.
      @include common-auth
      
      # This allows certain extra groups to be granted to a user
      # based on things like time of day, tty, service, and user.
      # Please edit /etc/security/group.conf to fit your needs
      # (Replaces the `CONSOLE_GROUPS' option in login.defs)
      auth       optional   pam_group.so
      
      # Uncomment and edit /etc/security/time.conf if you need to set
      # time restrainst on logins.
      # (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
      # as well as /etc/porttime)
      # account    requisite  pam_time.so
      
      # Uncomment and edit /etc/security/access.conf if you need to
      # set access limits.
      # (Replaces /etc/login.access file)
      # account  required       pam_access.so
      
      # Sets up user limits according to /etc/security/limits.conf
      # (Replaces the use of /etc/limits in old login)
      session    required   pam_limits.so
      
      # Prints the last login info upon succesful login
      # (Replaces the `LASTLOG_ENAB' option from login.defs)
      session    optional   pam_lastlog.so
      
      # Prints the motd upon succesful login
      # (Replaces the `MOTD_FILE' option in login.defs)
      session    optional   pam_motd.so
      
      # Prints the status of the user's mailbox upon succesful login
      # (Replaces the `MAIL_CHECK_ENAB' option from login.defs). 
      #
      # This also defines the MAIL environment variable
      # However, userdel also needs MAIL_DIR and MAIL_FILE variables
      # in /etc/login.defs to make sure that removing a user 
      # also removes the user's mail spool file.
      # See comments in /etc/login.defs
      session    optional   pam_mail.so standard
      
      # Standard Un*x account and session
      @include common-account
      @include common-session
      @include common-password
      
      # SELinux needs to intervene at login time to ensure that the process
      # starts in the proper default security context. Only sessions which are
      # intended to run in the user's context should be run after this.
      session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
      # When the module is present, "required" would be sufficient (When SELinux
      # is disabled, this returns success.)
      /var/log/auth.log
      Code:
      May  2 18:12:34 melchior sudo: montblanc : TTY=pts/2 ; PWD=/etc/apt/sources.list.d ; USER=root ; COMMAND=/bin/rm docky-core-ppa-precise.list~ glennric-dolphin-emu-precise.list~ google-earth.list~ google.list~ google-talkplugin.list~ kubuntu-ppa-backports-precise.list~ kubuntu-ppa-precise.list~ libreoffice-ppa-precise.list~ medibuntu.list~ playonlinux.list~ tiheum-equinox-precise.list~ ubuntu-audio-dev-ppa-precise.list~ ubuntu-wine-ppa-precise.list~ ubuntu-x-swat-x-updates-precise.list~
      May  2 18:12:50 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get updatre
      May  2 18:12:55 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get update
      May  2 18:14:42 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/do-release-upgrade -m desktop -f kde -p
      May  2 18:14:48 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  2 18:17:01 melchior CRON[18376]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 18:17:01 melchior CRON[18376]: pam_unix(cron:session): session closed for user root
      May  2 18:39:01 melchior CRON[5205]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 18:39:01 melchior CRON[5205]: pam_unix(cron:session): session closed for user root
      May  2 19:09:01 melchior CRON[22066]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 19:09:01 melchior CRON[22066]: pam_unix(cron:session): session closed for user root
      May  2 19:17:01 melchior CRON[22625]: PAM unable to dlopen(pam_winbind.so): /lib/security/pam_winbind.so: cannot open shared object file: No such file or directory
      May  2 19:17:01 melchior CRON[22625]: PAM adding faulty module: pam_winbind.so
      May  2 19:17:01 melchior CRON[22625]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 19:17:01 melchior CRON[22625]: pam_unix(cron:session): session closed for user root
      May  2 21:13:31 melchior sudo: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
      May  2 21:13:31 melchior sudo: PAM adding faulty module: pam_cap.so
      May  2 21:13:34 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure localepurge
      May  2 21:13:43 melchior sudo: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
      May  2 21:13:43 melchior sudo: PAM adding faulty module: pam_cap.so
      May  2 21:13:43 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/localepurge
      May  2 21:13:57 melchior sudo: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
      May  2 21:13:57 melchior sudo: PAM adding faulty module: pam_cap.so
      May  2 21:13:57 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/dpkg -a --confgiure
      May  2 21:14:00 melchior sudo: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
      May  2 21:14:00 melchior sudo: PAM adding faulty module: pam_cap.so
      May  2 21:14:00 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/dpkg -a --configure
      May  2 21:17:01 melchior CRON[16132]: PAM unable to dlopen(pam_cap.so): /lib/security/pam_cap.so: cannot open shared object file: No such file or directory
      May  2 21:17:01 melchior CRON[16132]: PAM adding faulty module: pam_cap.so
      May  2 21:17:01 melchior CRON[16132]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 21:17:01 melchior CRON[16132]: pam_unix(cron:session): session closed for user root
      May  2 21:18:57 melchior polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.77 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  2 21:39:01 melchior CRON[10680]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 21:39:02 melchior CRON[10680]: pam_unix(cron:session): session closed for user root
      May  2 21:52:31 melchior sshd[1086]: Received signal 15; terminating.
      May  2 21:52:31 melchior sshd[29988]: Server listening on 0.0.0.0 port 22.
      May  2 21:58:00 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/dpkg -a --configure
      May  2 21:58:00 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 21:58:01 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 21:58:04 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get clean
      May  2 21:58:04 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 21:58:14 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 21:58:23 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/bin/bash ubucleaner.sh
      May  2 21:58:23 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 21:58:24 melchior sudo:     root : TTY=pts/1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/aptitude purge libbind9-40 libcheese-gtk20 libcheese1 libcogl5 libdns45 libgcj10 libgnutlsxx26 libiodbc2 libisccfg40 libsdl1.2debian-alsa libvlccore4 libxmlrpc-core-c3-0 mysql-server-5.1
      May  2 21:58:24 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=0)
      May  2 21:59:30 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 21:59:30 melchior sudo:     root : TTY=pts/1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/aptitude purge linux-headers-3.2.0-24 linux-headers-3.2.0-24-generic-pae linux-image-3.2.0-24-generic-pae
      May  2 21:59:30 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=0)
      May  2 21:59:40 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 21:59:40 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:00:00 melchior polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.77, object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  2 22:00:06 melchior kdm: :0[16137]: pam_unix(kdm:session): session closed for user montblanc
      May  2 22:01:39 melchior sshd[1175]: Server listening on 0.0.0.0 port 22.
      May  2 22:02:25 melchior kdm: :0[2074]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 22:03:05  kdm: last message repeated 2 times
      May  2 22:03:05 melchior login[2109]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  2 22:03:18 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm restart
      May  2 22:03:18 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:03:18 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:03:25 melchior kdm: :0[7415]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 22:03:48 melchior kdm: :0[7415]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 22:04:04 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get update
      May  2 22:04:04 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:05:44 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:07:14 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/bin/rm lists.old/
      May  2 22:07:14 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:07:15 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:07:37 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/bin/rm -rf lists.old
      May  2 22:07:37 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:07:38 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:07:48 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/bin/mv -f lists lists.old
      May  2 22:07:48 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:07:48 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:07:51 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/apt-get update
      May  2 22:07:51 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:09:01 melchior CRON[32114]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 22:09:02 melchior CRON[32114]: pam_unix(cron:session): session closed for user root
      May  2 22:10:17 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:10:37 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  2 22:10:37 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:17:01 melchior CRON[29764]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 22:17:01 melchior CRON[29764]: pam_unix(cron:session): session closed for user root
      May  2 22:37:31 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:39:01 melchior CRON[16613]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 22:39:01 melchior CRON[16613]: pam_unix(cron:session): session closed for user root
      May  2 22:48:05 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/dpkg -a --configure
      May  2 22:48:05 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:52:22 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:52:58 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/dpkg -a --configure
      May  2 22:52:58 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:52:59 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:53:03 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  2 22:53:03 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:53:23 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:54:48 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/dpkg -i --force-all /var/cache/apt/archives/inskcape_0.48.3.1-1ubuntu1_i386.deb
      May  2 22:54:48 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:54:50 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:55:12 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/dpkg -a --configure --force-all
      May  2 22:55:12 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:55:12 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:55:18 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/lib/apt ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  2 22:55:18 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:55:34 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:57:19 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/cache/apt/archives ; USER=root ; COMMAND=/usr/bin/dpkg -i --force-all inkscape_0.48.3.1-1ubuntu1_i386.deb
      May  2 22:57:19 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:57:46 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:57:49 melchior sudo: montblanc : TTY=tty1 ; PWD=/var/cache/apt/archives ; USER=root ; COMMAND=/usr/bin/apt-get clean
      May  2 22:57:49 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:57:50 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:58:03 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/bin/bash ubucleaner.sh
      May  2 22:58:03 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 22:58:04 melchior sudo:     root : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/aptitude purge libbind9-60 libcv2.1 libcvaux2.1 libdns69 libept1 libexiv2-10 libgps19 libhighgui2.1 libicu44 libindicator3-6 libisc62 libisccc60 libisccfg62 libkdb5-5 liblaunchpad-integration1 libllvm2.9 liblwres60 libmarblewidget12 libmatroska4 libmysqlclient16 libnl3 libproxy0 libunique-3.0-0 libutouch-evemu1 libutouch-frame1 libutouch-grail1 libx264-116
      May  2 22:58:04 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=0)
      May  2 22:59:18 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 22:59:18 melchior sudo:     root : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/aptitude purge linux-headers-3.0.0-19 linux-headers-3.0.0-19-generic-pae linux-image-3.0.0-19-generic-pae
      May  2 22:59:18 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=0)
      May  2 23:00:22 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:00:23 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:00:33 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  2 23:00:33 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:00:34 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:00:44 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/sbin/update-grub2
      May  2 23:00:44 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:00:48 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:00:55 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/apt-get install --reinstall inkscape
      May  2 23:00:55 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:01:49 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:02:37 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/usr/bin/apt-get clean
      May  2 23:02:37 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:02:37 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:02:39 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc/Pacchetti/Ubucleaner ; USER=root ; COMMAND=/sbin/reboot now
      May  2 23:02:39 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:02:39 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:06:12 melchior sshd[1135]: Server listening on 0.0.0.0 port 22.
      May  2 23:07:03 melchior kdm: :0[3458]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:13:12 melchior kdm: :0[1942]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:13:32 melchior kdm: :0[1942]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=sambashare
      May  2 23:13:35 melchior kdm: :0[1942]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:13:41 melchior kdm: :0[1942]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:13:53 melchior login[1934]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  2 23:14:03 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get update
      May  2 23:14:03 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:16:11 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:17:01 melchior CRON[21336]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  2 23:17:01 melchior CRON[21336]: pam_unix(cron:session): session closed for user root
      May  2 23:21:04 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm restart
      May  2 23:21:04 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:21:04 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:21:15 melchior kdm: :0[9604]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:21:59 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get update
      May  2 23:21:59 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:23:56 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:25:20 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  2 23:25:20 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:26:14 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:26:52 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/dpkg-reconfigure kdm
      May  2 23:26:52 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:26:53 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:27:12 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/update-alternatives --config kdm
      May  2 23:27:12 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:27:12 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:27:14 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/update-alternatives --config kdmrc
      May  2 23:27:14 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:27:14 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:27:16 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/update-alternatives --config kdm-rc
      May  2 23:27:16 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:27:16 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:28:45 melchior sudo: montblanc : TTY=tty1 ; PWD=/etc/kde4/kdm ; USER=root ; COMMAND=/usr/bin/genkdmconf --no-old-kde
      May  2 23:28:45 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:28:45 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:28:54 melchior sudo: montblanc : TTY=tty1 ; PWD=/etc/kde4/kdm ; USER=root ; COMMAND=/usr/sbin/service kdm restart
      May  2 23:28:54 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:28:54 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:29:02 melchior kdm: :0[14482]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:29:28  kdm: last message repeated 3 times
      May  2 23:29:28 melchior kdm: :0[14482]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=sambashare
      May  2 23:29:35 melchior kdm: :0[14482]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:29:41 melchior kdm: :0[14482]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:32:10 melchior login[1315]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  2 23:32:16 melchior sudo: montblanc : TTY=tty2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  2 23:32:16 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:32:16 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:33:15 melchior sudo: montblanc : TTY=tty1 ; PWD=/etc/kde4/kdm ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  2 23:33:15 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:33:15 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:33:43 melchior login[1316]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 01:48:57 melchior kdm: :0[1761]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:49:15 melchior kdm: :0[1761]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  2 23:49:27 melchior login[2098]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  2 23:49:35 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  2 23:49:35 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:49:36 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:50:07 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get purge gnome-desktop
      May  2 23:50:07 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:50:11 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:50:29 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get purge ubuntu-desktop
      May  2 23:50:29 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  2 23:50:29 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  2 23:54:26 melchior polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.39 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  3 00:09:01 melchior CRON[20111]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 00:09:02 melchior CRON[20111]: pam_unix(cron:session): session closed for user root
      May  3 00:17:01 melchior CRON[2896]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 00:17:01 melchior CRON[2896]: pam_unix(cron:session): session closed for user root
      May  3 00:31:34 melchior sudo: montblanc : TTY=pts/3 ; PWD=/home/montblanc/KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build ; USER=root ; COMMAND=/usr/bin/checkinstall
      May  3 00:31:34 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 00:33:21 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 00:33:42 melchior sudo: montblanc : TTY=pts/3 ; PWD=/home/montblanc/KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build ; USER=root ; COMMAND=/sbin/ldconfig
      May  3 00:33:42 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 00:33:43 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 00:33:52 melchior sudo: montblanc : TTY=pts/3 ; PWD=/home/montblanc/KDE-Look/improvements ; USER=root ; COMMAND=/bin/rm -rf kcm-qt-graphicssystem
      May  3 00:33:52 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 00:33:52 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 00:39:01 melchior CRON[27808]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 00:39:01 melchior CRON[27808]: pam_unix(cron:session): session closed for user root
      May  3 01:09:01 melchior CRON[28253]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 01:09:02 melchior CRON[28253]: pam_unix(cron:session): session closed for user root
      May  3 01:17:01 melchior CRON[3971]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 01:17:01 melchior CRON[3971]: pam_unix(cron:session): session closed for user root
      May  3 01:39:01 melchior CRON[25275]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 01:39:01 melchior CRON[25275]: pam_unix(cron:session): session closed for user root
      May  3 01:41:17 melchior dbus[1101]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.95" (uid=0 pid=27293 comm="/usr/bin/python /usr/share/apt-xapian-index/update") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.94" (uid=0 pid=27291 comm="/usr/bin/qaptworker ")
      May  3 01:41:56 melchior dbus[1101]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.95" (uid=0 pid=27293 comm="/usr/bin/python /usr/share/apt-xapian-index/update") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.94" (uid=0 pid=27291 comm="/usr/bin/qaptworker ")
      May  3 01:55:05 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apper
      May  3 01:55:05 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 01:55:07 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 01:55:09 melchior polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.39, object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected from bus)
      May  3 01:58:04 melchior kdm: :0[1774]: pam_unix(kdm:auth): conversation failed
      May  3 01:58:04 melchior kdm: :0[1774]: pam_unix(kdm:auth): auth could not identify password for [montblanc]
      May  3 01:59:52 melchior kdm: :0[1755]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  3 02:00:24 melchior login[2069]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 02:00:55 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  3 02:00:55 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 02:00:55 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 02:02:26 melchior polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.41 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  3 02:09:01 melchior CRON[27554]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 02:09:02 melchior CRON[27554]: pam_unix(cron:session): session closed for user root
      May  3 02:17:01 melchior CRON[20461]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 02:17:01 melchior CRON[20461]: pam_unix(cron:session): session closed for user root
      May  3 02:39:01 melchior CRON[12746]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 02:39:01 melchior CRON[12746]: pam_unix(cron:session): session closed for user root
      May  3 03:01:20 melchior dbus[1088]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.70" (uid=0 pid=31290 comm="/usr/bin/python /usr/share/apt-xapian-index/update") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.69" (uid=0 pid=31288 comm="/usr/bin/qaptworker ")
      May  3 03:01:26 melchior sudo: montblanc : TTY=pts/2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/muon
      May  3 03:01:26 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:01:26 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:01:35 melchior dbus[1088]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.70" (uid=0 pid=31290 comm="/usr/bin/python /usr/share/apt-xapian-index/update") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.69" (uid=0 pid=31288 comm="/usr/bin/qaptworker ")
      May  3 03:02:56 melchior dbus[1088]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.70" (uid=0 pid=31290 comm="/usr/bin/python /usr/share/apt-xapian-index/update") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.78" (uid=0 pid=3930 comm="/usr/bin/qaptworker ")
      May  3 03:03:50 melchior dbus[1088]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.70" (uid=0 pid=31290 comm="/usr/bin/python /usr/share/apt-xapian-index/update") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.78" (uid=0 pid=3930 comm="/usr/bin/qaptworker ")
      May  3 03:05:39 melchior sudo: montblanc : TTY=pts/3 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/aptitude full-upgrade
      May  3 03:05:39 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:05:51 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:05:59 melchior sudo: montblanc : TTY=pts/3 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/dpkg --configure -a
      May  3 03:05:59 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:06:00 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:06:05 melchior sudo: montblanc : TTY=pts/3 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get install -f
      May  3 03:06:05 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:06:08 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:09:01 melchior CRON[16738]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 03:09:01 melchior CRON[16738]: pam_unix(cron:session): session closed for user root
      May  3 03:17:01 melchior CRON[31194]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 03:17:01 melchior CRON[31194]: pam_unix(cron:session): session closed for user root
      May  3 03:26:05 melchior polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.41, object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  3 03:26:23 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/sbin/reboot now
      May  3 03:26:23 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:26:23 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:28:12 melchior kdm: :0[2014]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  3 03:28:35 melchior login[2050]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 03:29:51 melchior login[1291]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 03:30:01 melchior sudo: montblanc : TTY=tty2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  3 03:30:01 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:30:02 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:31:23 melchior polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.39 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  3 03:33:18 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/bin/sh -c /usr/bin/kcmshell4 userconfig
      May  3 03:33:18 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 03:33:30 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/bin/sh -c /usr/bin/kcmshell4 userconfig
      May  3 03:33:30 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 03:33:48 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:33:48 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:33:48 melchior polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.39, object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected from bus)
      May  3 03:39:01 melchior CRON[19235]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 03:39:02 melchior CRON[19235]: pam_unix(cron:session): session closed for user root
      May  3 03:39:43 melchior login[1883]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 03:39:58 melchior login[1262]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 03:40:06 melchior sudo: montblanc : TTY=tty2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  3 03:40:06 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:40:06 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:40:13 melchior sudo: montblanc : TTY=tty2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/console-kit-daemon
      May  3 03:40:13 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:40:13 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:40:21 melchior sudo: montblanc : TTY=tty2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm start
      May  3 03:40:21 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:40:21 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:40:27 melchior kdm: :0[27534]: pam_unix(kdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=  user=montblanc
      May  3 03:40:43 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  3 03:40:43 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:40:43 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:41:58 melchior polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.42 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  3 03:43:12 melchior sudo: montblanc : TTY=pts/2 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/console-kit-daemon
      May  3 03:43:12 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 03:43:12 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:43:47 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/bin/sh -c /usr/bin/kcmshell4 userconfig
      May  3 03:43:47 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 03:43:54 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/bin/sh -c /usr/bin/kcmshell4 userconfig
      May  3 03:43:54 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 03:44:00 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 03:44:00 melchior polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.42, object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected from bus)
      May  3 03:44:00 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 13:29:49 melchior login[1900]: pam_unix(login:session): session opened for user montblanc by LOGIN(uid=0)
      May  3 13:32:36 melchior sudo: montblanc : TTY=tty1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/sbin/service kdm stop
      May  3 13:32:36 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 13:32:36 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 13:34:18 melchior polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session1 (system bus name :1.40 [/usr/lib/kde4/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
      May  3 13:39:01 melchior CRON[14020]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 13:39:02 melchior CRON[14020]: pam_unix(cron:session): session closed for user root
      May  3 13:41:25 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get update
      May  3 13:41:25 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 13:41:50 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 14:01:08 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/blockcontrol update
      May  3 14:01:08 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 14:02:09 melchior sudo: montblanc : TTY=pts/1 ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/apt-get dist-upgrade
      May  3 14:02:09 melchior sudo: pam_unix(sudo:session): session opened for user root by montblanc(uid=1000)
      May  3 14:03:18 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 14:06:50 melchior sudo: montblanc : TTY=unknown ; PWD=/home/montblanc ; USER=root ; COMMAND=/usr/bin/blockcontrol start
      May  3 14:06:50 melchior sudo: pam_unix(sudo:session): session opened for user root by (uid=1000)
      May  3 14:06:52 melchior sudo: pam_unix(sudo:session): session closed for user root
      May  3 14:09:01 melchior CRON[29234]: pam_unix(cron:session): session opened for user root by (uid=0)
      May  3 14:09:02 melchior CRON[29234]: pam_unix(cron:session): session closed for user root
      And this is what happens when I try to login via LightDM: /var/log/lightdm/lightdm.log

      Code:
      [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
      [+0.00s] DEBUG: Starting Light Display Manager 1.2.1, UID=0 PID=2505
      [+0.00s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
      [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
      [+0.00s] DEBUG: Registered seat module xlocal
      [+0.00s] DEBUG: Registered seat module xremote
      [+0.00s] DEBUG: Adding default seat
      [+0.00s] DEBUG: Starting seat
      [+0.00s] DEBUG: Starting new display for greeter
      [+0.00s] DEBUG: Starting local X display
      [+0.03s] DEBUG: Using VT 7
      [+0.03s] DEBUG: Activating VT 7
      [+0.04s] DEBUG: Logging to /var/log/lightdm/x-0.log
      [+0.04s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
      [+0.05s] DEBUG: Launching X Server
      [+0.05s] DEBUG: Launching process 2511: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
      [+0.05s] DEBUG: Waiting for ready signal from X server :0
      [+0.05s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
      [+0.06s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
      [+2.92s] DEBUG: Got signal 10 from process 2511
      [+2.92s] DEBUG: Got signal from X server :0
      [+2.92s] DEBUG: Connecting to XServer :0
      [+2.92s] DEBUG: Starting greeter
      [+2.92s] DEBUG: Started session 2517 with service 'lightdm', username 'lightdm'
      [+2.97s] DEBUG: Session 2517 authentication complete with return value 0: Success
      [+2.97s] DEBUG: Greeter authorized
      [+2.97s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
      [+2.97s] DEBUG: Session 2517 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/lightdm-kde-greeter
      [+4.11s] DEBUG: Greeter connected version=1.2.1
      [+4.11s] DEBUG: Greeter connected, display is ready
      [+4.11s] DEBUG: New display ready, switching to it
      [+4.11s] DEBUG: Activating VT 7
      [+20.57s] DEBUG: Greeter start authentication for montblanc
      [+20.57s] DEBUG: Started session 2997 with service 'lightdm', username 'montblanc'
      [+20.59s] DEBUG: Session 2997 got 1 message(s) from PAM
      [+20.59s] DEBUG: Prompt greeter with 1 message(s)
      [+20.59s] DEBUG: Continue authentication
      [+22.10s] DEBUG: Session 2997 authentication complete with return value 7: Authentication failure
      [+22.10s] DEBUG: Authenticate result for user montblanc: Authentication failure
      [+22.10s] DEBUG: Session 2997 exited with return value 1
      [+23.70s] DEBUG: Greeter start authentication for montblanc
      [+23.70s] DEBUG: Started session 2998 with service 'lightdm', username 'montblanc'
      [+23.71s] DEBUG: Session 2998 got 1 message(s) from PAM
      [+23.71s] DEBUG: Prompt greeter with 1 message(s)
      [+23.71s] DEBUG: Continue authentication
      [+26.64s] DEBUG: Session 2998 authentication complete with return value 7: Authentication failure
      [+26.64s] DEBUG: Authenticate result for user montblanc: Authentication failure
      [+26.64s] DEBUG: Session 2998 exited with return value 1
      [+27.71s] DEBUG: Greeter start authentication for montblanc
      [+27.71s] DEBUG: Started session 2999 with service 'lightdm', username 'montblanc'
      [+27.73s] DEBUG: Session 2999 got 1 message(s) from PAM
      [+27.73s] DEBUG: Prompt greeter with 1 message(s)
      [+27.73s] DEBUG: Continue authentication
      [+29.53s] DEBUG: Greeter start authentication for montblanc
      [+29.53s] DEBUG: Session 2999: Sending SIGTERM
      [+29.53s] DEBUG: Started session 3359 with service 'lightdm', username 'montblanc'
      [+29.54s] DEBUG: Session 3359 got 1 message(s) from PAM
      [+29.54s] DEBUG: Prompt greeter with 1 message(s)
      [+29.54s] DEBUG: Continue authentication
      [+31.57s] DEBUG: Session 3359 authentication complete with return value 7: Authentication failure
      [+31.57s] DEBUG: Authenticate result for user montblanc: Authentication failure
      [+31.57s] DEBUG: Session 3359 exited with return value 1
      [+44.25s] DEBUG: Greeter start authentication for montblanc
      [+44.25s] DEBUG: Started session 3412 with service 'lightdm', username 'montblanc'
      [+44.27s] DEBUG: Session 3412 got 1 message(s) from PAM
      [+44.27s] DEBUG: Prompt greeter with 1 message(s)
      [+44.27s] DEBUG: Continue authentication
      [+45.60s] DEBUG: Session 3412 authentication complete with return value 7: Authentication failure
      [+45.60s] DEBUG: Authenticate result for user montblanc: Authentication failure
      [+45.60s] DEBUG: Session 3412 exited with return value 1
      [+49.25s] DEBUG: Greeter start authentication for montblanc
      [+49.25s] DEBUG: Started session 3413 with service 'lightdm', username 'montblanc'
      [+49.27s] DEBUG: Session 3413 got 1 message(s) from PAM
      [+49.27s] DEBUG: Prompt greeter with 1 message(s)
      [+49.27s] DEBUG: Continue authentication
      [+50.96s] DEBUG: Session 3413 authentication complete with return value 7: Authentication failure
      [+50.96s] DEBUG: Authenticate result for user montblanc: Authentication failure
      [+50.96s] DEBUG: Session 3413 exited with return value 1
      [+111.85s] DEBUG: Got signal 15 from process 1
      [+111.85s] DEBUG: Caught Terminated signal, shutting down
      [+111.85s] DEBUG: Stopping display manager
      [+111.85s] DEBUG: Stopping seat
      [+111.85s] DEBUG: Stopping display
      [+111.85s] DEBUG: Session 2517: Sending SIGTERM
      [+111.93s] DEBUG: Session 2517 exited with return value 0
      [+111.94s] DEBUG: Greeter quit
      [+111.94s] DEBUG: Sending signal 15 to process 2511
      [+111.97s] DEBUG: Process 2511 exited with return value 0
      [+111.97s] DEBUG: X server stopped
      [+111.97s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
      [+111.98s] DEBUG: Releasing VT 7
      [+111.98s] DEBUG: Display server stopped
      [+111.98s] DEBUG: Display stopped
      [+111.98s] DEBUG: Seat stopped
      [+111.98s] DEBUG: Display manager stopped
      [+111.98s] DEBUG: Stopping daemon
      [+111.98s] DEBUG: Exiting with return value 0
      So, the problem is not within KDM itself, but it's some sort of authentication failure.

      Please, help me investigate this logs!
      Last edited by Montblanc; May 03, 2012, 08:43 AM.
      [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
      Linux User #446003 | Ubuntu User #13193

      Comment


        #4
        Any news on this? I reopened an old bug on Launchpad but no one has solved this issue so far.
        [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
        Linux User #446003 | Ubuntu User #13193

        Comment


          #5
          What happens for a newly created user?

          Comment


            #6
            Originally posted by james147 View Post
            What happens for a newly created user?
            It recognizes the password (both kdm and lightdm), but after trying to load X, it pops back to the login screen.
            [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
            Linux User #446003 | Ubuntu User #13193

            Comment


              #7
              Do you have kubuntu-desktop installed? I would run the following to make sure your system has everything it should have installed:
              Code:
              sudo apt-get update
              sudo apt-get install -f
              sudo apt-get dist-upgrade
              sudo apt-get install kubuntu-desktop

              Comment


                #8
                Thanks james, but yes, it is. I tried removing kubuntu-desktop and reinstalling it, along with kde-workspace* and many other kde packages, but I couldn't solve anything. Just so that you believe me:

                Code:
                $ sudo apt-get install -f 
                Lettura elenco dei pacchetti... Fatto
                Generazione albero delle dipendenze       
                Lettura informazioni sullo stato... Fatto
                0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
                $ sudo apt-get dist-upgrade
                Lettura elenco dei pacchetti... Fatto
                Generazione albero delle dipendenze       
                Lettura informazioni sullo stato... Fatto
                Calcolo dell'aggiornamento... Eseguito
                0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
                $ sudo apt-get install kubuntu-desktop
                Lettura elenco dei pacchetti... Fatto
                Generazione albero delle dipendenze       
                Lettura informazioni sullo stato... Fatto
                kubuntu-desktop è già alla versione più recente.
                0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
                I'm running out of ideas. PAM configuration files also seem good to me.
                [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
                Linux User #446003 | Ubuntu User #13193

                Comment


                  #9
                  The most famous cause of being locked out of a user's kdm login is root permissions on a file in the user's directory system. You answered Steve's question about this with "nothing important", but I'm not sure the X server will let a user log in with any root files present in the user's folders.

                  The reason I bring this up is the following line from your lightdm log:

                  Code:
                  [+111.97s] DEBUG: X server stopped
                  [+111.97s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
                  That sure looks like an attempted (even if unintended) root session with the X server, to me.

                  EDIT: There appears to be a fix down this thread: http://ubuntuforums.org/showthread.php?t=1865779
                  Last edited by dibl; May 04, 2012, 08:03 AM.

                  Comment


                    #10
                    Originally posted by dibl View Post
                    The most famous cause of being locked out of a user's kdm login is root permissions on a file in the user's directory system. You answered Steve's question about this with "nothing important", but I'm not sure the X server will let a user log in with any root files present in the user's folders.

                    The reason I bring this up is the following line from your lightdm log:

                    Code:
                    [+111.97s] DEBUG: X server stopped
                    [+111.97s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
                    That sure looks like an attempted (even if unintended) root session with the X server, to me.
                    Thanks for your reply, dibl, but that messages are the output of my

                    Code:
                    sudo service lightdm stop
                    that I entered on the console so that I could run startx (because the display was busy). You can see that those X messages appear a few seconds later, that's explained by the fact that I was typing Ctrl+Alt+F1 to access the console and type that command.

                    My authority files in ~ are owned by me, files owned by root are in personal folders and have nothing to do with this.

                    EDIT: There appears to be a fix down this thread: http://ubuntuforums.org/showthread.php?t=1865779
                    Those logs are slightly different, I get PAM error messages in both kdm and lightdm, while that guy could login with kdm. He just had lightdm configuration files messed up. Mine are ok.

                    Thank you so much for your reply, anyway!

                    What's really puzzling me is that sudo works just fine, but any authentication method that doesn't require sudo fails because tries to pick my username with a wrong uid (0 instead of 1000).

                    I'm sure that some files are owned by root instead of my user, but as far as I can tell, those mysterious files are not in my home.

                    EDIT: I'll let you see the output of find -user root, just in case I'm missing something:

                    Code:
                    $ find -user root
                    ./Backup/sysctl.conf
                    ./Backup/Banshee/Banshee.NotificationArea.dll
                    ./Backup/Banshee/Banshee.NotificationArea.dll.config
                    ./.xinput.d
                    ./.nano_history
                    ./Pacchetti/Skype/skype-call-recorder/build/description-pak
                    ./Pacchetti/Skype/skype-call-recorder/build/install_manifest.txt
                    ./Pacchetti/Skype/skype-call-recorder/build/backup-061220090348-pre-skype-call-recorder.tgz
                    ./Pacchetti/Skype/skype-call-recorder_0.8+git20090612-jaunty1_i386.deb
                    ./Pacchetti/Sentinella/sentinella_0.8.0-maverick0_i386.deb
                    ./Pacchetti/Android/tools/optipng_0.6.5-natty0_i386.deb
                    ./Pacchetti/X360/abgx360_1.0.6-ubuntu0_i386.deb
                    ./Pacchetti/X360/abgx360gui_1.0.2-karmic1_i386.deb
                    ./Pacchetti/aMSN/amsn/description-pak
                    ./Pacchetti/aMSN/amsn/doc-pak
                    ./Pacchetti/RecordItNow/recorditnow_0.7-karmic1_i386.deb
                    ./Pacchetti/kmesskde4/kmess/build/description-pak
                    ./Pacchetti/kmesskde4/kmess/build/backup-041520102039-pre-kmess.tgz
                    ./Pacchetti/kmesskde4/kmess/build/backup-041520102051-pre-kmess-dev.tgz
                    ./Pacchetti/kmesskde4/kmess/build/install_manifest.txt
                    ./Pacchetti/kmesskde4/kmess/build/doc-pak
                    ./Pacchetti/kmesskde4/kmess/description-pak
                    ./Pacchetti/kmesskde4/kmess/backup-031820101945-pre-kmess.tgz
                    ./Pacchetti/kmesskde4/kmess/doc-pak
                    ./Pacchetti/kmesskde4/kmess-dev_20100415-karmic1_i386.deb
                    ./Pacchetti/ffmpeg/libvpx_201105102105-git-1_i386.deb
                    ./Pacchetti/ffmpeg/x264/description-pak
                    ./Pacchetti/ffmpeg/x264/doc-pak
                    ./Pacchetti/ffmpeg/x264_0.115.1947+gitb5a8ad7-1_i386.deb
                    ./Pacchetti/ffmpeg/ffmpeg_201105102114-git-1_i386.deb
                    ./Pacchetti/ffmpeg/libvpx/description-pak
                    ./Pacchetti/ffmpeg/libvpx/doc-pak
                    ./Pacchetti/ffmpeg/ffmpeg/description-pak
                    ./Pacchetti/ffmpeg/qt-faststart_201105102117-git-1_i386.deb
                    ./.kde/share/apps/RecentDocuments/Caledonia_1920x1200.png.desktop
                    ./.kde/share/applnk/AdobeAIR-application-vnd.adobe.air-application-installer-package+zip.desktop
                    ./.aptitude/config
                    ./.aptitude/cache
                    ./KDE-Look/themes/Bespin/cloudcity/build/lib/kwin_bespin_config.so
                    ./KDE-Look/themes/Bespin/cloudcity/build/lib/kstyle_bespin_config.so
                    ./KDE-Look/themes/Bespin/cloudcity/build/config/CMakeFiles/kstyle_bespin_config.dir/depend.internal
                    ./KDE-Look/themes/Bespin/cloudcity/build/config/CMakeFiles/kstyle_bespin_config.dir/depend.make
                    ./KDE-Look/themes/Bespin/cloudcity/build/config/CMakeFiles/kstyle_bespin_config.dir/kstyle_bespin_config_automoc.o
                    ./KDE-Look/themes/Bespin/cloudcity/build/kwin/CMakeFiles/kwin_bespin_config.dir/depend.internal
                    ./KDE-Look/themes/Bespin/cloudcity/build/kwin/CMakeFiles/kwin_bespin_config.dir/kwin_bespin_config_automoc.o
                    ./KDE-Look/themes/Bespin/cloudcity/build/kwin/CMakeFiles/kwin_bespin_config.dir/depend.make
                    ./KDE-Look/themes/Bespin/cloudcity/build/description-pak
                    ./KDE-Look/themes/Bespin/cloudcity/build/install_manifest.txt
                    ./KDE-Look/themes/Bespin/kde-style-bespin_20100927-lucid0_i386.deb
                    ./KDE-Look/themes/kwin4-style-dekorator_0.4.1-1_i386.deb
                    ./KDE-Look/themes/kwin-style-nitrogen_3.0.0-jaunty1_i386.deb
                    ./KDE-Look/plasmoidi/plasma-widget-yawp_20110129-maverick0_i386.deb
                    ./KDE-Look/plasmoidi/plasmoid-toggle-compositing_0.2.3-1_i386.deb
                    ./KDE-Look/plasmoidi/rssora/plasma-dataengine-rss_20081222-1_i386.deb
                    ./KDE-Look/plasmoidi/rssora/rss/build/description-pak
                    ./KDE-Look/plasmoidi/rssora/rss/build/install_manifest.txt
                    ./KDE-Look/plasmoidi/rssora/rssnow/build/description-pak
                    ./KDE-Look/plasmoidi/rssora/rssnow/build/install_manifest.txt
                    ./KDE-Look/plasmoidi/rssora/plasmoid-rssnow_20081222-1_i386.deb
                    ./KDE-Look/plasmoidi/plasma-applet-yasp-scripted_1.0.8a-oneiric0_i386.deb
                    ./KDE-Look/plasmoidi/plasmoid-stdin_0.2-beta1_i386.deb
                    ./KDE-Look/improvements/gtk-kde4/description-pak
                    ./KDE-Look/improvements/gtk-kde4/install_manifest.txt
                    ./KDE-Look/improvements/gtk-kde4/doc-pak
                    ./KDE-Look/improvements/kcm-qt-graphicssystem_20120503-ubuntu0_i386.deb
                    ./KDE-Look/improvements/colibri_0.2.2-0ubuntu1~natty_i386.deb
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/lib/kcm_qt_graphicssystem.so
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/description-pak
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/src/CMakeFiles/kcm_qt_graphicssystem.dir/depend.internal
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/src/CMakeFiles/kcm_qt_graphicssystem.dir/depend.make
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/src/CMakeFiles/kcm_qt_graphicssystem.dir/kcm_qt_graphicssystem_automoc.o
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/backup-050320120033-pre-kcm-qt-graphicssystem.tgz
                    ./KDE-Look/improvements/kcm-qt-graphicssystem-1.3/build/install_manifest.txt
                    ./.ure
                    ./.ure/javasettings_Linux_x86.xml
                    Last edited by Montblanc; May 04, 2012, 10:03 AM. Reason: added 'find -user root' output
                    [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
                    Linux User #446003 | Ubuntu User #13193

                    Comment


                      #11
                      :eek:

                      Those are all root-owed files?

                      :eek:

                      All that KDE-Look content, including the installation scripts?

                      :eek:

                      I don't know where you were informed that it's OK to have root-owned files and directories anywhere under your ~/Montblanc directory, but I think we just found the problem.

                      Do you know how to use "sudo chown" or else Alt-F2 "kdesudo dolphin" to change all that stuff back to Montblanc (or whatever your user name is)?

                      Comment


                        #12
                        Originally posted by dibl View Post
                        :eek:

                        Those are all root-owed files?

                        :eek:

                        All that KDE-Look content, including the installation scripts?

                        :eek:

                        I don't know where you were informed that it's OK to have root-owned files and directories anywhere under your ~/Montblanc directory, but I think we just found the problem.

                        Do you know how to use "sudo chown" or else Alt-F2 "kdesudo dolphin" to change all that stuff back to Montblanc (or whatever your user name is)?
                        Uhm, could you please explain why non-vital files in my home directory should not be ok? There's no file that needs to be owned by me in that output, but most of all, none of those files can in any way make my system think my password is incorrect. I can chown in any moment, but I could delete those files in any moment as well. For example, the sysctl backup is from Dapper (2006). They're just checkinstall results and backups of files owned by root and they're all under control. The only files that could possibly be owned by me are these ones:

                        Code:
                        ./.xinput.d
                        ./.nano_history
                        ./.kde/share/apps/RecentDocuments/Caledonia_1920x1200.png.desktop
                        ./.kde/share/applnk/AdobeAIR-application-vnd.adobe.air-application-installer-package+zip.desktop
                        ./.aptitude/config
                        ./.aptitude/cache
                        ./.ure
                        ./.ure/javasettings_Linux_x86.xml
                        But there's a reason why they're owned by root and I know for sure that they're not related to my problem.

                        Thank you so much for helping me out, but I'm getting nervous. I shouldn't have upgraded by changing every "oneiric" occurrence to "precise" in my sources.list but my system was not triggering a distribution upgrade. Something has happened while upgrading that way, but I don't know what.
                        Last edited by Montblanc; May 04, 2012, 12:58 PM.
                        [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
                        Linux User #446003 | Ubuntu User #13193

                        Comment


                          #13
                          There is nothing wrong with backing up any and all system files that you wish, in your user's home folder. HOWEVER, please note what happens to the ownership when the user makes the backup:

                          Code:
                          don@imerabox:~$ ls -la /etc/sysctl.conf
                          -rw-r--r-- 1 root root 2246 Nov  3  2011 /etc/sysctl.conf
                          don@imerabox:~$ cp /etc/sysctl.conf .
                          don@imerabox:~$ ls -la sysctl.conf
                          -rw-r--r-- 1 don don 2246 May  4 15:45 sysctl.conf
                          Any file copied by the user into his home directory becomes his file. What you have apparently done is used "sudo" or a root-mode file manager and copied system files into your user's folder -- that is a no-no. Moreover, you have somehow managed to create configuration files of such tools as aptitude in the user's home folder, with root ownership. For example, to run a KDE user session, everything under ~/.kde has to be owned by the user:

                          Code:
                          don@imerabox:~$ ls -la .kde
                          total 32
                          drwxr-xr-x  6 don don  4096 Nov 21 13:08 .
                          drwx------ 54 don don 12288 May  4 15:45 ..
                          drwxr-xr-x  2 don don  4096 Apr 28 15:14 Autostart
                          lrwxrwxrwx  1 don don    21 Nov 15 09:04 cache-imerabox -> /var/tmp/kdecache-don
                          drwxr-xr-x  2 don don  4096 Nov 21 13:08 env
                          drwxr-xr-x  6 don don  4096 Nov 21 13:08 share
                          drwxr-xr-x  2 don don  4096 Nov 21 13:08 shutdown
                          lrwxrwxrwx  1 don don    16 Nov 15 09:04 socket-imerabox -> /tmp/ksocket-don
                          lrwxrwxrwx  1 don don    12 Nov 15 09:04 tmp-imerabox -> /tmp/kde-don
                          I'm not willing to spend any more time debating it -- we have found the cause of your broken KDE login.

                          Comment


                            #14
                            My .kde folder and X files/folders have the right owners and permissions, while the files from my output are consciously owned by root, there is no problem with that. If it was just a matter of permissions, I wouldn't have been able to login with startx, the logs would have reported that and I wouldn't have had to open a thread. You're clearly not understanding what I'm talking about but I do sincerely appreciate your help, though.

                            By the way, I made some progress! There was nothing wrong with the uids, the LOGIN (pam) session is always started by uid=0 for every user as a normal behaviour.

                            I tried adding my user to the "nopasswdlogin" group and:

                            1) lightdm works as it should, it asks for the password, recognizes it and logs me in (although I see the X cursor on a black screen for a moment before starting ksplash)
                            2) kdm logs me automatically in.

                            Clearly I don't have any authentication failures at this point and I can finally mount partitions, update files through apper and so on... but I want to use kdm by entering a password. Also, I don't like lightdm. If my user is not in the "nopasswdlogin" group, kdm and lightdm don't recognize my password, but when it is, kdm skips the greeter screen (no matter which kdmrc settings I use), while lightdm contradicts the "no password login" but it works as I wanted.

                            I can tell now that it's probably a pam issue (or a consolekit/dbus one), it's just something that's preventing my input to be recognized as a password for my user. /etc/passwd and pam files are just fine, though. I'm getting somewhere, but maybe I should dig further...

                            Can you tell me something about this nopasswdlogin experience and how I could possibly have my dear kdm back to normal?

                            Thank you so much!
                            Last edited by Montblanc; May 04, 2012, 09:18 PM.
                            [MB] Asus A8R-MVP | [CPU] Athlon64 X2 4800+ | [RAM] 4x 1GiB Corsair XMS PC3200 | [GPU] NVIDIA GeForce 9500 GT 512MiB | [AUDIO] Creative Sound Blaster X-Fi | [HDD] 2x Western Digital 320GiB + Caviar Blue 500GiB | [DVD] LG GH22NS40 | [OS] Kubuntu 12.04 (KDE 4.8.2) | [linux] 3.0.0-24-generic-pae
                            Linux User #446003 | Ubuntu User #13193

                            Comment


                              #15
                              You are correct that PAM authorization is related to your problem, but there is more to know, related to X server security. I'm not an expert on it (if you never run "sudo kdepkg", and you never allow root-owned files in your user folder, then you never need to become an expert on this subject). Here are the terms that will lead you and Google to the relevant information:

                              xsecurity
                              mit-magic-cookie-1
                              xdm-authorization-1
                              .Xauthority

                              Good luck with the research!

                              Comment

                              Working...
                              X