Hi

I've managed to find the problem , it's this line in login-manager

auth        required    pam_unix.so

Autologin from KDM just won't work with this set. I've also checked
other distros to see and pam_unix.so is not present for kde-np.

I've also attached my proposal for the kde-np file which I've tested
and works perfectly for me. It removes the auth include of
login-manager and just specifies the old kde-np auth files.

If you want I can open a bug. Also if you have a different suggestion
to fix the problem that would work that would be fine too. This is the
best I could come up with and it seems to do the trick.

On Sun, May 29, 2011 at 11:09 PM, bouleetbil <[email protected]> wrote:
> Le Sun, 29 May 2011 22:11:14 +0300,
> Marius Cirsta <[email protected]> a écrit :
>
>> Thanks, I've tried what you suggested but unfortunately it didn't work
>> for me. I've attached the relevant config files ( if you want to check
>> those are OK ) and the log file.
>>
>> Other than those 2 attached config files I haven't touched any other
>> config file and kde-np should be back to the one present in current.
>>
>> On Sun, May 29, 2011 at 8:04 PM, bouleetbil <[email protected]> wrote:
>> > Le Sun, 29 May 2011 16:16:31 +0300,
>> > Marius Cirsta <[email protected]> a écrit :
>> >
>> >>  I've had a problem with Frugalware current where autologin with KDM 
>> >> would fail.
>> >>
>> >>  By looking at the /var/log/secure I've found that the problem was
>> >> caused by PAM :
>> >>
>> >> May 29 13:22:38 frugalware kdm: :0[520]: pam_unix(kde-np:auth):
>> >> authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
>> >> user=marius
>> >>
>> >> I've then looked at file change history from git and found that
>> >> commit:  eaa9c002b47e87585c7c1225cb23b046264f599d   on  Date:   Tue
>> >> Mar 22 17:30:48 2011 +0100
>> >> actually changed the  kde-np.pamd file.
>> >>
>> >> I'm sure this was a necessary change as the message is
>> >>
>> >>     kdebase-workspace-4.6.1-4-x86_64
>> >>     *use our pam rules from pam-frugalware
>> >>
>> >> but the problem is that it broke autologin with kdm. Using the old
>> >> kde-np.pamd files the autologin works while using the new one in
>> >> current it fails.
>> >>
>> >> I'm no expert in PAM so I'm not really sure what the fix would be.
>> >> _______________________________________________
>> >> Frugalware-devel mailing list
>> >> [email protected]
>> >> http://frugalware.org/mailman/listinfo/frugalware-devel
>> >
>> > Hi,
>> > can you try to add to /etc/pam.d/login-manager (at the end)
>> > auth       required     pam_permit.so
>> > account    include      system-auth
>> > password   include      system-auth
>> > session    include      system-auth
>> > session    optional     pam_console.so
>> > session    optional     pam_polkit_console.so
>> >
>> > and use kde-np.pamd from current. If that fix your problem I will fix 
>> > login-manager from pam-frugalware.
>> > _______________________________________________
>> > Frugalware-devel mailing list
>> > [email protected]
>> > http://frugalware.org/mailman/listinfo/frugalware-devel
>> >
>
> Hi
> I will check I've only add the missing rule from old kdm pam rules (btw 
> already broken it use some old deprecated pam module as pam console..)
> and please open a bug
> _______________________________________________
> Frugalware-devel mailing list
> [email protected]
> http://frugalware.org/mailman/listinfo/frugalware-devel
>

Attachment: 0001-fix-permission-for-kdm-autologin-feature.patch
Description: Binary data

_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to