Autologin na lightdm

Debian više ne koristi Slim (šmrc) ali tu je lightdm. Naravno, opet se treba na to priviknuti. Trebao mi je autologin. Uputstva sam našao i spremam ih tu na sigurno.

lightdm autologin debian wheezy

/etc/lightdm/lightdm.conf

[SeatDefaults]
autologin-user={YOUR USER NAME}
autologin-user-timeout=0
pam-service=lightdm-autologin

create /etc/pam.d/lightdm-autologin (if not exist)
#%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 required pam_succeed_if.so user != root quiet_success
auth required pam_permit.so
@include common-account
session required pam_limits.so
@include common-session
@include common-password

Možeš komentirati, ili ostaviti trackback sa svoje web stranice.

Komentiraj

Powered by WordPress | Designed by: Themes Gallery | Thanks to Free Premium WordPress Themes, Free WP Themes and