Bug 26476

Summary: autologin does not work with sddm
Product: Mageia Reporter: Elmar Stellnberger <estellnb>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: sddm-0.18.1-4.mga8.src.rpm CVE:
Status comment:
Attachments: lightdm.conf

Description Elmar Stellnberger 2020-04-12 20:11:24 CEST
> systemctl status sddm
● sddm.service - Simple Desktop Display Manager
     Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-04-12 17:56:09 CEST; 2h 13min ago

> cat /etc/sddm.conf.d/kde_settings.conf
[Autologin]
User=elm

 As said autologin does not work on startup. The configuration file has been created by systemsettings5.
Comment 1 Elmar Stellnberger 2020-04-12 20:47:14 CEST
I have also tried it with lightdm and gdm, but nope, no autologin.
Comment 2 Elmar Stellnberger 2020-04-12 20:48:09 CEST
Created attachment 11585 [details]
lightdm.conf
Comment 3 Elmar Stellnberger 2020-04-12 20:50:19 CEST
Unfortunately I can not post lightdm.log but it says that the posted configuration file is read last.

Software error:

Malformed multipart POST: data truncated

For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error.
Comment 5 Jani Välimaa 2020-04-12 21:42:02 CEST
(In reply to Elmar Stellnberger from comment #1)
> I have also tried it with lightdm and gdm, but nope, no autologin.

I can't reproduce the issue with lightdm + xfce. Autologin enabled via drakautologin works as expected.
Comment 6 Elmar Stellnberger 2020-04-13 09:21:30 CEST
That has helped; thanks. There was no default session selected. I wonder how to set the default session with configuration files.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 Elmar Stellnberger 2020-04-13 09:21:53 CEST
.

Resolution: FIXED => WORKSFORME

Comment 8 Jani Välimaa 2020-04-13 16:33:40 CEST
(In reply to Elmar Stellnberger from comment #6)
> That has helped; thanks. There was no default session selected. I wonder how
> to set the default session with configuration files.

IIRC it's xsession filename from /usr/share/xsessions/ without .desktop extension.