Anyone who turns on an openSUSE computer with automatic login reaches the desktop and its files without a password. Turning it off in KDE Plasma makes the login screen wait for a password after every restart.

KDE Plasma on openSUSE Leap 16 holds this setting in System Settings, because YaST is gone from Leap 16. The change is saved for the whole computer, so System Settings asks for an administrator's password before it applies.

Automatic login and passwordless login are separate settings. Automatic login skips the login screen at startup, while passwordless login signs an account in from the login screen without a password, and clearing the first leaves the second as it was.

Other setups, not KDE Plasma on Leap 16: Leap 15 and SLES 15 keep the YaST path under Security and Users > User and Group Management > Expert Options > Login Settings. GNOME on Leap 16 and SLES 16 uses Settings > System > Users > Automatic Login.

Steps to disable automatic login in openSUSE with KDE Plasma:

  1. Open System Settings from the application menu.
  2. Enter SDDM in the System Settings search box.
  3. Select Login Screen (SDDM) from the results.
  4. Click Behavior… at the top of the page.
  5. Disable Automatically log in by clearing its checkbox.
  6. Click Apply to save the change.
  7. Approve the change with the password the dialog asks for and OK.
  8. Click Restart in the application menu.

    Restarting closes open applications, and any unsaved work in them is lost.

  9. Click Restart Now on the confirmation screen.
  10. Check that the login screen waits for your password instead of opening the desktop.

    If the desktop still opens by itself while Automatically log in is already clear, tick the box and click Apply, then clear it and click Apply again. openSUSE reads the account from DISPLAYMANAGER_AUTOLOGIN in /etc/sysconfig/displaymanager, and Apply rewrites that value only when the checkbox has changed.

Share this guide