Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any package/.deb that enables the user to automatically login into ubuntu detecting the face of the user?

I'm using Ubuntu 12.04

share|improve this question


Add the PPA repository and Update

sudo apt-add-repository ppa:antonio.chiurazzi/ppa && sudo apt-get update

Install the Ubuntu Face Authentication / Face Recognition Library

sudo apt-get install pam-face-authentication

Tweak and Edit The System Now to add the face authentication module to GDM, Ubuntu's default login-manager:

sudo sed -i '1i auth sufficient enableX' /etc/pam.d/gdm 
sudo sed -i '1i auth sufficient enableX' /etc/pam.d/gnome-screensaver

Depending on your webcam model/make you may need to install and add libv4l to preload: Create the file /etc/

Paste in the path to the file commonly found in /usr/lib/libv4l

Open "Face Trainer" (Application > Other), system will scan your face and add to database so that the system recognize your face while logi

Go to System > Administration > Users and Groups, change the password to Asked to login

Go to System > Administration > Login Screen, choose "Show the Screen for choosing who will log in", whis action will disable automatic login.

Done, you can logoff the system and test face authentication login in your ubuntu.


check these site you will get more info

share|improve this answer
this would be a good answer... however in 11.10 (as the OP as indicated) the default login manager is lightdm... – fossfreedom Nov 28 '11 at 14:51
If i were to replace the lines that have gdm with lightdm will thta make this wrk in 11.10? – Uri Herrera Nov 28 '11 at 15:20
Isnt there any nice app for these? i mean in Windows you you have Fast Access and Luxand Blink. – kernel_panic Nov 29 '11 at 7:12
The PPA doesn't have packages for 11.10 yet. – MagicFab Dec 23 '11 at 15:27
SORRY There is no package available yet for 11.10 – VENKI Dec 24 '11 at 16:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.