Skip to main content
Topic: Calamares - "Log in automatically" not being honoured (Read 2995 times) previous topic - next topic
0 Members and 8 Guests are viewing this topic.

Re: Calamares - "Log in automatically" not being honoured

Reply #30
Quote
call it an init-related issue?

can be

Re: Calamares - "Log in automatically" not being honoured

Reply #31
Alright, it's been one very hectic journey. Before I read any of the replies after my most recent post (Reply #25), I've restarted again out of frustration. I don't recall doing anything special but... AUTOLOGIN WORKS! However, upon several subsequent restarts, autologin no longer works, and it's back to the same behaviour where I'm sent to the greeter.
@Dudemanguy this probably is a race case.

Re: Calamares - "Log in automatically" not being honoured

Reply #32
Yeah probably just a race. It doesn't happen to me though so it's kind of hard to tell where it is although I could guess.

@Hyperspace: Could you try this?
Code: [Select]
# echo "agetty-tty1" > /etc/s6/sv/lightdm-srv/dependencies
# sh /usr/share/libalpm/scripts/s6-rc-db-update-hook

Give it a few reboots and see if that does the trick.

 

Re: Calamares - "Log in automatically" not being honoured

Reply #33
I ran your commands after "sudo su", 1st one didn't have any output, next one told me it has switched database.
Then, I ensured that "meow" is the only autologin-user on lightman.conf and "woof" is commented out to prevent autologin ambiguity.
Lastly, I rebooted immediately. Counting that as the 1st startup, then:

1st to 3rd - No luck
4th - AUTOLOGIN!
5th to 6th - No luck

If I'm interpreting all of your responses correctly about it being a race, it means that it's an S6 init issue and there's some things starting up earlier than others occasionally that messes with autologin? Also, it means /etc/lightdm/current logs are no longer required?

I'll just post the 4th and 5th ones for now, respectively:
Code: [Select]
2021-02-16 00:48:46.600217709  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-16 00:48:46.600221524  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1091
2021-02-16 00:48:46.600223304  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-16 00:48:46.600224793  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-16 00:48:46.600237541  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-16 00:48:46.600238908  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-16 00:48:46.600283650  [+0.00s] DEBUG: Registered seat module local
2021-02-16 00:48:46.600286690  [+0.00s] DEBUG: Registered seat module xremote
2021-02-16 00:48:46.600297753  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-16 00:48:46.602019333  [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-16 00:48:46.602922585  [+0.00s] DEBUG: Monitoring logind for seats
2021-02-16 00:48:46.602934197  [+0.00s] DEBUG: New seat added from logind: seat0
2021-02-16 00:48:46.602965426  [+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-16 00:48:46.602982100  [+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-16 00:48:46.602989743  [+0.00s] DEBUG: Seat seat0: Starting
2021-02-16 00:48:46.602997461  [+0.00s] DEBUG: Seat seat0: Creating user session
2021-02-16 00:48:46.603533087  [+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-16 00:48:46.603583150  [+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-16 00:48:46.606742924  [+0.01s] DEBUG: User /org/freedesktop/Accounts/User1001 added
2021-02-16 00:48:46.609687517  [+0.01s] DEBUG: Seat seat0: Creating display server of type x
2021-02-16 00:48:46.610208926  [+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-16 00:48:46.610212162  [+0.01s] DEBUG: Using VT 7
2021-02-16 00:48:46.610224992  [+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-16 00:48:46.610301755  [+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-16 00:48:46.610326445  [+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-16 00:48:46.610380586  [+0.01s] DEBUG: XServer 0: Launching X Server
2021-02-16 00:48:46.610629753  [+0.01s] DEBUG: Launching process 1097: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-16 00:48:46.610653326  [+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-16 00:48:46.610750439  [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-16 00:48:46.610873336  [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-16 00:48:47.021388730  [+0.42s] DEBUG: Got signal 10 from process 1097
2021-02-16 00:48:47.021394313  [+0.42s] DEBUG: XServer 0: Got signal from X server :0
2021-02-16 00:48:47.021419626  [+0.42s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-16 00:48:47.022400547  [+0.42s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-16 00:48:47.022700507  [+0.42s] DEBUG: Session pid=1111: Started with service 'lightdm-autologin', username 'meow'
2021-02-16 00:48:47.042616783  [+0.44s] DEBUG: Session pid=1111: Authentication complete with return value 0: Success
2021-02-16 00:48:47.042634908  [+0.44s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-16 00:48:47.042675531  [+0.44s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-16 00:48:47.043447823  [+0.44s] DEBUG: Session pid=1111: Running command /etc/lightdm/Xsession startxfce4
2021-02-16 00:48:47.043482067  [+0.44s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-16 00:48:47.043549910  [+0.44s] DEBUG: Session pid=1111: Logging to .xsession-errors
2021-02-16 00:48:47.048349775  [+0.45s] DEBUG: Activating VT 7
2021-02-16 00:48:47.048380659  [+0.45s] DEBUG: Activating login1 session 1
2021-02-16 00:48:47.049152076  [+0.45s] DEBUG: Seat seat0 changes active session to 1
2021-02-16 00:48:47.049155452  [+0.45s] DEBUG: Session 1 is already active

Code: [Select]
2021-02-16 00:49:15.419399304  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-16 00:49:15.420157099  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=535
2021-02-16 00:49:15.420162134  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-16 00:49:15.420164586  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-16 00:49:15.420166650  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-16 00:49:15.420168376  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-16 00:49:15.420170120  [+0.00s] DEBUG: Registered seat module local
2021-02-16 00:49:15.420171774  [+0.00s] DEBUG: Registered seat module xremote
2021-02-16 00:49:15.420173647  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-16 00:49:15.436241970  [+0.02s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-16 00:49:15.459736815  [+0.04s] DEBUG: Monitoring logind for seats
2021-02-16 00:49:15.459751752  [+0.04s] DEBUG: New seat added from logind: seat0
2021-02-16 00:49:15.459808058  [+0.04s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-16 00:49:15.459834331  [+0.04s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-16 00:49:15.459843101  [+0.04s] DEBUG: Seat seat0: Starting
2021-02-16 00:49:15.459856876  [+0.04s] DEBUG: Seat seat0: Creating user session
2021-02-16 00:49:15.587065266  [+0.17s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-16 00:49:15.587109712  [+0.17s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-16 00:49:15.606362750  [+0.19s] DEBUG: User /org/freedesktop/Accounts/User1001 added
2021-02-16 00:49:15.609797551  [+0.19s] DEBUG: Seat seat0: Creating display server of type x
2021-02-16 00:49:15.610673385  [+0.19s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-16 00:49:15.610697214  [+0.19s] DEBUG: Using VT 7
2021-02-16 00:49:15.610699682  [+0.19s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-16 00:49:15.610740772  [+0.19s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-16 00:49:15.610776467  [+0.19s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-16 00:49:15.610804317  [+0.19s] DEBUG: XServer 0: Launching X Server
2021-02-16 00:49:15.611052984  [+0.19s] DEBUG: Launching process 758: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-16 00:49:15.611082683  [+0.19s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-16 00:49:15.611191881  [+0.19s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-16 00:49:15.611317969  [+0.19s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-16 00:49:18.796110547  [+3.38s] DEBUG: Process 758 terminated with signal 6
2021-02-16 00:49:18.796162076  [+3.38s] DEBUG: XServer 0: X server stopped
2021-02-16 00:49:18.796167103  [+3.38s] DEBUG: Releasing VT 7
2021-02-16 00:49:18.796173187  [+3.38s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
2021-02-16 00:49:18.796256389  [+3.38s] DEBUG: Seat seat0: Display server stopped
2021-02-16 00:49:18.796302385  [+3.38s] DEBUG: Seat seat0: Stopping session
2021-02-16 00:49:18.796371315  [+3.38s] DEBUG: Seat seat0: Session stopped
2021-02-16 00:49:18.796530442  [+3.38s] DEBUG: Seat seat0: Stopping display server, no sessions require it
2021-02-16 00:49:18.796573151  [+3.38s] DEBUG: Seat seat0: Active display server stopped, starting greeter
2021-02-16 00:49:18.796596961  [+3.38s] DEBUG: Seat seat0: Creating greeter session
2021-02-16 00:49:18.797634098  [+3.38s] DEBUG: Seat seat0: Creating display server of type x
2021-02-16 00:49:18.797676817  [+3.38s] DEBUG: Using VT 7
2021-02-16 00:49:18.797682665  [+3.38s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-16 00:49:18.797760625  [+3.38s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-16 00:49:18.797889042  [+3.38s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-16 00:49:18.797963569  [+3.38s] DEBUG: XServer 0: Launching X Server
2021-02-16 00:49:18.798914682  [+3.38s] DEBUG: Launching process 1057: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-16 00:49:18.799057482  [+3.38s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-16 00:49:19.178683467  [+3.76s] DEBUG: Got signal 10 from process 1057
2021-02-16 00:49:19.178688868  [+3.76s] DEBUG: XServer 0: Got signal from X server :0
2021-02-16 00:49:19.178690443  [+3.76s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-16 00:49:19.179688339  [+3.76s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-16 00:49:19.179960791  [+3.76s] DEBUG: Session pid=1082: Started with service 'lightdm-greeter', username 'lightdm'
2021-02-16 00:49:19.196473462  [+3.78s] DEBUG: Session pid=1082: Authentication complete with return value 0: Success
2021-02-16 00:49:19.196490230  [+3.78s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-16 00:49:19.196501833  [+3.78s] DEBUG: Session pid=1082: Running command /usr/bin/lightdm-gtk-greeter
2021-02-16 00:49:19.196580863  [+3.78s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
2021-02-16 00:49:19.196823459  [+3.78s] DEBUG: Session pid=1082: Logging to /var/log/lightdm/seat0-greeter.log
2021-02-16 00:49:19.201190069  [+3.78s] DEBUG: Activating VT 7
2021-02-16 00:49:19.201218258  [+3.78s] DEBUG: Activating login1 session c1
2021-02-16 00:49:19.201992393  [+3.78s] DEBUG: Seat seat0 changes active session to c1
2021-02-16 00:49:19.202007748  [+3.78s] DEBUG: Session c1 is already active
2021-02-16 00:49:19.330061094  [+3.91s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
2021-02-16 00:49:19.540742778  [+4.12s] DEBUG: Greeter start authentication for meow
2021-02-16 00:49:19.541107204  [+4.12s] DEBUG: Session pid=1109: Started with service 'lightdm', username 'meow'
2021-02-16 00:49:19.556244493  [+4.14s] DEBUG: Session pid=1109: Authentication complete with return value 0: Success
2021-02-16 00:49:19.556251042  [+4.14s] DEBUG: Authenticate result for user meow: Success
2021-02-16 00:49:19.556263784  [+4.14s] DEBUG: User meow authorized
2021-02-16 00:49:21.760882330  [+6.34s] DEBUG: Greeter requests session xfce
2021-02-16 00:49:21.761054048  [+6.34s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
2021-02-16 00:49:21.761057493  [+6.34s] DEBUG: Terminating login1 session c1
2021-02-16 00:49:21.762162419  [+6.34s] DEBUG: Session pid=1082: Sending SIGTERM
2021-02-16 00:49:21.763751721  [+6.35s] DEBUG: Seat seat0 changes active session to
2021-02-16 00:49:21.770749496  [+6.35s] DEBUG: Greeter closed communication channel
2021-02-16 00:49:21.770786902  [+6.35s] DEBUG: Session pid=1082: Exited with return value 0
2021-02-16 00:49:21.770795718  [+6.35s] DEBUG: Seat seat0: Session stopped
2021-02-16 00:49:21.770827620  [+6.35s] DEBUG: Seat seat0: Greeter stopped, running session
2021-02-16 00:49:21.770879685  [+6.35s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-16 00:49:21.772073706  [+6.35s] DEBUG: Session pid=1109: Running command /etc/lightdm/Xsession startxfce4
2021-02-16 00:49:21.772129515  [+6.35s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-16 00:49:21.772185627  [+6.35s] DEBUG: Session pid=1109: Logging to .xsession-errors
2021-02-16 00:49:21.776907171  [+6.36s] DEBUG: Activating VT 7
2021-02-16 00:49:21.776978908  [+6.36s] DEBUG: Activating login1 session 1
2021-02-16 00:49:21.777606059  [+6.36s] DEBUG: Seat seat0 changes active session to 1
2021-02-16 00:49:21.777618233  [+6.36s] DEBUG: Session 1 is already active

I've re-ran your 2 commands again as root, just in case, so I'll try restarting several more times.

Update: After my 6th time above, I rebooted several more times but lost count, should have exceeded 10 times after the 6th. No more random luck with autologin at the moment.

Re: Calamares - "Log in automatically" not being honoured

Reply #34
Can you please give a try also to the following?

Code: [Select]
# echo "agetty-tty7" > /etc/s6/sv/lightdm-srv/dependencies
# sh /usr/share/libalpm/scripts/s6-rc-db-update-hook

It seems that is starting to wrong tty.

Re: Calamares - "Log in automatically" not being honoured

Reply #35
@linuxer: No, there's no "agetty-tty7" service. That will not work.

If I'm interpreting all of your responses correctly about it being a race, it means that it's an S6 init issue and there's some things starting up earlier than others occasionally that messes with autologin?


That'd be my guess. Could you try to edit /etc/s6/sv/lightdm-srv to just have one line with "early-getty-down"? After that run "sh /usr/share/libalpm/scripts/s6-rc-db-update-hook" and give it a try?

Re: Calamares - "Log in automatically" not being honoured

Reply #36
@linuxer: No, there's no "agetty-tty7" service. That will not work.

That'd be my guess. Could you try to edit /etc/s6/sv/lightdm-srv to just have one line with "early-getty-down"? After that run "sh /usr/share/libalpm/scripts/s6-rc-db-update-hook" and give it a try?
ok @Dudemanguy, but I recalled the GDM not starting up, case (which has been resolved) on Runit, lol

Re: Calamares - "Log in automatically" not being honoured

Reply #37
Code: [Select]
# echo "agetty-tty7" > /etc/s6/sv/lightdm-srv/dependencies
# sh /usr/share/libalpm/scripts/s6-rc-db-update-hook

@linuxer Can confirm that this doesn't work for me too, 2nd command has S6 throwing an error out.

@Dudemanguy /etc/s6/sv/lightdm-srv is a directory with 4 files: dependencies, producers-for, run and type. Not sure which one you're referring to, but I took an educated guess and chucked the line in "run". It now looks like this:
Code: [Select]
#!/usr/bin/execlineb -P
foreground { install -d -m0711 -olightdm -glightdm /run/lightdm }
fdmove -c 2 1
exec lightdm -d
early-getty-down

I then ran the update hook, and restarted 4 times, no luck with autologin. I also removed it all with only "early-getty-down", but that gave me a fswap error and I'm stuck on the terminal without being able to enter the desktop. Solved that via chroot though, and reverted the lines back.

Is the line supposed to be made the only one (removing the others already present) in another file?

Update: Got some free time, so I decided to modify the other files individually with "early-getty-down" as the sole line, and run the update hook.

dependencies - No luck with autologin after 2 reboots, still sent to greeter
producer-for and type - Error from S6 when I wanted to run the update hook command

Am I misunderstanding something?

Re: Calamares - "Log in automatically" not being honoured

Reply #38
I meant for you to edit the dependencies (/etc/s6/sv/lightdm-srv/dependencies) file. Sorry that wasn't clear. And actually I told you wrong. The dependencies file should be two lines:

Code: [Select]
elogind
early-getty-down

Re: Calamares - "Log in automatically" not being honoured

Reply #39
No worries, I should thank all of you instead for putting up with my persistence of getting autologin working on S6+LightDM!

I edited /etc/s6/sv/lightdm-srv/dependencies with elogind and early-getty-down. Then, I ran the update hook.
Restarted several times, but no luck.

I then removed the newly created user "woof" (leaving only 1 user meow) and re-ran the update hook just to be extra sure.
Restarted several times again, but no luck.

Just as I was about to give up and post here, I got a SUCCESSFUL AUTOLOGIN!
Code: [Select]
2021-02-17 04:16:19.042667185  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-17 04:16:19.042672046  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1077
2021-02-17 04:16:19.042673543  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-17 04:16:19.042685618  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-17 04:16:19.042686756  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-17 04:16:19.042687763  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-17 04:16:19.042709746  [+0.00s] DEBUG: Registered seat module local
2021-02-17 04:16:19.042711211  [+0.00s] DEBUG: Registered seat module xremote
2021-02-17 04:16:19.042730415  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:16:19.044374435  [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-17 04:16:19.045409492  [+0.00s] DEBUG: Monitoring logind for seats
2021-02-17 04:16:19.045423852  [+0.00s] DEBUG: New seat added from logind: seat0
2021-02-17 04:16:19.045466291  [+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-17 04:16:19.045474646  [+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-17 04:16:19.045480477  [+0.00s] DEBUG: Seat seat0: Starting
2021-02-17 04:16:19.045501583  [+0.00s] DEBUG: Seat seat0: Creating user session
2021-02-17 04:16:19.046139659  [+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-17 04:16:19.046196621  [+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-17 04:16:19.050282408  [+0.01s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:16:19.050852034  [+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-17 04:16:19.050855466  [+0.01s] DEBUG: Using VT 7
2021-02-17 04:16:19.050869120  [+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:16:19.050944199  [+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:16:19.050981865  [+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:16:19.051022014  [+0.01s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:16:19.051272038  [+0.01s] DEBUG: Launching process 1083: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:16:19.051309784  [+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:16:19.051391656  [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-17 04:16:19.051516717  [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:16:19.412847604  [+0.37s] DEBUG: Got signal 10 from process 1083
2021-02-17 04:16:19.412856213  [+0.37s] DEBUG: XServer 0: Got signal from X server :0
2021-02-17 04:16:19.412887714  [+0.37s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-17 04:16:19.414026917  [+0.37s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-17 04:16:19.414311592  [+0.37s] DEBUG: Session pid=1093: Started with service 'lightdm-autologin', username 'meow'
2021-02-17 04:16:19.435102772  [+0.39s] DEBUG: Session pid=1093: Authentication complete with return value 0: Success
2021-02-17 04:16:19.435127909  [+0.39s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-17 04:16:19.435143607  [+0.39s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-17 04:16:19.435866848  [+0.39s] DEBUG: Session pid=1093: Running command /etc/lightdm/Xsession startxfce4
2021-02-17 04:16:19.435901630  [+0.39s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-17 04:16:19.435977485  [+0.39s] DEBUG: Session pid=1093: Logging to .xsession-errors
2021-02-17 04:16:19.441512239  [+0.40s] DEBUG: Activating VT 7
2021-02-17 04:16:19.441546142  [+0.40s] DEBUG: Activating login1 session 1
2021-02-17 04:16:19.442436154  [+0.40s] DEBUG: Seat seat0 changes active session to 1
2021-02-17 04:16:19.442451121  [+0.40s] DEBUG: Session 1 is already active

I restarted again just in case, but then no more luck. Race might still be going on.
Code: [Select]
2021-02-17 04:16:49.408514344  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-17 04:16:49.409522100  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=554
2021-02-17 04:16:49.409538314  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-17 04:16:49.409541661  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-17 04:16:49.409543874  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-17 04:16:49.409545761  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-17 04:16:49.409547303  [+0.00s] DEBUG: Registered seat module local
2021-02-17 04:16:49.409549100  [+0.00s] DEBUG: Registered seat module xremote
2021-02-17 04:16:49.409550984  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:16:49.423258953  [+0.02s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-17 04:16:49.424337673  [+0.02s] DEBUG: Monitoring logind for seats
2021-02-17 04:16:49.424349663  [+0.02s] DEBUG: New seat added from logind: seat0
2021-02-17 04:16:49.424410236  [+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-17 04:16:49.424421609  [+0.02s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-17 04:16:49.424422980  [+0.02s] DEBUG: Seat seat0: Starting
2021-02-17 04:16:49.424428022  [+0.02s] DEBUG: Seat seat0: Creating user session
2021-02-17 04:16:49.568576294  [+0.16s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-17 04:16:49.568619093  [+0.16s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-17 04:16:49.591391283  [+0.18s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:16:49.592238394  [+0.18s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-17 04:16:49.592240738  [+0.18s] DEBUG: Using VT 7
2021-02-17 04:16:49.592248926  [+0.18s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:16:49.592293631  [+0.18s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:16:49.592328669  [+0.19s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:16:49.592357458  [+0.19s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:16:49.592743091  [+0.19s] DEBUG: Launching process 756: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:16:49.592762961  [+0.19s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:16:49.592904591  [+0.19s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-17 04:16:49.593047611  [+0.19s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:16:53.899939007  [+4.49s] DEBUG: Process 756 terminated with signal 6
2021-02-17 04:16:53.899945590  [+4.49s] DEBUG: XServer 0: X server stopped
2021-02-17 04:16:53.899968870  [+4.49s] DEBUG: Releasing VT 7
2021-02-17 04:16:53.899971845  [+4.49s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
2021-02-17 04:16:53.900013405  [+4.49s] DEBUG: Seat seat0: Display server stopped
2021-02-17 04:16:53.900049234  [+4.49s] DEBUG: Seat seat0: Stopping session
2021-02-17 04:16:53.900066295  [+4.49s] DEBUG: Seat seat0: Session stopped
2021-02-17 04:16:53.900165675  [+4.49s] DEBUG: Seat seat0: Stopping display server, no sessions require it
2021-02-17 04:16:53.900185613  [+4.49s] DEBUG: Seat seat0: Active display server stopped, starting greeter
2021-02-17 04:16:53.900194993  [+4.49s] DEBUG: Seat seat0: Creating greeter session
2021-02-17 04:16:53.900835934  [+4.49s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:16:53.900855894  [+4.49s] DEBUG: Using VT 7
2021-02-17 04:16:53.900858604  [+4.49s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:16:53.900896331  [+4.49s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:16:53.900957942  [+4.49s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:16:53.901006484  [+4.49s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:16:53.901477506  [+4.49s] DEBUG: Launching process 1062: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:16:53.901512253  [+4.49s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:16:54.282474042  [+4.88s] DEBUG: Got signal 10 from process 1062
2021-02-17 04:16:54.282479433  [+4.88s] DEBUG: XServer 0: Got signal from X server :0
2021-02-17 04:16:54.282496601  [+4.88s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-17 04:16:54.283552252  [+4.88s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-17 04:16:54.283858521  [+4.88s] DEBUG: Session pid=1074: Started with service 'lightdm-greeter', username 'lightdm'
2021-02-17 04:16:54.299784814  [+4.89s] DEBUG: Session pid=1074: Authentication complete with return value 0: Success
2021-02-17 04:16:54.299804229  [+4.89s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-17 04:16:54.299831206  [+4.89s] DEBUG: Session pid=1074: Running command /usr/bin/lightdm-gtk-greeter
2021-02-17 04:16:54.299918822  [+4.89s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
2021-02-17 04:16:54.300197908  [+4.89s] DEBUG: Session pid=1074: Logging to /var/log/lightdm/seat0-greeter.log
2021-02-17 04:16:54.304878596  [+4.90s] DEBUG: Activating VT 7
2021-02-17 04:16:54.304916032  [+4.90s] DEBUG: Activating login1 session c1
2021-02-17 04:16:54.305717430  [+4.90s] DEBUG: Seat seat0 changes active session to c1
2021-02-17 04:16:54.305720128  [+4.90s] DEBUG: Session c1 is already active
2021-02-17 04:16:54.444454209  [+5.04s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
2021-02-17 04:16:54.655415726  [+5.25s] DEBUG: Greeter start authentication for meow
2021-02-17 04:16:54.655791950  [+5.25s] DEBUG: Session pid=1101: Started with service 'lightdm', username 'meow'
2021-02-17 04:16:54.675195652  [+5.27s] DEBUG: Session pid=1101: Authentication complete with return value 0: Success
2021-02-17 04:16:54.675201089  [+5.27s] DEBUG: Authenticate result for user meow: Success
2021-02-17 04:16:54.675215925  [+5.27s] DEBUG: User meow authorized
2021-02-17 04:16:56.243534052  [+6.84s] DEBUG: Greeter requests session xfce
2021-02-17 04:16:56.243703619  [+6.84s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
2021-02-17 04:16:56.243707020  [+6.84s] DEBUG: Terminating login1 session c1
2021-02-17 04:16:56.244882683  [+6.84s] DEBUG: Session pid=1074: Sending SIGTERM
2021-02-17 04:16:56.246631139  [+6.84s] DEBUG: Seat seat0 changes active session to
2021-02-17 04:16:56.253403655  [+6.85s] DEBUG: Greeter closed communication channel
2021-02-17 04:16:56.253501174  [+6.85s] DEBUG: Session pid=1074: Exited with return value 0
2021-02-17 04:16:56.253527770  [+6.85s] DEBUG: Seat seat0: Session stopped
2021-02-17 04:16:56.253565133  [+6.85s] DEBUG: Seat seat0: Greeter stopped, running session
2021-02-17 04:16:56.253628764  [+6.85s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-17 04:16:56.255048340  [+6.85s] DEBUG: Session pid=1101: Running command /etc/lightdm/Xsession startxfce4
2021-02-17 04:16:56.255098411  [+6.85s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-17 04:16:56.255167790  [+6.85s] DEBUG: Session pid=1101: Logging to .xsession-errors
2021-02-17 04:16:56.260047839  [+6.85s] DEBUG: Activating VT 7
2021-02-17 04:16:56.260084459  [+6.85s] DEBUG: Activating login1 session 1
2021-02-17 04:16:56.260636892  [+6.85s] DEBUG: Seat seat0 changes active session to 1
2021-02-17 04:16:56.260640258  [+6.85s] DEBUG: Session 1 is already active

More updates: I restarted several more times after that to no avail. Suddenly, I hit jackpot and got two successful autologins in a row! Though the one right after doesn't anymore, so third time's not the charm.
1st success:
Code: [Select]
2021-02-17 04:30:10.446055645  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-17 04:30:10.446059466  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1077
2021-02-17 04:30:10.446061065  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-17 04:30:10.446072544  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-17 04:30:10.446073819  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-17 04:30:10.446074972  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-17 04:30:10.446115055  [+0.00s] DEBUG: Registered seat module local
2021-02-17 04:30:10.446117859  [+0.00s] DEBUG: Registered seat module xremote
2021-02-17 04:30:10.446127718  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:30:10.447887024  [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-17 04:30:10.448970169  [+0.00s] DEBUG: Monitoring logind for seats
2021-02-17 04:30:10.448985129  [+0.00s] DEBUG: New seat added from logind: seat0
2021-02-17 04:30:10.449024280  [+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-17 04:30:10.449043933  [+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-17 04:30:10.449050707  [+0.00s] DEBUG: Seat seat0: Starting
2021-02-17 04:30:10.449060469  [+0.00s] DEBUG: Seat seat0: Creating user session
2021-02-17 04:30:10.449730562  [+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-17 04:30:10.449779234  [+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-17 04:30:10.453918303  [+0.01s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:30:10.454444344  [+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-17 04:30:10.454447661  [+0.01s] DEBUG: Using VT 7
2021-02-17 04:30:10.454460476  [+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:30:10.454530245  [+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:30:10.454568141  [+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:30:10.454598435  [+0.01s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:30:10.454877427  [+0.01s] DEBUG: Launching process 1083: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:30:10.454898713  [+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:30:10.454995485  [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-17 04:30:10.455117596  [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:30:10.817023783  [+0.37s] DEBUG: Got signal 10 from process 1083
2021-02-17 04:30:10.817045311  [+0.37s] DEBUG: XServer 0: Got signal from X server :0
2021-02-17 04:30:10.817054076  [+0.37s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-17 04:30:10.818097764  [+0.37s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-17 04:30:10.818400534  [+0.37s] DEBUG: Session pid=1095: Started with service 'lightdm-autologin', username 'meow'
2021-02-17 04:30:10.833718340  [+0.39s] DEBUG: Session pid=1095: Authentication complete with return value 0: Success
2021-02-17 04:30:10.833736583  [+0.39s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-17 04:30:10.833770190  [+0.39s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-17 04:30:10.834510520  [+0.39s] DEBUG: Session pid=1095: Running command /etc/lightdm/Xsession startxfce4
2021-02-17 04:30:10.834566725  [+0.39s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-17 04:30:10.834637654  [+0.39s] DEBUG: Session pid=1095: Logging to .xsession-errors
2021-02-17 04:30:10.839524950  [+0.39s] DEBUG: Activating VT 7
2021-02-17 04:30:10.839579494  [+0.39s] DEBUG: Activating login1 session 1
2021-02-17 04:30:10.840274660  [+0.39s] DEBUG: Seat seat0 changes active session to 1
2021-02-17 04:30:10.840288716  [+0.39s] DEBUG: Session 1 is already active

2nd success:
Code: [Select]
2021-02-17 04:30:44.554982851  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-17 04:30:44.554985991  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1099
2021-02-17 04:30:44.554987541  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-17 04:30:44.554988883  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-17 04:30:44.555000368  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-17 04:30:44.555001559  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-17 04:30:44.555024335  [+0.00s] DEBUG: Registered seat module local
2021-02-17 04:30:44.555025724  [+0.00s] DEBUG: Registered seat module xremote
2021-02-17 04:30:44.555046015  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:30:44.556732071  [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-17 04:30:44.557572583  [+0.00s] DEBUG: Monitoring logind for seats
2021-02-17 04:30:44.557584161  [+0.00s] DEBUG: New seat added from logind: seat0
2021-02-17 04:30:44.557610671  [+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-17 04:30:44.557626243  [+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-17 04:30:44.557631251  [+0.00s] DEBUG: Seat seat0: Starting
2021-02-17 04:30:44.557639687  [+0.00s] DEBUG: Seat seat0: Creating user session
2021-02-17 04:30:44.558276783  [+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-17 04:30:44.558330124  [+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-17 04:30:44.562350071  [+0.01s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:30:44.562866773  [+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-17 04:30:44.562869645  [+0.01s] DEBUG: Using VT 7
2021-02-17 04:30:44.562880694  [+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:30:44.562973002  [+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:30:44.562993023  [+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:30:44.563054050  [+0.01s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:30:44.563301378  [+0.01s] DEBUG: Launching process 1105: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:30:44.563353522  [+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:30:44.563442149  [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-17 04:30:44.563572179  [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:30:44.992830252  [+0.44s] DEBUG: Got signal 10 from process 1105
2021-02-17 04:30:44.992838042  [+0.44s] DEBUG: XServer 0: Got signal from X server :0
2021-02-17 04:30:44.992864208  [+0.44s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-17 04:30:44.994080557  [+0.44s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-17 04:30:44.994363460  [+0.44s] DEBUG: Session pid=1117: Started with service 'lightdm-autologin', username 'meow'
2021-02-17 04:30:45.010798066  [+0.46s] DEBUG: Session pid=1117: Authentication complete with return value 0: Success
2021-02-17 04:30:45.010815912  [+0.46s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-17 04:30:45.010836603  [+0.46s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-17 04:30:45.011599394  [+0.46s] DEBUG: Session pid=1117: Running command /etc/lightdm/Xsession startxfce4
2021-02-17 04:30:45.011651526  [+0.46s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-17 04:30:45.011712517  [+0.46s] DEBUG: Session pid=1117: Logging to .xsession-errors
2021-02-17 04:30:45.016524761  [+0.46s] DEBUG: Activating VT 7
2021-02-17 04:30:45.016556920  [+0.46s] DEBUG: Activating login1 session 1
2021-02-17 04:30:45.017365027  [+0.46s] DEBUG: Seat seat0 changes active session to 1
2021-02-17 04:30:45.017378878  [+0.46s] DEBUG: Session 1 is already active

The fail right after:
Code: [Select]
2021-02-17 04:31:10.444253099  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
2021-02-17 04:31:10.445034029  [+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=564
2021-02-17 04:31:10.445041150  [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
2021-02-17 04:31:10.445043777  [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
2021-02-17 04:31:10.445046005  [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
2021-02-17 04:31:10.445047974  [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
2021-02-17 04:31:10.445049840  [+0.00s] DEBUG: Registered seat module local
2021-02-17 04:31:10.445051615  [+0.00s] DEBUG: Registered seat module xremote
2021-02-17 04:31:10.445053304  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:31:10.458124518  [+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
2021-02-17 04:31:10.459607980  [+0.02s] DEBUG: Monitoring logind for seats
2021-02-17 04:31:10.459630908  [+0.02s] DEBUG: New seat added from logind: seat0
2021-02-17 04:31:10.459687362  [+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
2021-02-17 04:31:10.459712726  [+0.02s] DEBUG: Seat seat0 has property CanMultiSession=no
2021-02-17 04:31:10.459722508  [+0.02s] DEBUG: Seat seat0: Starting
2021-02-17 04:31:10.459737393  [+0.02s] DEBUG: Seat seat0: Creating user session
2021-02-17 04:31:10.587278835  [+0.14s] DEBUG: Loading users from org.freedesktop.Accounts
2021-02-17 04:31:10.587501312  [+0.14s] DEBUG: User /org/freedesktop/Accounts/User1000 added
2021-02-17 04:31:10.611414161  [+0.17s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:31:10.612441391  [+0.17s] DEBUG: Could not run plymouth --ping: Failed to execute child process ?plymouth? (No such file or directory)
2021-02-17 04:31:10.612453906  [+0.17s] DEBUG: Using VT 7
2021-02-17 04:31:10.612459786  [+0.17s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:31:10.612556144  [+0.17s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:31:10.612636046  [+0.17s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:31:10.612707778  [+0.17s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:31:10.613023695  [+0.17s] DEBUG: Launching process 769: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:31:10.613075147  [+0.17s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:31:10.613181555  [+0.17s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
2021-02-17 04:31:10.613344169  [+0.17s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:31:13.200337472  [+2.76s] DEBUG: Got signal 10 from process 769
2021-02-17 04:31:13.200343354  [+2.76s] DEBUG: XServer 0: Got signal from X server :0
2021-02-17 04:31:13.200345201  [+2.76s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-17 04:31:13.203106756  [+2.76s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-17 04:31:13.203111652  [+2.76s] DEBUG: Session pid=1012: Started with service 'lightdm-autologin', username 'meow'
2021-02-17 04:31:13.229913527  [+2.79s] DEBUG: Session pid=1012: Authentication complete with return value 0: Success
2021-02-17 04:31:13.229934619  [+2.79s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-17 04:31:13.229961658  [+2.79s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
2021-02-17 04:31:13.230703158  [+2.79s] DEBUG: Session pid=1012: Running command /etc/lightdm/Xsession startxfce4
2021-02-17 04:31:13.230746827  [+2.79s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-17 04:31:13.230801908  [+2.79s] DEBUG: Session pid=1012: Logging to .xsession-errors
2021-02-17 04:31:13.237242181  [+2.79s] DEBUG: Activating VT 7
2021-02-17 04:31:13.237271506  [+2.79s] DEBUG: Activating login1 session 1
2021-02-17 04:31:13.237857280  [+2.79s] DEBUG: Seat seat0 changes active session to 1
2021-02-17 04:31:13.237874413  [+2.79s] DEBUG: Session 1 is already active
2021-02-17 04:31:13.880655873  [+3.44s] DEBUG: Session pid=1012: Exited with return value 1
2021-02-17 04:31:13.880680047  [+3.44s] DEBUG: Seat seat0: Session stopped
2021-02-17 04:31:13.881007268  [+3.44s] DEBUG: Seat seat0: Stopping display server, no sessions require it
2021-02-17 04:31:13.881011369  [+3.44s] DEBUG: Sending signal 15 to process 769
2021-02-17 04:31:13.882676728  [+3.44s] DEBUG: Seat seat0 changes active session to
2021-02-17 04:31:14.034096603  [+3.59s] DEBUG: Process 769 terminated with signal 6
2021-02-17 04:31:14.034101438  [+3.59s] DEBUG: XServer 0: X server stopped
2021-02-17 04:31:14.034102742  [+3.59s] DEBUG: Releasing VT 7
2021-02-17 04:31:14.034117441  [+3.59s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
2021-02-17 04:31:14.034143517  [+3.59s] DEBUG: Seat seat0: Display server stopped
2021-02-17 04:31:14.034206353  [+3.59s] DEBUG: Seat seat0: Active display server stopped, starting greeter
2021-02-17 04:31:14.034209470  [+3.59s] DEBUG: Seat seat0: Creating greeter session
2021-02-17 04:31:14.034814879  [+3.59s] DEBUG: Seat seat0: Creating display server of type x
2021-02-17 04:31:14.034819489  [+3.59s] DEBUG: Using VT 7
2021-02-17 04:31:14.034831302  [+3.59s] DEBUG: Seat seat0: Starting local X display on VT 7
2021-02-17 04:31:14.034844433  [+3.59s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
2021-02-17 04:31:14.034895872  [+3.59s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
2021-02-17 04:31:14.034914136  [+3.59s] DEBUG: XServer 0: Launching X Server
2021-02-17 04:31:14.035296867  [+3.59s] DEBUG: Launching process 1073: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2021-02-17 04:31:14.035352949  [+3.59s] DEBUG: XServer 0: Waiting for ready signal from X server :0
2021-02-17 04:31:14.400000156  [+3.96s] DEBUG: Got signal 10 from process 1073
2021-02-17 04:31:14.400013873  [+3.96s] DEBUG: XServer 0: Got signal from X server :0
2021-02-17 04:31:14.400058245  [+3.96s] DEBUG: XServer 0: Connecting to XServer :0
2021-02-17 04:31:14.401348988  [+3.96s] DEBUG: Seat seat0: Display server ready, starting session authentication
2021-02-17 04:31:14.401606954  [+3.96s] DEBUG: Session pid=1096: Started with service 'lightdm-greeter', username 'lightdm'
2021-02-17 04:31:14.458061185  [+4.01s] DEBUG: Session pid=1096: Authentication complete with return value 0: Success
2021-02-17 04:31:14.458090974  [+4.01s] DEBUG: Seat seat0: Session authenticated, running command
2021-02-17 04:31:14.458132268  [+4.01s] DEBUG: Session pid=1096: Running command /usr/bin/lightdm-gtk-greeter
2021-02-17 04:31:14.458249737  [+4.01s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
2021-02-17 04:31:14.458592974  [+4.02s] DEBUG: Session pid=1096: Logging to /var/log/lightdm/seat0-greeter.log
2021-02-17 04:31:14.462935405  [+4.02s] DEBUG: Activating VT 7
2021-02-17 04:31:14.462988225  [+4.02s] DEBUG: Activating login1 session c1
2021-02-17 04:31:14.463639413  [+4.02s] DEBUG: Seat seat0 changes active session to c1
2021-02-17 04:31:14.463655719  [+4.02s] DEBUG: Session c1 is already active
2021-02-17 04:31:14.555819082  [+4.11s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
2021-02-17 04:31:14.760881165  [+4.32s] DEBUG: Greeter start authentication for meow
2021-02-17 04:31:14.761362974  [+4.32s] DEBUG: Session pid=1123: Started with service 'lightdm', username 'meow'
2021-02-17 04:31:14.772191467  [+4.33s] DEBUG: Session pid=1123: Authentication complete with return value 0: Success
2021-02-17 04:31:14.772218155  [+4.33s] DEBUG: Authenticate result for user meow: Success
2021-02-17 04:31:14.772219783  [+4.33s] DEBUG: User meow authorized
2021-02-17 04:31:16.214498771  [+5.77s] DEBUG: Greeter requests session xfce
2021-02-17 04:31:16.214798006  [+5.77s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
2021-02-17 04:31:16.214805049  [+5.77s] DEBUG: Terminating login1 session c1
2021-02-17 04:31:16.216483741  [+5.77s] DEBUG: Session pid=1096: Sending SIGTERM
2021-02-17 04:31:16.217772437  [+5.77s] DEBUG: Seat seat0 changes active session to
2021-02-17 04:31:16.223580414  [+5.78s] DEBUG: Greeter closed communication channel
2021-02-17 04:31:16.223601436  [+5.78s] DEBUG: Session pid=1096: Exited with return value 0
2021-02-17 04:31:16.223630397  [+5.78s] DEBUG: Seat seat0: Session stopped
2021-02-17 04:31:16.223643720  [+5.78s] DEBUG: Seat seat0: Greeter stopped, running session
2021-02-17 04:31:16.223668531  [+5.78s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session1
2021-02-17 04:31:16.225632361  [+5.78s] DEBUG: Session pid=1123: Running command /etc/lightdm/Xsession startxfce4
2021-02-17 04:31:16.225752547  [+5.78s] DEBUG: Creating shared data directory /var/lib/lightdm-data/meow
2021-02-17 04:31:16.225812162  [+5.78s] DEBUG: Session pid=1123: Logging to .xsession-errors
2021-02-17 04:31:16.229678695  [+5.79s] DEBUG: Activating VT 7
2021-02-17 04:31:16.229722856  [+5.79s] DEBUG: Activating login1 session 2
2021-02-17 04:31:16.230329432  [+5.79s] DEBUG: Seat seat0 changes active session to 2
2021-02-17 04:31:16.230333794  [+5.79s] DEBUG: Session 2 is already active

Not sure if it helps, but I've noticed that across these 5 logs within this post, there is a key difference in the following steps where the earliest case of drift occurs:
Autologin happens:
Code: [Select]
2021-02-17 04:30:44.555046015  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:30:44.556732071  [+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?

2021-02-17 04:30:44.563572179  [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:30:44.992830252  [+0.44s] DEBUG: Got signal 10 from process 1105
Autologin doesn't happen:
Code: [Select]
2021-02-17 04:31:10.445053304  [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
2021-02-17 04:31:10.458124518  [+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?

2021-02-17 04:31:10.613344169  [+0.17s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
2021-02-17 04:31:13.200337472  [+2.76s] DEBUG: Got signal 10 from process 769
Losing just 0.01s between the 2 steps, causes commands in the future to get delayed by hugely differing amounts, and is the difference between getting autologged in or not. Of course , lightdm logs only have a resolution of 10ms, so no way to tell if this is actually the case without finer temporal steps. But looking at and before those lines might be of use.

This sure helps me appreciate the elegance and precision involved in something as fundamental as system initialization!
I've also been thinking: If I'm autologging in all the time, would it be possible to set it up without a display manager?

Re: Calamares - "Log in automatically" not being honoured

Reply #40
Yeah probably just a race. It doesn't happen to me though so it's kind of hard to tell where it is although I could guess.
@Hyperspace: Could you try this?
Code: [Select]
# echo "agetty-tty1" > /etc/s6/sv/lightdm-srv/dependencies
# sh /usr/share/libalpm/scripts/s6-rc-db-update-hook
Give it a few reboots and see if that does the trick.
Not on s6 either, but have a look at the startup services you've got and put them one-by-one in the lightdm's dependencies. Eventually you'll hit the one it needs. Most likely targets: accounts-daemon, elogind, dbus.

Re: Calamares - "Log in automatically" not being honoured

Reply #41
Sad to say I'm out of ideas out this point.

Not on s6 either, but have a look at the startup services you've got and put them one-by-one in the lightdm's dependencies. Eventually you'll hit the one it needs. Most likely targets: accounts-daemon, elogind, dbus.

Those *should* all be satisfied. Well I guess I can't guarantee accounts-daemon is but that should be handled by lightdm normally.

I've also been thinking: If I'm autologging in all the time, would it be possible to set it up without a display manager?

You can autologin into the tty. Edit /etc/s6/sv/agetty-tty1/conf and put in your username.

Re: Calamares - "Log in automatically" not being honoured

Reply #42
Fret not, it is indeed difficult to diagnose such race issues. Imagine all the possible permutations of services you need to try, I'd throw my arms up too.

In fact, since I never needed a DM, being the sole user, I'll try the DM-free tty autologin method instead. No need for a package if you don't need it, even if you've got a supercomputer!