SparkyLinux Forums

Software & hardware support => Sparky applications => Topic started by: way12go on September 23, 2014, 07:16:49 AM

Title: [ Solved ] Lightdm-manager doesn't auto login
Post by: way12go on September 23, 2014, 07:16:49 AM
Lightdm-manager doesn't auto login

I searched the internet and found this solution. I haven't tried this solution as I need to go to bank. If this works I will not change the status of this post's subject.

Here it is...

Quotehttp://siripong-computer-tips.blogspot.in/2011/09/enable-lightdm-autologin-debian-wheezy.html

Quoteenable lightdm autologin debian wheezy

alter /etc/lightdm/lightdm.conf to be

[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


thanks
=======
Title: Re: [ Solved ] Lightdm-manager doesn't auto login
Post by: way12go on September 23, 2014, 07:18:59 AM
Auto login used to work after I changed a file related to auto login as in this post...

Quotehttp://sparkylinux.org/forum/index.php?topic=2581.msg3791#msg3791

After I installed lidhtdm-manager auto login no longer works and the first post in this topic seems to be the solution...
Title: Re: Lightdm-manager doesn't auto login
Post by: way12go on September 23, 2014, 10:46:07 AM
The above solution doesn't work. Light-dm manager auto login is enabled but it simply doesn't work.
Title: Re: Lightdm-manager doesn't auto login
Post by: way12go on September 23, 2014, 10:56:24 AM
I have KDE, GNOME, LIGHT-DM and SLIM installed. Is this the cause why I couldn't autologin?
Title: Re: Lightdm-manager doesn't auto login
Post by: pavroo on September 23, 2014, 03:10:44 PM
QuoteAfter I installed lidhtdm-manager auto login no longer works and the first post in this topic seems to be the solution
It looks like the Lightdm-manager doesn't solve the problem.
Mayby it's better to not install the manager and configure the lightdm configuration file manually.

Somebody asked me to add the manager to the iso but I am not sure that it's a good idea.
I just added the package to our repository.
Title: Re: Lightdm-manager doesn't auto login
Post by: way12go on September 24, 2014, 09:28:16 AM
I uninstalled "slim and slim-theme" and then I uninstalled "lightdm" and then I installed "lightdm" and now it works like a charm. All I have to do is uninstall it and install it... I suppose when there are login managers like kdm, gdm3, slim and lightdm, the last installed login manager that is installed should be lightdm and slim should be uninstalled.