Bug 26476 - autologin does not work with sddm
Summary: autologin does not work with sddm
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-12 20:11 CEST by Elmar Stellnberger
Modified: 2020-04-13 16:33 CEST (History)
0 users

See Also:
Source RPM: sddm-0.18.1-4.mga8.src.rpm
CVE:
Status comment:


Attachments
lightdm.conf (6.84 KB, text/plain)
2020-04-12 20:48 CEST, Elmar Stellnberger
Details

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.

Note You need to log in before you can comment on or make changes to this bug.