Bug 219445 - The user needs to login twice
Summary: The user needs to login twice
Status: RESOLVED UPSTREAM
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-20 17:24 UTC by Lisandro Damián Nicanor Pérez Meyer
Modified: 2010-01-04 10:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisandro Damián Nicanor Pérez Meyer 2009-12-20 17:24:24 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561592
Reported by: Klaus Ethgen <Klaus@Ethgen.de>

I set the severity to normal however it has a mayor impact to the
usability. But I use sid only on my laptop where I use suspend to ram so
not having so often to login.

To the problem:
Since the update I always have to login twice. The problem seems to be
that the $HOME is mounted _after_ the password is correct and kdm seems
to not allow the $HOME to change the volumeid or so. This change was
introduced in the last update of kdm. On my laptop I use pam-encfs to
mount my $HOME which work well. It also do not help to mount the
directory on a console in front of logging in under kdm.

kdm.log give the following on every first login:
   Dropping master 
   error setting MTRR (base = 0xe0000000, size = 0x10000000, type = 1) Invalid argument (22)

the rest is equal to a successful login.
Comment 1 VP 2009-12-23 10:07:58 UTC
I can confirm this bug as many other users (at least on Debian) can.
I supposed that it was a duplicate of 219065, but the same happens with root account too (as opposed to what is reported in 219065).

sudo cat /var/log/daemon.log | grep kdm                                                  
Dec 22 09:10:17 Abraracourcix kdm: :0[3286]: Abnormal termination of greeter for display :0, code 1, signal 0                   
Dec 22 09:10:17 Abraracourcix kdm: :0[3286]: Abnormal greeter termination, code 1, sig 0                                        
Dec 22 14:52:44 Abraracourcix kdm_greet[3143]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 22 14:55:47 Abraracourcix kdm: :0[3133]: Cannot open ConsoleKit session: Unable to open session: Method "OpenSessionWithParameters" with signature "a(sv)" on interface "org.freedesktop.ConsoleKit.Manager" doesn't exist                                                                    
Dec 22 14:55:47 Abraracourcix kdm: :0[3133]: Client start failed
Dec 22 14:55:47 Abraracourcix kdm: :0[3133]: Cannot close ConsoleKit session: Unable to close session: no session open
Dec 22 14:55:51 Abraracourcix kdm_greet[3232]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 22 22:13:55 Abraracourcix kdm_greet[3118]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 22 22:14:05 Abraracourcix kdm: :0[3110]: Cannot open ConsoleKit session: Unable to open session: Method "OpenSessionWithParameters" with signature "a(sv)" on interface "org.freedesktop.ConsoleKit.Manager" doesn't exist
Dec 22 22:14:05 Abraracourcix kdm: :0[3110]: Client start failed
Dec 22 22:14:05 Abraracourcix kdm: :0[3110]: Cannot close ConsoleKit session: Unable to close session: no session open
Dec 22 22:14:09 Abraracourcix kdm_greet[3206]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:19:14 Abraracourcix kdm_greet[3109]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:19:24 Abraracourcix kdm: :0[3101]: Cannot open ConsoleKit session: Unable to open session: Method "OpenSessionWithParameters" with signature "a(sv)" on interface "org.freedesktop.ConsoleKit.Manager" doesn't exist
Dec 23 09:19:24 Abraracourcix kdm: :0[3101]: Client start failed
Dec 23 09:19:24 Abraracourcix kdm: :0[3101]: Cannot close ConsoleKit session: Unable to close session: no session open
Dec 23 09:19:28 Abraracourcix kdm_greet[3197]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:49:58 Abraracourcix kdm_greet[30594]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:50:03 Abraracourcix kdm: :0[30586]: Cannot open ConsoleKit session: Unable to open session: Method "OpenSessionWithParameters" with signature "a(sv)" on interface "org.freedesktop.ConsoleKit.Manager" doesn't exist
Dec 23 09:50:03 Abraracourcix kdm: :0[30586]: Client start failed
Dec 23 09:50:03 Abraracourcix kdm: :0[30586]: Cannot close ConsoleKit session: Unable to close session: no session open
Dec 23 09:50:07 Abraracourcix kdm_greet[30683]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:51:08 Abraracourcix kdm_greet[367]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:51:17 Abraracourcix kdm: :0[356]: Cannot open ConsoleKit session: Unable to open session: Method "OpenSessionWithParameters" with signature "a(sv)" on interface "org.freedesktop.ConsoleKit.Manager" doesn't exist
Dec 23 09:51:17 Abraracourcix kdm: :0[356]: Client start failed
Dec 23 09:51:17 Abraracourcix kdm: :0[356]: Cannot close ConsoleKit session: Unable to close session: no session open
Dec 23 09:51:20 Abraracourcix kdm_greet[457]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:52:07 Abraracourcix kdm_greet[697]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Dec 23 09:52:44 Abraracourcix kdm_greet[876]: Cannot load /usr/share/kde4/apps/kdm/faces/.default.face: No such file or directory
Comment 2 George Kiagiadakis 2009-12-27 16:27:00 UTC
This is a strange consolekit/dbus issue, but most probably not  a kdm bug.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562026
Comment 3 VP 2009-12-27 18:14:44 UTC
You are right. I have seen similar bug reports involving kernel 2.6.32.x too.