Support Requests - CLICK TO READ BEFORE POSTING


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

No Auto Login after installation
#1

System Specs
Operating System – Linux LiteLinux Lite 8.0
CPU / ProcessorN/A
Memory (RAM)6 GB
StorageSATA SSD (2.5")
Graphics (GPU)N/A
I installed LL8.0, tried OEM and regular installation. Made sure it had Auto Login checked (tried several times just to be sure I did not miss it)

PROBLEM: 
After restart, it asks for a password. 

When I go to GUI where it has Auto Login ENABLE or DISABLE, and it shows user name - I click on ENABLE and it says saved. then restart and it is the same. 

I also checked 
Code:
sudo lightdm --show-config

and it does show
Code:
autologin-user=user autologin-user-timeout=0

I also installed all the updates after the installation. Reboot - the same, still asking for a password.

Another strange thing that I cannot explain. 
I think i remember installing LL8.0 from exact same USB on another computer and I think that installation did not ask for user password after restart. How is that possible?
Reply
#2

UPDATE:
I just installed LL8.0 in a virtual machine, from the same ISO as was used to make the USB that I used to install it multiple times on a computer. The installation in virtual machine does Auto Login properly and does not ask for a password on start.

So I am not imagining it, i do remember installing LL8.0 form the same USB (made from the same ISO) on other (physical) computers and Auto Login worked fine, same as it just did in virtual machine.

This is even more puzzling now - how installation from the same ISO could do it differently on different hardware?
Reply
#3

Good troubleshooting — and your lightdm --show-config output is actually the key clue. autologin-user and autologin-user-timeout=0 are exactly right, so autologin is configured correctly on that machine. LL8.0’s autologin also doesn’t depend on being in any special group, so you haven’t missed a setting.

That’s why this isn’t really an “autologin didn’t save” problem. When the config is provably correct but only one specific machine still lands on the password screen, what’s almost always happening is: LightDM does start the automatic session, but on that hardware the desktop session fails to come up (typically a graphics-driver hiccup) and LightDM falls back to the login screen. The result looks identical to “it asked for a password,” but the cause is the session, not the setting. That’s also exactly why the same ISO autologs in fine in a VM and on your other machines — different GPU/hardware.

To confirm, on the machine that prompts, log in and post the output of:

Code:
cat /var/log/lightdm/lightdm.log cat ~/.xsession-errors loginctl list-seats

The lightdm log states plainly whether it attempted the autologin and what happened to the session afterwards; list-seats shows whether a second GPU created a second seat (another known cause of this exact symptom).

While you’re in there, two quick checks on the failing machine:

- ls -l /etc/lightdm/lightdm.conf.d/ — the autologin setting lives in lightdm-autologin-greeter.conf. Make sure nothing else in that folder also has a [Seat:*] block that could override it.
- If the machine has switchable/hybrid graphics (Intel + NVIDIA/AMD), that’s the prime suspect. Try installing (or removing) the proprietary driver via Lite Driver Manager and retest.

Those three log outputs will tell us exactly why this one box behaves differently from identical installs everywhere else.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#4

BINGO!
That was it. Thank you!

The computer had an older motherboard with a built-in video chip.
I installed a very simple standalone video card and it now boots up just fine without asking for a password.
I did not even need to reinstall LL. It just booted properly without asking for the password, from exact same installation that was asking for it previously.

A strange thing though is that the same computer had an earlier version of LL and Auto Login worked fine with the same built-in video chip.

Now it works again but with a simple video card.
Thank you again.
Reply
#5

Yay!

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)