Bug 19347 - sddm does not list small window managers / fail to log into
Summary: sddm does not list small window managers / fail to log into
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker major
Target Milestone: Mageia 6
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 15:57 CEST by Chris Denice
Modified: 2017-01-17 10:29 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Chris Denice 2016-09-13 15:57:32 CEST
Install fvwm2, try to log in = Black screen + restart of sddm
Install fvwm2-crystal, it is not listed in the options.
Install afterstep, not listed, etc...

I have try to understand how sessions are picked up and I am confused. We have session files everywhere:

/etc/X11/dm/Sessions/
which is the most populated but still missing a few

/etc/X11/wmsession.d/
in which small window managers seems to appear

/usr/share/xsession/
There are *.desktop files in there, and as far as I understand this is what sddm is using. I have added a file by hand in there:

cat /usr/share/xsessions/Fvwm2.desktop
[Desktop Entry]
Name=Fvwm2
Icon=fvwm2.xpm
Exec=/usr/bin/fvwm2
Comment=The F Virtual Window Manager
DesktopNames=Fvwm2

and that's enough to make fvwm2 appearing in the menu and starting it. However, this obviously bypass all Xsession settings, which explains:

https://bugs.mageia.org/show_bug.cgi?id=18032
https://bugs.mageia.org/show_bug.cgi?id=18512

I have tried to replace Exec=/usr/bin/fvwm2 with Exec=/etc/X11/Xsession fvwm2 but nothing happens, and no log :(

So, I would need some help here.
Chris Denice 2016-09-13 15:57:46 CEST

Priority: Normal => release_blocker
Target Milestone: --- => Mageia 6

Comment 1 David Walser 2016-09-13 16:33:47 CEST
No, it shouldn't be bypassing Xsession, that should still be getting called, and then that (through chksession) parses the files in /usr/share/xsession.  All that should need to be done here is converting the remaining WMs using wmsession.d files to use xsession.
Comment 2 David Walser 2016-09-13 16:37:07 CEST
Also, it doesn't explain Bug 18032, because utmp isn't handled by Xsession.  I don't know what Bug 18512 is because there's no description.
Comment 3 Chris Denice 2016-09-13 16:39:52 CEST
You mean simply rewriting the files in wmsession.d/* as *.desktop files to be installed into /usr/share/xsession?

I guess we do not erase files in wmsession.d/* for backwards compat with startx and all that?

Ok, for 18032 and 18512!
Comment 4 David Walser 2016-09-13 19:00:57 CEST
We don't use wmsession.d anymore, so yes, those all need to rewritten as /usr/share/xsession files, then you should be OK.
Marja Van Waes 2016-09-20 18:45:13 CEST

CC: (none) => marja11
Assignee: bugsquad => kde

Marja Van Waes 2016-09-20 18:45:41 CEST

Blocks: (none) => 15527

Comment 5 Nicolas Lécureuil 2016-10-05 12:44:25 CEST
which one are "broken" ?  so we can add the missing files in them ( but this is not a sddm bug so not a kde team bug ;) )

CC: (none) => mageia
Assignee: kde => bugsquad

Comment 6 Marja Van Waes 2016-10-07 16:59:22 CEST
(In reply to Nicolas Lécureuil from comment #5)
> which one are "broken" ?  so we can add the missing files in them ( but this
> is not a sddm bug so not a kde team bug ;) )

What and whom to assign this report to?

Or should it be cloned for every small DE?

Source RPM: sddm-0.13.0-7.mga6.src.rpm => (none)

Comment 7 Marja Van Waes 2016-10-09 11:59:57 CEST
(In reply to Marja van Waes from comment #6)
> (In reply to Nicolas Lécureuil from comment #5)
> > which one are "broken" ?  so we can add the missing files in them ( but this
> > is not a sddm bug so not a kde team bug ;) )
> 
> What and whom to assign this report to?
> 
> Or should it be cloned for every small DE?

Assigning to all packagers collectively.

Please reassign/clone/whatever if needed.

Assignee: bugsquad => pkg-bugs

Comment 8 Chris Denice 2016-10-10 15:32:01 CEST
Yes, as of today, they should all work (the small wm), I have added the missing desktop files for each of them in the last weeks.
Please post it here if there are any issues.

Cheers,
Chris.
Comment 9 Rémi Verschelde 2016-10-18 09:35:19 CEST
Thanks Chris. Closing as FIXED, feel free to reopen if some of the WMs mentioned in comment 0 still don't start (or better, open a bug report against the corresponding WM).

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

Samuel Verschelde 2017-01-17 10:29:39 CET

Blocks: 15527 => (none)


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