switchkiller / pam-face-authentication

Automatically exported from code.google.com/p/pam-face-authentication
0 stars 0 forks source link

KDM Authentication Not Working #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the pam-face-authentication 0.3 module
2. Install the kdm-plugin-pam-face-authentication 0.1 module
3. Edit files files properly on /etc/pam.d

What is the expected output? What do you see instead?
When I try to authenticate on KDM, the KDE Desktop should open, like a
password authentication

What version of the product are you using? On what operating system?
pam module 0.3, kdm module 0.1, Arch Linux current (08/27/09) x64 bits

Please provide any additional information below.
The pam su, sudo and login authentication works fine (editing respectives
/etc/pam.d files) with this user. su and sudo of other user to this work
(i.e. pam authenticating is working fine), and terminal login too. But KDM
show Login failed, when trying to authenticate with
pam-face-authentication. I tried many angles to authenticate, and work with
su and sudo in these angles, only KDM not. 
PS.: Sorry my poor english. Congratulations for the job, is very good. Thnxx

Original issue reported on code.google.com by andre.vm...@gmail.com on 27 Aug 2009 at 2:36

GoogleCodeExporter commented 9 years ago
Yes, i have noticed this , i guess, you are sitting in a place which is not 
having
enough illumination, so the monitors illumination actually makes a difference

to Get it working with KDM , change the Theme - or background image to some 
whitish
color , then it should work =)

kdm theme can be changed in the kdmrc file ..

Monitors light hits your face and it will work =)

Original comment by rohan.a...@gmail.com on 27 Aug 2009 at 2:52

GoogleCodeExporter commented 9 years ago
again, if this works for you , ill close this bug

Original comment by rohan.a...@gmail.com on 27 Aug 2009 at 2:56

GoogleCodeExporter commented 9 years ago
Hi. I had tryed this. Not work. In others authentication methods, its work. 
Don't is
a light problem (I make many tests). There is very much light, and the 
trainings was
got with many light. Also, in KDM authentication, it capture image for a litle 
of
time only (indicating that authentication is sucessful), but KDM show login 
failed.
I'm sure not is a light problem on taking the shots.

Original comment by andre.vm...@gmail.com on 27 Aug 2009 at 3:01

GoogleCodeExporter commented 9 years ago
Hmm, i guess its a problem with the KDM plugin , i will do testing on arch 
tmmrw and
try fixing this.

Original comment by rohan.a...@gmail.com on 27 Aug 2009 at 3:05

GoogleCodeExporter commented 9 years ago
Thanks very much. I'm wondered with this program. Work very well, in others
authentication metods. I'm using this as my default terminal login method. Is 
very
fast and accurated. But, unfortunatelly, the KDM is not working with him. 
I'll be following this project. Good bye.

Original comment by andre.vm...@gmail.com on 27 Aug 2009 at 3:10

GoogleCodeExporter commented 9 years ago
Did you change the plugin to face authenticate on KDM , once the KDM starts, 
Does it
show the video preview in KDM ?

Original comment by rohan.a...@gmail.com on 27 Aug 2009 at 4:46

GoogleCodeExporter commented 9 years ago
Yes, I did it. It show the video preview, and I think authenticated, but the 
KDM shown 
Login failed. 

Original comment by andre.vm...@gmail.com on 27 Aug 2009 at 6:03

GoogleCodeExporter commented 9 years ago

Hello, 

There was a bug in the INSTALLATION Documentation ( CMAKE_INSTALL_DIR changed to
CMAKE_INSTALL_PREFIX )
FYI:
http://lifeasiknow-it.blogspot.com/2009/08/pam-face-authentication-musings-how-t
o.html

Original comment by rohan.a...@gmail.com on 30 Aug 2009 at 7:52

GoogleCodeExporter commented 9 years ago
Yes, I see it. It was installed on /usr/local, but I linked all archives to the 
corrects paths on /usr, to work. 

Original comment by andre.vm...@gmail.com on 31 Aug 2009 at 12:10

GoogleCodeExporter commented 9 years ago
voting. I can't get camera feed in KDM. pam auth works fine. added face via qt-
facetrainer, can auth with pam, but not with kdm - because kdm doesn't show 
camera 
image. ArchLinux.

Original comment by zdevel on 10 Oct 2009 at 8:47

GoogleCodeExporter commented 9 years ago
To solve this issue on Debian (and maybe other distros) you should create the 
file -
/etc/pam.d/kdm-faceauthenticate
instead of -
/etc/pam.d/kde4-faceauthenticate

the content should be the same as described in the installation documentation ( 
http://lifeasiknow-it.blogspot.com/2009/08/pam-face-authentication-musings-how-
to.html )

Original comment by shaked....@gmail.com on 21 Jan 2010 at 12:20

GoogleCodeExporter commented 9 years ago
No camera feed in KDM. Opensuse factory milestone 6. 
1. The pam file for KDM on opensuse is /etc/pam.d/xdm:
#%PAM-1.0
auth    sufficient      pam_face_authentication.so      enableX
auth     include        common-auth
account  include        common-account
password include        common-password
session  required       pam_loginuid.so
session  include        common-session

2. Edit the file 
$kdm-plugin-pam-face-authentication-0.1/kgreet_faceauthenticate.cpp, 
replacing faceAuthGUI.start(BINDIR"/xwindowFaceAuth",arguments);
with faceAuthGUI.start("/usr/kde/4/bin/xwindowFaceAuth",arguments);

cmake -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

3. Edit the kdmrc and add faceauthenticate plugin.

4. restart X
The menu of kdm has the item of "username+faceauthenticate", choose this, but 
there 
is only blank area under username and no camera feed.

GDM is ok, thanks!

Original comment by yis...@gmail.com on 8 May 2010 at 5:42

GoogleCodeExporter commented 9 years ago
I have the same issue with Fedora 13.

I had to install the faceauthenticate kdm plugin in /usr/lib/kde4/ to get it 
detected
by KDM.

I also edited /etc/pam.d/kdm but that somehow made kde crash when I logged in 
using
the classic method.

well, anyway, when I chose the faceauthenticate method in KDM I have a balck 
area
where I guess there should be the camera feed...

so far the plugin works fine for sudo as far as I can tell...

Original comment by coder.tux@gmail.com on 11 May 2010 at 7:05

GoogleCodeExporter commented 9 years ago
Hello and Congratulations for the project!!!

KDM login works for me only with this content:
________________________________
#%PAM-1.0
auth sufficient pam_face_authentication.so
@include common-account
@include common-password
@include common-session
session optional pam_console.so
session optional pam_polkit_console.so
_______________________________

I use kubuntu 10.04 with kde 4.4.5
With the content of the how-to on the lifeasiknow-it.blogspot.com login always 
fail.
I hope this will help anyone who has the same problem.

(sorry for bad english :)

-ftso-

Original comment by kotsifi on 29 Jul 2010 at 9:41

GoogleCodeExporter commented 9 years ago
i have ubuntu 10.04 and i got face auth working with the sudo file..

the problem i am having is getting the KDM plugin to work..(first of all if 
htere anything lighter than KDM that we can use as a login manager... i would 
prefer to not use KDE/KDM at all and use something else that is wayy lighter.. 
besides the point though..

like i said works fine with the sudo commands etc.. 

but.. i changed my theme to oxygen like requested.. and my kdmrc file is in 
/etc/kde4/kdm (added the extra thing to pluginslogin)

i have created in /etc/pam.d/kdm-faceauthenticate the file that has the 

#%PAM-1.0
auth sufficient pam_face_authentication.so enableX
account include system-auth
password include system-auth
session include system-auth
session optional pam_console.so
session optional pam_polkit_console.so

______________
when i go to login there are no plugins section or anything in the KDM ??

 i dont understand? did i do something wrong? 

ubuntu 10.04

Original comment by samle...@gmail.com on 30 Jul 2010 at 10:11

GoogleCodeExporter commented 9 years ago
Hi all,first congratulation for this amazing piece of software,linux users 
really appreciate things like that,i installed "pfm" and also the kdm 
module,i'm using debian testing with kde4.5.1,it works very well except the kdm 
plugin that has a really strange behaviour,definitively a bug,in fact when kdm 
starts i don't have a menu entry for using the face authentication,to use it i 
have to type someting in the password field and hit return,then an information 
popup shows up 
and the camera preview starts,i also have to click ok to each messages the 
module send(like "came closer to the camera ecc")meanwhile it stops,but after 
he recognise me i can login with pam...help needed

Original comment by a.raspi...@gmail.com on 11 Oct 2010 at 8:12