Bug 413377 - Setting auto-login for a user does not change config files
Summary: Setting auto-login for a user does not change config files
Status: RESOLVED DUPLICATE of bug 342722
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (show other bugs)
Version: 5.16.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-24 00:05 UTC by Rik Mills
Modified: 2020-01-21 16:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rik Mills 2019-10-24 00:05:03 UTC
SUMMARY

Setting auto-login for a user appears to work, but it does not alter the config file. Hence auto-login does not work, and returning to user-manager show it as unset for the user.

STEPS TO REPRODUCE
1. Set auto-login for a user
2. Authorise this for the user, then to alter the sddm config. It appears to apply.
3. Try to auto-login, or reload user-manager. Observed that the setting did not apply.

OBSERVED RESULT

Config remains unaltered


EXPECTED RESULT

Autologin enabled for that user

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon
KDE Plasma Version: 5.17.1
KDE Frameworks Version: 5.63
Qt Version: 5.13.1

ADDITIONAL INFORMATION

I should also note that sddm-config KCM can successfully set the config file, if you use that to enable auto-login.
Comment 1 WojtasJD 2019-10-25 19:08:25 UTC
I can confirm this behavior on two machines with KDE neon 5.17.1 installed - in my case I cannot switch off auto-login for a user in "user-manager":

1. Issue this command from Konsole:
$ kcmshell5 user_manager

2. Unset auto-login for a user
3. After entering password (ID: org.freedesktop.accounts.user-administration) Konsole throws this:
QDBusArgument: read from a write-only object
QDBusArgument: read from a write-only object
QDBusArgument: read from a write-only object

4. After entering password (ID: org.kde.kcontrol.kcmsddm.save) Konsole throws this:
Warning from helper: QFSFileEngine::open: No file name specified
Warning from helper: Empty filename passed to function

5. Close and open "user-manager" - setting is not saved.
Comment 2 Nate Graham 2020-01-21 16:16:42 UTC

*** This bug has been marked as a duplicate of bug 342722 ***