BuddiesOfBudgie / budgie-control-center

Budgie Control Center is a fork of GNOME Control Center for the Budgie 10 Series.
GNU General Public License v2.0
26 stars 13 forks source link

Auto login doesn't work #56

Closed dtrunk90 closed 1 year ago

dtrunk90 commented 1 year ago

Description

Tried to enable auto login in Budgie Control Center but after reboot it keeps asking for password. I've also noticed some weird toggle behavior like jumping back to disabled after trying to enable it.

I workaround it by manually creating a file /etc/lightdm/lightdm.conf.d/autologin.conf with the following content:

[Seat:*]
autologin-user=fedora

Budgie version

budgie-desktop 10.7.1 / budgie-control-center 1.2.0

Operating system

Fedora 38

Steps to reproduce the issue

  1. Go to Budgie Control Center
  2. Click on User
  3. Try to enable auto login

Actual result

Auto login toggle jumps back to disabled state

Expected result

Auto login can be enabled

Additional information

BlindRepublic commented 1 year ago

This is due to SELinux. Running setenforce 0 and tweaking the setting works.

EDIT: Specifically with accounts-daemon from accountsservice accessing lightdm.conf

BlindRepublic commented 1 year ago

Just to clarify, was this fixed upstream?

fossfreedom commented 1 year ago

Your distro needs to add some selinux rules for this to work.