Added by Tomas Forsman, last edited by Tomas Forsman on Aug 19, 2010  (view change) show comment

Labels:

Add Labels
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

First we need to open this file: /etc/pam.d/gdm-autologin. We do it with Terminal:

sudo gedit /etc/pam.d/gdm-autologin

we add this lines:

account    required     pam_unix.so
session    required     pam_permit.so

and it looks like this:

#%PAM-1.0
auth       required    pam_env.so
auth       optional    pam_keyring.so try_first_pass
auth       required    pam_permit.so
account    required    pam_nologin.so
account    include     system-auth
account    required     pam_unix.so
password   include     system-auth
password        optional        pam_gnome_keyring.so
session    optional    pam_keyinit.so force revoke
session    include     system-auth
session    required    pam_loginuid.so
session    optional    pam_console.so
session    optional    pam_keyring.so
session    required     pam_permit.so

so you must add the two lines at the end of where they fit. like account needs to be added at the end of account.

 Save the file.

Now lets open another file:

sudo gedit /etc/gdm/custom.conf

 And we at the end of the file this:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=marcus

But you need to change the AutomaticLogin name "marcus" to your nickname you are using for your Foresight.

Restart computer and its done.