Page MenuHomeSolus

Auto login check box does not work
Closed, ResolvedPublicBUG

Description

Summary

When "Automatic login" is checked it reverts back to unchecked after leaving page

Steps to reproduce

  1. Fresh install of 4.4
  2. Login, then go to Budgie Control Center, then "Users"
  3. Select Automatic Login
  4. Switch to another tab, then go back to "Users" and "Automatic Login" is unchecked again.

Expected result

Automatic Login should stay checked and enabled.

Actual result

Automatic login becomes unchecked again and user is not automatically logged in.

Environment

  • Is system up to date? y - fresh install of 4.4 w/ nvidia drivers and secure boot
  • Repo: unstable / Shannon
  • Desktop Environment Budgie

System details

Provide the output of About This System from the Application Menu

Other comments

Any other details that might help diagnose the issue

Event Timeline

EbonJaeger triaged this task as Needs More Info priority.Tue, Jul 11, 12:04 AM
EbonJaeger edited projects, added Software; removed Lacks Project.
EbonJaeger added a subscriber: EbonJaeger.

I cannot reproduce this. Is there anything in journalctl -xe when you do change the toggle switch or re-enter the Users tab?

Yes, I am getting:

Jul 10 20:43:12 hostname budgie-control-[1851]: SetAutomaticLogin call failed: GDBus.Error:org.freedesktop.Accounts.Error.Failed: failed to change automatic login: Failed to create file “/etc/lightdm/lightdm.conf.H62O71”: No such file or directory
Jul 10 20:43:14 hostname budgie-control-[1851]: SetAutomaticLogin call failed: GDBus.Error:org.freedesktop.Accounts.Error.Failed: failed to change automatic login: Failed to create file “/etc/lightdm/lightdm.conf.QOLM71”: No such file or directory

I should also add that /etc/lightdm doesn't exist.

One last thing creating the directory fixes it:

sudo mkdir /etc/lightdm

So maybe this is an issue with the 4.4 ISO not including that folder during the install?

EbonJaeger raised the priority of this task from Needs More Info to Normal.Tue, Jul 11, 1:31 AM

Ah. I see. I have lightdm-settings installed, which creates the config at that path. This also isn't knew; as far as I know, this may never have worked.

Fake Edit: The directory is even removed from the lightdm package during package creation, in the name of statelessness.

After the latest sync, the auto login doesn't work again. Should I open another ticket? The lightdm folder still exists and has a lightdm.conf in it with an autologin-user set