Unable to disable autologin

As strange as it might sound, but I’m unable to disable the autologin feature.
Within SDDM the checkbox is not set.

In the file ‘kde_settings.conf’ I have deleted the username.


Only thing that comes to my mind is to change the ‘sddm.conf’ file and add an autologin section to it and set the file to read only.

Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.6.34-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 15,6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 760/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7821
System Version: 1.0


Something similar is often advised:

sudo nano /etc/sddm.conf

If I recall correctly, you only need to add an Autologin section to /etc/sddm.conf with the following:

; Change the next line to your user name, naturally.

Note that I have (and will) never use Autologin, so I cannot verify that this still works. A reboot is needed for completion.

Already did that. The [Autologin] section will be overwritten after the reboot, hence the idea of making it read only (444).

In my case, I would leave the user statement blank.

Again, I’ll preface this by saying I’ve never used Autologin;

However, I would have thought that the user that is allowed to auto-login should be specified. Does not omitting the section completely make any difference? :man_shrugging:

But he wants to disable autologin.

Strangely it doesn’t.

Okay, now it seems to be “working”.

What did I do:

  1. Reset to default using the ssdm menu (within system settings)
  2. Reboot
  3. Deleted the user manually from the files sddm.conf and kde_settings.conf (as after a reboot I still got an autologin even though the checkbox was not ticked).
  4. Reboot

This time, the autologin section stuck with the sddm.conf file (maybe due to me setting everything back to default?).
I will reboot several times more in the upcoming days, just to make sure it stays that way.


1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.