Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

LXDE autologin

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
duschaan
Posts: 1
Joined: 2017-10-13 08:55

LXDE autologin

#1 Post by duschaan »

Hi guys! I need help setting up autologin on debian 9 LXDE. Changing lightdm configuration in /etc/lightdm/lightdm.conf ( autologin-user=duschaan, autologin-user-timeout=0) didn't help. Any idea? Thank you

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: LXDE autologin

#2 Post by arochester »

Presumably you saw https://wiki.debian.org/LightDM ?
uncomment them
/!\ Note that this has to be in the [?SeatDefaults] section, not the [LightDM] section.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: LXDE autologin

#3 Post by debiman »

doesn't lxde have a gui utility for this?

Glenst0rm
Posts: 1
Joined: 2017-11-01 18:45

Re: LXDE autologin

#4 Post by Glenst0rm »

duschaan wrote:Hi guys! I need help setting up autologin on debian 9 LXDE. Changing lightdm configuration in /etc/lightdm/lightdm.conf ( autologin-user=duschaan, autologin-user-timeout=0) didn't help. Any idea? Thank you

Did you find a solution to this? I am having similar problems.

blanas
Posts: 1
Joined: 2018-05-13 10:03

Re: LXDE autologin

#5 Post by blanas »

duschaan wrote:Hi guys! I need help setting up autologin on debian 9 LXDE. Changing lightdm configuration in /etc/lightdm/lightdm.conf ( autologin-user=duschaan, autologin-user-timeout=0) didn't help. Any idea? Thank you
I had same problem but I found that in /etc/lightdm/lightdm.conf file autologin-user and autologin-user-timeout occur twice, then I set it twice. I also set autologin-session = LXDE twice. In addition, I created a group autologin (groupadd -r autologin) and I added my user to this group (gpasswd -a username autologin). Now it works fine.

kidgrave
Posts: 4
Joined: 2018-05-22 18:21

Re: LXDE autologin

#6 Post by kidgrave »

Go to the terminal and type:

nano /etc/lightdm/lightdm.conf

Scroll all the way to the bottom and paste this:

[Seat:*]
pam-service=lightdm
pam-autologin-service=lightdm-autologin
autologin-user=TYPE-YOUR-USERNAME-HERE
autologin-user-timeout=0
session-wrapper=/etc/X11/Xsession
greeter-session=lightdm-greeter

Save the changes. This works with Debian 9 really good.

Post Reply