switchkiller / pam-face-authentication

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

error with kdm and gdm #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. take pictures with gtk-facemanager
2. set pam.d/kdm and pam.d/gdm as explain
3. start with kdm or gdm

What is the expected output? What do you see instead?

with kdm i can't click on button (authenticate and cancel)

with gdm it crash with this error in /var/log/syslog : 

Aug  6 00:11:07 computer kernel: [  416.159999] gdm[4361]: segfault at 0 ip
b7585dd3 sp 2cf4a3e4 error 4 in libc-2.9.so[b7550000+158000]
Aug  6 00:11:07 computer gdm[3323]: WARNING: gdm_cleanup_children: child
3331 crashed of signal 11
Aug  6 00:11:07 computer gdm[3323]: WARNING: gdm_cleanup_children: Slave
crashed, killing its children
Aug  6 00:11:08 computer kernel: [  417.119875]
[drm:gm45_get_vblank_counter] *ERROR* trying to get vblank count for
disabled pipe 0

What version of the product are you using? On what operating system?
Last svn version on debian sid

Please provide any additional information below.

kdm version : 4:4.2.4-1+b1
gdm version : 2.20.9-1.1

Original issue reported on code.google.com by kneis...@free.fr on 5 Aug 2009 at 10:16

GoogleCodeExporter commented 9 years ago
can you checkout the qtbranch , this is the current "developmental" version , 
the
trunk is old.

KDM support has been added with kdm_greet plugin , i am currently packaging 
it(at the
moment)

Original comment by rohan.a...@gmail.com on 5 Aug 2009 at 10:37

GoogleCodeExporter commented 9 years ago
Hello,

i'm sorry but i'm a simple user and i don't realy know how to make that, here's 
what
i try :

svn checkout 
http://pam-face-authentication.googlecode.com/svn/branches/qtbranch/
pam-face-authentication
cd pam-face-authentication
cmake .

here is my error : 

-- Checking GNUCXX version 3/4 to determine  OpenCV /opt/net/ path
-- Configuring done
CMake Error in CMakeLists.txt:
  Cannot find source file "xwindowFaceAuth.c".  Tried extensions .c .C .c++
  .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

any idea ?

thanks

Original comment by kneis...@free.fr on 6 Aug 2009 at 6:34

GoogleCodeExporter commented 9 years ago
apologies , forgot to commit the file
you can check it out now

Original comment by rohan.a...@gmail.com on 6 Aug 2009 at 6:16

GoogleCodeExporter commented 9 years ago
Works great with gdm (but don't have the video any more while login in and 
don't know
how to put it again)

but i can't make it work with kdm, compil of the kdm plugin is ok but i don't 
realy
know how to use it

Original comment by kneis...@free.fr on 6 Aug 2009 at 10:32

GoogleCodeExporter commented 9 years ago
can you tell me the gdm and kdm version 
if its older gdm (gdm< 2.24)
then you can have video output by adding gdm legacy option
that is line becomes - auth sufficient pam_face_authentication.so gdmlegacy
kdm plugin instructions , ill compile in coming days
some more testing is required

and thanks for the interest in the project

Original comment by rohan.a...@gmail.com on 7 Aug 2009 at 12:31

GoogleCodeExporter commented 9 years ago
kdm version : 4:4.2.4-1+b1
gdm version : 2.20.9-1.1

I just try gdmlegacy, still no video (put the line in /etc/pam.d/gdm)
For kdm no problems i'm on holliday soon, i have all the time :)

I have two other strange things :
when i log in, composite is disable by an application
and my kde mix two languages, french and english (i'm french so the first one 
is the
normal one :) )
it's not big problems but can be annoying.

And for the interest in the project, it look's like a realy good one so it's 
normal.
if you wan't me to test other things, don't hesitate to ask.

Original comment by kneis...@free.fr on 7 Aug 2009 at 5:56

GoogleCodeExporter commented 9 years ago
gdmlegacy should work.. i havent tested it yet ( since it was old code) i 
assumed it
will work , i will do some testing , and fix it now.

about the KDE mixing , probably the application doesnt have the french 
translation
files , there are two ways Qt - has qtlinguist whihch produces the ts file and 
GNU
has gettext which createst po files i think ... even i am not an expert in this 
, you
could ask someone in   #kde-devel , in irc.freenode.net

yup it would be great , for testing and getting the word out about the project 
, but
that is once i get rid of some bugs (like the gdmlegacy one) .

you could join the mailing -list , link is on the main page , right now i am 
the only
one there =)

Original comment by rohan.a...@gmail.com on 7 Aug 2009 at 1:05

GoogleCodeExporter commented 9 years ago
i'll try to fix the kde mixing problem and i will take another look at 
gdmlegacy,
maybe i have done a mistake

for the mailing-list, it's done :)

Original comment by kneis...@free.fr on 7 Aug 2009 at 4:02

GoogleCodeExporter commented 9 years ago
ok kde fixed (damn debian unstable dist-upgrade) 

i replace gdmlegacy by enableX and now i got the video while i log in.

Original comment by kneis...@free.fr on 7 Aug 2009 at 10:11

GoogleCodeExporter commented 9 years ago
hmm  thats wonderful news actually, but not sure why enableX worked (used for 
su etc)
 and gdmlegacy  did not , which distro do you use, version etc, i could try it out on
that , and see if the output differs with some other distro with older gdm 

Original comment by rohan.a...@gmail.com on 7 Aug 2009 at 10:21

GoogleCodeExporter commented 9 years ago
i'm using debian sid (http://www.debian.org/releases/unstable/)

Original comment by kneis...@free.fr on 7 Aug 2009 at 10:41

GoogleCodeExporter commented 9 years ago
i just confirmed with Ubuntu 8.04 , it seems to work ,
i will test it on openSUSE 10.3 tmmrw ,

something is wrong btw ! IT WAS NOT supposed to work, i will try figuring out 
how
Xwindow was shown ( it was supposed to miss the Xauthority) 

i am happy =)

if you have some time , it would be great if you could try with newer gdm's
that is after 2.24+

Thanks

Original comment by rohan.a...@gmail.com on 8 Aug 2009 at 12:17

GoogleCodeExporter commented 9 years ago
ok i will search how i can install a newer gdm version and make the test

Original comment by kneis...@free.fr on 8 Aug 2009 at 6:51

GoogleCodeExporter commented 9 years ago
the .3 version got released with KDM plugin , do check it out =)

Original comment by rohan.a...@gmail.com on 10 Aug 2009 at 4:26

GoogleCodeExporter commented 9 years ago
I will test it tomorrow (it's night here)

Original comment by kneis...@free.fr on 10 Aug 2009 at 11:19

GoogleCodeExporter commented 9 years ago
Hello, still getting some problems with kde, 
For information, on my debian kdmrc is on /etc/kde4/kdm/kdmrc

i do as tell in the install doc , create a /etc/pam.d/kde4-faceauthentication 
try
with kdm-faceauthentication too , nothing happens.

With gdm still the same too, need enableX to have video.

I can soon test on another computer (buy a new laptop monday :) ) but for now 
got a
little camera problem (image is upside down and i don't have any clue how to 
put it
in the right side)

Original comment by kneis...@free.fr on 12 Aug 2009 at 5:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
you mean GDM works with enableX ?

can do out put of ls in /etc/pam.d/

when you login to KDM, you need to right click and select the authentication 
plugin
as Username + Face

Original comment by rohan.a...@gmail.com on 13 Aug 2009 at 5:07

GoogleCodeExporter commented 9 years ago
Yes gdm works with enableX but when face recognition fail and i give my 
password, gdm
restart most of the time.

With kdm i see the select plugin menu but i don't have the picture when i 
select it.

here is the ls of my /etc/pam.d/ :

atd       chsh            common-password  cups           kde4-faceauthenticate 
kdm-np    other   ppp    su
chfn      common-account  common-session   gdm            kdm                   

login     passwd  samba  sudo
chpasswd  common-auth     cron             gdm-autologin  kdm-faceauthenticate  

newusers  polkit  sshd   xscreensaver

Original comment by kneis...@free.fr on 22 Aug 2009 at 9:10

GoogleCodeExporter commented 9 years ago
ok, i'm an idiot :)

it works better when i put enablex on kdm too

so, for debian sid (unstable) here are the directory and file name :

kgreet are under /usr/lib/kde4/
you need kdm-faceauthenticate in /etc/pam.d/
kdmrc is under /etc/kde4/kdm/
kdm themes are under /usr/share/kde4/apps/kdm/themes/

but with both gdm and kdm i got problem when i'm not recognise, it crash

Original comment by kneis...@free.fr on 22 Aug 2009 at 10:08

GoogleCodeExporter commented 9 years ago
oh wait its was supposed to work without enableX in kdm ,

it crashed on gdm and kdm when it does not recognize? 
ok i need to check that...

Original comment by rohan.a...@gmail.com on 25 Aug 2009 at 2:24

GoogleCodeExporter commented 9 years ago
Use version 0.3

Original comment by rohan.a...@gmail.com on 8 Jul 2010 at 10:55