Open GoogleCodeExporter opened 8 years ago
HELP ME PLEASE!!!
Original comment by hum.rich...@gmail.com
on 16 Sep 2010 at 12:07
I have the same problem with Ubuntu 10.10
The problem is not with the install. This issue only happens if you log in with
your face. Then the PATH variable of the gnome session is changed to just
"/usr/local/bin:/usr/bin:/bin", so programs on other paths will not work.
If your face authentication fails and you log in with your password then the
PATH is not changed and everything works fine.
The fastest way to solve this issue is to get rid of face authentication on
login.
I checked the PATH with this two ways:
-When logged in with my face:
$cat /etc/enviroment
PATH="/usr/local/bin:/usr/bin:/bin"
$echo $PATH
/usr/local/bin:/usr/bin:/bin
-When logged in with my password:
$cat /etc/enviroment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
$echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
I also checked the files ~/.bashrc /etc/profile/ /usr/include/paths.h
/etc/bash.bashrc and I couldn't found what pam-face-authentication is changing.
I also added the correct path to all this files and the problem was still
alive. So pam-face-authentication must change the PATH after those files are
executed.
The only way you can get the correct PATH when you log in with your face is by
changing the enviroment PATH by terminal (or in the ~/.bashrc) but then you
have to launch all the programs by terminal, menus will not work.
Original comment by dgvalde
on 21 Oct 2010 at 8:49
Original issue reported on code.google.com by
hum.rich...@gmail.com
on 13 Sep 2010 at 11:43