Automatic login on/off

Hi,

I have automatic login because on Manjaro Install I ticked the respective checkbox. It’s all nice and proper for as long as I use KDE.

Unfortunately, I don’t know how to change this behavior any more. It used to be something like System Settings > Startup and Shutdown > … No such thing any longer.

System Settings > Colors & Themes > Login Screen (SDDM) > Behavior…

Thanks!

Actually, I have automatic login on right now. Meanwhile, my settings (Behavior) looks like this:
LoginScreen1

I’d believe that the automatic login is off here.

Right now I want automatic login off, with the option of turning it back on afterwards.

I think there was a similar problem discussed here:

where the solution was to check a couple of files

  1. 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).
1 Like

Looks like a bug.

Here’s my current solution, without touching GUI settings, just /etc/sddm.conf:

Autologin on:

[Autologin]
Relogin=false
Session=plasma
User=me

Autologin off:

#[Autologin]
#Relogin=false
#Session=plasma
#User=me

Nobody told me that hash is the comment, I just got a bit of luck :blush:

Possible solution from GUI, configure it for you user to autologin (as it should be for your current setting), then reconfigure again to disable it. I had similar weird issue when I wanted to switch from Wayland to X11 with auto login (with the first iteration of Plasma 6 before Manjaro changed back to X11 by default).

That is the case in nearly every script and config file on every Linux/Unix system …
That is what is referred to when someone says or writes:

comment it (out)
or
uncomment it

to activate/deactivate a line

1 Like

Nearly is the catch. I remember some Chromium config which allowed comments while the respective Google Chrome’s did not :cry:

There are some exceptions - but it’s pretty easy to spot when you look at the file in question.
Sometimes a semicolon is used, for instance - don’t remember where that was.

I have never edited a Chrome (or any other) browser config file directly - always used the browsers settings tools for that. :man_shrugging:

Language dependent.

php for example you can

// comment

or

/* so 
much
comment */

The semicolon ; is comments (or end-of-line) in assembly languages, among others.

Theres more I dont recall off the top of my head.

PHP config file itself (php.ini) uses semicolon for comments.

[PHP]

;;;;;;;;;;;;;;;;;;;
; About php.ini   ;
;;;;;;;;;;;;;;;;;;;

I dont think I’ve ever used semicolons in php comments.

But if I am not mistaken its particular to ini format and not php as a whole.

(None of this really being important anyways - I was only trying to convey the concept that comments use different characters/syntax depending on language)

1 Like

I think there has been a misunderstanding. I was talking only about the semicolon as a way of commenting in the PHP configuration file itself, not in the PHP language. It was to give another example of commenting with semicolons, because you talked about its use in assembly.

1 Like

An accidental discovery:

~> groups
sys network power nix-users uucp lp wheel autologin me docker

What’s this autologin group, and what’s its place in the big picture?

Its not a standard group.

I dont know where that is from.

Same for nix-users but maybe you created that one yourself?

I guess it is, as I also am in this group. Probably enabling autologin on KDE adds the user to the group to be able to actually autologin.

Maybe so. I do not use automatic login.

I was referring to this:

https://wiki.archlinux.org/title/Users_and_groups#Group_management

Same for nix-users but maybe you created that one yourself?

I’m guilty of nix-users indeed, but autologin, no…

It is a group used by slick greeter and created by the slick greeter installer.

At some point - as I recall - but I may be wrong …

It is created as part of lightdm installation

For the sake of it, I removed my user from autologin group manually, rebooted, it doesn’t auto log me on reboot. I double checked and KDE Settings still show I should auto login on Plasma X11 session.

//EDIT: I added myself back to autologin group, rebooted, and now I still can’t autologin. I will troubleshoot tonight.