Bug#242641: kdm does not obey pam_limits

2004-04-20 Thread Xavier Hienne
Actually, Kees is right, this a kdm issue. I checked kdebase-3.2.1/kdm/backend/client.c and, at line 1142, there are two function calls whose return value is not used : pam_set_item (pamh, PAM_CONV, &pconv); /* XXX this can fail */ pam_open_session (pamh, 0); /* XXX this can fail, to

Bug#240027: kdm: KDM does not start correctly on boot

2004-04-11 Thread Xavier Hienne
Dominique Devriese wrote: Chris Cheney writes: I wonder how DEV_RANDOM is getting set to /dev/random, the Imakefile doesn't mention /dev/random at all. A grep of kdebase for /dev/random turns up nothing for me, but it must be getting set somehow. :< Yes, well, what I've noticed yesterday, is

Bug#240027: KDM does not start correctly on boot

2004-04-01 Thread Xavier Hienne
The problem is that kdm_config blocks when reading /dev/random. AFAIK, the kernel entropy pool is fed with random events coming from disk seeks, keyboard input and mouse motions. When the entropy pool is empty, read accesses to /dev/random will block. Therefore, on a diskless workstation, kdm_

Bug#238182: A fix proposal for bug #238182 (kdm auto-login fails)

2004-03-23 Thread Xavier Hienne
Hi, This bug is discussed here : http://bugs.kde.org/show_bug.cgi?id=68331 Following the instructions, I edited /etc/pam.d/kdm-np and replaced its first line : @include common-auth with : auth required pam_permit.so There may be a cleaner way to change this, I'm not a pam expert. Xavier