You are not logged in.

#1 2013-06-13 14:06:01

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Cannot Autologin with LightDM (SOLVED)

The above says it all

My lightdm configuration is

run-directory=/run/lightdm
greeter-session=lightdm-razor-greeter
session-wrapper=/etc/lightdm/xsession
autologin-user=andrew
autologin-user-timeout=0
pam-service=lightdm-autologin

LightDM is from the repos and is 1:1.6.0-4

All that happens is that the log in screen is offered.

Thanks

Andrew

Last edited by fdservices (2013-10-04 07:19:17)

Offline

#2 2013-06-13 16:40:08

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Cannot Autologin with LightDM (SOLVED)

Here is the debug log:

$ lightdm --test-mode --debug
[+0.00s] DEBUG: Logging to /home/andrew/.cache/lightdm/log/lightdm.log
[+0.01s] DEBUG: Starting Light Display Manager 1.6.0, UID=501 PID=1423
[+0.01s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.01s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Running in user mode
[+0.01s] DEBUG: Using Xephyr for X servers
[+0.01s] DEBUG: Registered seat module xlocal
[+0.01s] DEBUG: Registered seat module xremote
[+0.01s] DEBUG: Adding default seat
[+0.01s] DEBUG: Starting seat
[+0.01s] DEBUG: Starting new display for automatic login as user andrew
[+0.01s] DEBUG: Starting local X display
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.01s] DEBUG: Logging to /home/andrew/.cache/lightdm/log/x-1.log
[+0.01s] DEBUG: Writing X server authority to /run/lightdm/root/:1
[+0.01s] WARNING: Failed to write authority: Failed to create file '/run/lightdm/root/:1.E8I9XW': No such file or directory
[+0.01s] DEBUG: Launching X Server
[+0.01s] DEBUG: Launching process 1427: /usr/bin/Xephyr :1 -auth /run/lightdm/root/:1 -nolisten tcp
[+0.01s] DEBUG: Waiting for ready signal from X server :1
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.25s] DEBUG: Got signal 10 from process 1427
[+0.25s] DEBUG: Got signal from X server :1
[+0.25s] DEBUG: Connecting to XServer :1
[+0.25s] DEBUG: Automatically logging in user andrew
[+0.25s] DEBUG: Started session 1430 with service 'lightdm-autologin', username 'andrew'
Stopping PAM conversation, interaction requested but not supported
[+0.42s] DEBUG: Session 1430 authentication complete with return value 19: Conversation error
[+0.42s] DEBUG: Autologin failed authentication
[+0.42s] DEBUG: Session 1430: Sending SIGTERM
[+0.42s] DEBUG: org.freedesktop.Accounts does not exist, falling back to passwd file
[+0.42s] DEBUG: Started session 1431 with service 'lightdm-greeter', username 'andrew'
[+0.42s] DEBUG: Session 1430 exited with return value 1
[+0.44s] DEBUG: Session 1431 authentication complete with return value 0: Success
[+0.44s] DEBUG: Greeter authorized
[+0.44s] DEBUG: Logging to /home/andrew/.cache/lightdm/log/x-1-greeter.log
[+0.46s] DEBUG: Session 1431 running command /usr/bin/razor-lightdm-greeter
[+1.04s] DEBUG: Greeter connected version=1.6.0
[+1.04s] DEBUG: Greeter connected, display is ready
[+1.04s] DEBUG: New display ready, switching to it

Thanks

Andrew

Offline

#3 2013-10-03 17:23:40

Götz
Member
Registered: 2009-02-16
Posts: 30

Re: Cannot Autologin with LightDM (SOLVED)

Have you solved this? You have to be in the autologin group, as stated in the wiki.
Create the group, then add the desired user to that group.

# groupadd autologin
# gpasswd -a USERNAME autologin

What I hear, I forget. What I say, I remember. What I do, I understand.  –Tao Te Ching/Laozi

Offline

#4 2013-10-04 07:18:44

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Cannot Autologin with LightDM (SOLVED)

Yes, thanks, cannot remember exactly what the problem was, but thanks for the reply anyway.

Andrew

Offline

Board footer

Powered by FluxBB