maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] Deblet how to: n800 and 770 gdm login. (https://talk.maemo.org/showthread.php?t=24606)

meizirkki 2008-10-28 16:34

[Debian] Deblet how to: n800 and 770 gdm login.
 
Sorry, if this has already been there, but i did not find thread with this.

n800 and 770 do not have a hardware keyboard, and there is no on-screen keyboard for gdm. GDM users can also login without password. This way they can easily select desktop environment where they want to log in.



First, download gdm theme that has face-browser (or whatever it's called) and enable it.



Make this file:

Code:

/etc/gdmnopassusers
(type "nano /etc/gdmnopassusers" to create and edit the file)

And add user(s) that you want to be able to log in without a password. one user for each row.



Then edit this file:

Code:

/etc/pam.d/gdm
(By typing "nano /etc/pam.d/gdm" in terminal.)

And add this line into script>

Code:

auth sufficient pam_listfile.so file=/etc/gdmnopassusers sense=allow item=user
important! Right place is just before this line:

Code:

@include common-auth
Now, the file shoud look like this:

Code:

#%PAM-1.0
auth    requisite      pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
auth    sufficient      pam_listfile.so file=/etc/gdmnopassusers sense=allow item=user
@include common-auth
auth    optional        pam_gnome_keyring.so
@include common-account
session required        pam_limits.so
@include common-session
session optional        pam_gnome_keyring.so auto_start
@include common-password

I have n810, but i use this because it's faster to login without password.


All times are GMT. The time now is 01:44.

vBulletin® Version 3.8.8