Autologin does not work on the Awesome live CD (I'll call it live image). If you install from the ISO, then the installed system (which I'll call installed image) does have working autologin, which means that it must be a configuration issue.
According to this SO question, autologin is configured in /etc/lightdm/lightdm.conf
with the setting autologin-user
.
In the installed image, it is correctly configured with autologin-user=frankk
.
In live image, it is configured with autologin-user=manjaro
(which should be fine).
Both frankk
and manjaro
user are member of autologin
group.
Both images have ~/.dmrc
with Session=awesome
Both images have /usr/share/xsessions/awesome.desktop
with same content.
If I run lightdm --test-mode --debug
, autologin works on both images (what the actual ****?!).
Checking /var/log/lightdm/lightdm.log
in the live image shows this:
[+0.05s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.05s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.13s] DEBUG: Seat seat0: Failed to find session configuration none
[+0.13s] DEBUG: Seat seat0: Can't find session 'none'
[+0.13s] DEBUG: Seat seat0: Creating greeter session
[+0.14s] DEBUG: Seat seat0: Creating display server of type x
The fact that it's looking for session 'none' is a hint. There's probably some kind of default that is set in the installed image but not in the live image. I'm not sure where to continue my search. Does anyone have ideas?
For completeness, both lightdm.conf files
From the live image:
[LightDM]
run-directory=/run/lightdm
[Seat:*]
pam-autologin-service=lightdm-autologin
greeter-session=lightdm-slick-greeter
session-wrapper=/etc/lightdm/Xsession
autologin-user=manjaro
autologin-user-timeout=0
[XDMCPServer]
[VNCServer]
And from the installed image:
[Seat:*]
[LightDM]
run-directory=/run/lightdm
[Seat:*]
greeter-session=lightdm-slick-greeter
session-wrapper=/etc/lightdm/Xsession
autologin-user=frankk
[XDMCPServer]
[VNCServer]