You are not logged in.

#1 2015-12-24 04:29:11

fbobraga
Member
Registered: 2015-12-24
Posts: 3

[SOLVED] Autologin on LightDM not working.

After an "almost" (a /home directory existed, with some conf...) fresh install, following this: https://wiki.archlinux.org/index.php/Li … _autologin to change the /etc/lightdm/lightdm.conf file and rebooting not works (I'm presented again to the greeter screen - apparently, the changes made no effect...)

Any toughts on why?

$ cat /etc/lightdm/lightdm.conf:

[LightDM]
run-directory=/run/lightdm

[Seat:*]
pam-service=lightdm
pam-autologin-service=lightdm-autologin
user-session=startlxqt
session-wrapper=/etc/lightdm/Xsession
autologin-user=myuser
autologin-user-timeout=0

[XDMCPServer]

[VNCServer]

Last edited by fbobraga (2015-12-24 14:38:22)

Offline

#2 2015-12-24 13:22:51

fbobraga
Member
Registered: 2015-12-24
Posts: 3

Re: [SOLVED] Autologin on LightDM not working.

... and # cat /var/log/lightdm/lightdm.log

...
[+1.56s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.57s] DEBUG: Session pid=296: Started with service 'lightdm-autologin', username 'myuser'
[+1.72s] DEBUG: Session pid=296: Authentication complete with return value 19: Conversation error
[+1.72s] DEBUG: Seat seat0: Switching to greeter due to failed authentication
[+1.72s] DEBUG: Seat seat0: Creating greeter session
[+1.72s] DEBUG: Session pid=298: Started with service 'lightdm-greeter', username 'lightdm'
[+1.72s] DEBUG: Session pid=296: Sending SIGTERM
[+1.72s] DEBUG: Session pid=296: Exited with return value 1
[+1.72s] DEBUG: Seat seat0: Session stopped
[+1.77s] DEBUG: Session pid=298: Authentication complete with return value 0: Success
[+1.77s] DEBUG: Seat seat0: Session authenticated, running command
[+1.77s] DEBUG: Session pid=298: Running command /usr/sbin/lightdm-gtk-greeter
[+1.77s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.77s] DEBUG: Session pid=298: Logging to /var/log/lightdm/x-0-greeter.log
[+1.96s] DEBUG: Activating VT 7
[+1.96s] DEBUG: Activating login1 session c1
[+1.97s] DEBUG: Seat seat0 changes active session to c1
[+1.97s] DEBUG: Session c1 is already active
....

Offline

#3 2015-12-24 13:49:17

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] Autologin on LightDM not working.

The Wiki wrote:

LightDM goes through PAM even when autologin is enabled. You must be part of the autologin group to be able to login automatically without entering your password: [...]

Furthermore the Wiki's example does not set the user-session, though I doubt this being the culprit.

Alternatively:
https://wiki.archlinux.org/index.php/Au … al_console
https://wiki.archlinux.org/index.php/Xi … X_at_login

Last edited by respiranto (2015-12-24 13:49:51)

Offline

#4 2015-12-24 14:41:14

fbobraga
Member
Registered: 2015-12-24
Posts: 3

Re: [SOLVED] Autologin on LightDM not working.

thanks, it's working now. I've just did it (as mentioned in the wiki):

# groupadd -r autologin
# gpasswd -a myuser autologin

Offline

Board footer

Powered by FluxBB