Bug 21507

Summary: Selecting only Plasma and LXDE during installation, results in IceWM, IceWM session and Openbox also being installed.
Product: Mageia Reporter: Marc Paré <marc>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: freebird1to1, isobuild, kde, mageia, mageiatools, marc, marja11, nicolas.salguero, shlomif
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Installation screen grab 1 of 4
Installation screen grab 2 of 4
Installation screen grab 3 of 4
Installation screen grab 4 of 4
MarcPare-report.bug.xz

Description Marc Paré 2017-08-12 05:34:33 CEST
Description of problem:

* when installing Mageia, at the step of the installation of a "Desktop
Selection"

* and where you are offered the choice of picks of "Desktop Environment" of
either "Plasma" or "Gnome" or "Custom"

* when you choose, "Custom" and tag (for example) only Plasma and LXDE as the choice of the custom installation (and none of the other desktop managers)

* once the install is completed, and, once you re-boot into your newly fresh
install of Mageia 6, at the user login screen the option of ALL of the desktop environments, and not those (Plasma and LXDE) are available.

For some reason, the installation process installs ALL of the desktop environments instead of respecting the choices picked in custom the installation step.

How reproducible: I have thus far tested this on 5 fresh installations


Steps to Reproduce:
1. Do a fresh install 
2. At the choice of which desktop environment to pick "Plasma" or "Gnome" or "Custom" --  choose "Custom"
3. in "Custom", choose some but not all of the desktop environments

4. once done, re-boot as usual

5. once at the user login, check to see if only those desktops you had chosen are there and that no other desktop environments are offered to the user

6. you will notice that ALL of the desktop environments are offered to the uers at the login stage

Reason why this should be fixed: in my example, I help a group of elderly Mageians with their desktops and they are only used to Plasma and I usually choose to install LXDE just in case their system is ever borked and where I could still talk them through logging into LXDE. Having more than one desktop environment lead to much confusion (I help approx. 40 Mageia users). 

Also, if a user is offered the choice to install only some desktop environment packages, the Mageia installer should then not go and ignore the choice and install all of the desktop environment packages.
Marc Paré 2017-08-12 05:37:31 CEST

CC: (none) => marc

Comment 1 Only Human 2017-08-12 21:27:39 CEST
Maybe this also is related.
When I was using netinstaller, I selected to be able to choose my own pkgs, I was interested in making a minimal icewm but never saw any opportunity to pick any specific pkgs, wondered why also on another time I installed the custom option and enlightenment desktop an discovered home bank and scribus was install also, (I manually removed them as not what I was expecting to be installed)
So think netinstaller is worthy of some investigations.

CC: (none) => freebird1to1

Comment 2 Marja Van Waes 2017-08-12 22:43:03 CEST
@ Marc

Could you please reproduce the problem and, after selecting the Desktop Environments of your choice, make a screenshot of that selection? In traditional installer, hitting "F2" will create a screenshot that can be found, after installing and rebooting, in  /root/DrakX-screenshots/

Please attach that screenshot

Please do also attach /root/drakx/report.bug.xz from that install.


@ Only Human

I think the cause is similar but not the same.
Please file a separate bug report, make screenshots (as explained above) of your selection in the custom desktop selection screen and of any other screen you see before the packages are being installed.

Please attach them to that report and also your /root/drakx/report.bug.xz

Thanks :-)

Keywords: (none) => NEEDINFO
CC: (none) => isobuild, mageiatools, marja11

Comment 3 Martin Whitaker 2017-08-12 23:08:29 CEST
@ Marc

Also, what installation media are you using? I've just tested this using the Mageia-6-x86_64-DVD ISO (selecting no additional media), and didn't reproduce the problem. I selected Plasma and LXDE, and they and IceWM are the only DEs installed.

CC: (none) => mageia

Comment 4 Marc Paré 2017-08-14 11:48:12 CEST
Created attachment 9594 [details]
Installation screen grab 1 of 4
Comment 5 Marc Paré 2017-08-14 11:48:54 CEST
Created attachment 9595 [details]
Installation screen grab 2 of 4
Comment 6 Marc Paré 2017-08-14 11:49:17 CEST
Created attachment 9596 [details]
Installation screen grab 3 of 4
Comment 7 Marc Paré 2017-08-14 11:53:48 CEST
Created attachment 9597 [details]
Installation screen grab 4 of 4
Comment 8 Marc Paré 2017-08-14 11:54:29 CEST
Created attachment 9598 [details]
MarcPare-report.bug.xz
Comment 9 Marc Paré 2017-08-14 12:04:19 CEST
(In reply to Marja van Waes from comment #2)
> @ Marc
> 
> Could you please reproduce the problem and, after selecting the Desktop
> Environments of your choice, make a screenshot of that selection? In
> traditional installer, hitting "F2" will create a screenshot that can be
> found, after installing and rebooting, in  /root/DrakX-screenshots/
> 
> Please attach that screenshot
> 
> Please do also attach /root/drakx/report.bug.xz from that install.
> 
Hi Marja,

I am submitting 4 screen grabs from my Mageia installation process ... I am using the DVD Classical iso -- 64-bit.

I usually do an install (all 4 of the .png I am submitting are screen grabs after the install) ... and then remove/add some packages.

I tagged only "Plasma" and "LXDE" and as per the final .png file, as you can see, the desktop managers installed are "Plasma"; "IceWM Session"; "IceWM"; "LXDE"; "Openbox".

IMO, when a user installs a "Custom" installation, then, as my example, I should only have what I chose "Plasma" and "LXDE" ... having the other 3 desktop managers should not show up on the list (as shown in last .png file).

IMO, there should be a way where a user could edit that list and remove any desktop manager links if she/he wanted to do so. That function could be added in to the MCC perhaps?

Marc
Comment 10 Marc Paré 2017-08-14 12:05:02 CEST
(In reply to Martin Whitaker from comment #3)
> @ Marc
> 
> Also, what installation media are you using? I've just tested this using the
> Mageia-6-x86_64-DVD ISO (selecting no additional media), and didn't
> reproduce the problem. I selected Plasma and LXDE, and they and IceWM are
> the only DEs installed.

I am using Classical DVD 64-bit. -- Marc
Comment 11 Martin Whitaker 2017-08-14 19:40:38 CEST
AFAIK, it has always been Mandrake/Mandriva/Mageia policy to install IceWM as a fallback DE (and there are complaints if it goes missing - see bug 14027). I do wonder why we need both "IceWM" and "IceWM" session though.

openbox is required by lxde-common, which is in turn required by task-lxde-minimal, so is being installed because you have selected LXDE. Not being a LXDE user, I don't know whether it's really needed.
Comment 12 Marc Paré 2017-08-14 20:28:08 CEST
(In reply to Martin Whitaker from comment #11)
> AFAIK, it has always been Mandrake/Mandriva/Mageia policy to install IceWM
> as a fallback DE (and there are complaints if it goes missing - see bug
> 14027). I do wonder why we need both "IceWM" and "IceWM" session though.
> 
> openbox is required by lxde-common, which is in turn required by
> task-lxde-minimal, so is being installed because you have selected LXDE. Not
> being a LXDE user, I don't know whether it's really needed.

Ah ... so would it then make sense to label it to somehow reflect this? For example: "Mageia IceWM DE" or "Mageia IceWM Default DE" or "Mageia IceWM Emergency Default" or something that would fit on one line.

And, if this is the case, then I would only then leave IceWM as the secondary DE on my older customer base Mageia installations and just not install LXDE as it also installs Openbox -- I was only installing LXDE as secondary DE just in case their Plasma got borked for some reason.
That would then take care of having too many DE available to confuse them.

Would there then be a way to edit the list of DE choices from the login page? And, would it also be possible to add in MCC a way to edit the list of DE choices just as in the same way that one can also remove/clean up the listing of installed kernels on the Mageia boot up screen? (MCC->Boot->Set Up Boot System)
Comment 13 Marja Van Waes 2017-08-14 22:00:12 CEST
It was an upstream choice to have both IceWM and IceWM session
http://www.icewm.org/FAQ/IceWM-FAQ-3.html :

> Beginning with IceWM 1.2.13 there is a binary icewm-session. This binary helps
> you to handle all IceWM subparts (icewmbg, icewm, icewmtray, startup, shutdown
> started in this order). Therefore you can use icewm-session to start IceWM.
> icewm now starts only window manager itself.

For normal users, "IceWM session" is what they'll need as fallback. I don't know whether "IceWM" can be removed from the DE choices. CC'ing our IceWM maintainer, Shlomi, for that.

CC'ing Nicolas Salguero, the LXDE maintainer, because LXDE pulls in OpenBox.

@ Shlomi & Nicolas

Your feedback is welcome :-)

CC: (none) => nicolas.salguero, shlomif
Summary: Desktop Selection in Installer Adds ALL Desktops => Selecting only Plasma and LXDE during installation, results in IceWM, IceWM session and Openbox also being installed.

Comment 14 Nicolas Salguero 2017-08-28 09:39:25 CEST
(In reply to Marja van Waes from comment #13)
> CC'ing Nicolas Salguero, the LXDE maintainer, because LXDE pulls in OpenBox.

Openbox is the window manager of LXDE (without Openbox, LXDE does not work) so installing LXDE means installing Openbox too.

Moreover, because Openbox can be used without any other software, it provides its own session file.

That is why installing LXDE results in two possible sessions: LXDE and Openbox.

Best regards,

Nico.
Comment 15 Marja Van Waes 2017-08-28 22:02:27 CEST
(In reply to Nicolas Salguero from comment #14)
> (In reply to Marja van Waes from comment #13)
> > CC'ing Nicolas Salguero, the LXDE maintainer, because LXDE pulls in OpenBox.
> 
> Openbox is the window manager of LXDE (without Openbox, LXDE does not work)
> so installing LXDE means installing Openbox too.
> 
> Moreover, because Openbox can be used without any other software, it
> provides its own session file.
> 
> That is why installing LXDE results in two possible sessions: LXDE and
> Openbox.
> 


Thanks for the explanation, Nico :-)

Icewm can be used, too, even if icewm-session gives the "full" session. If it can be used, it should be in the list. So there's no real bug.


Anyway, Marc's questions in comment #12 still need replies

> 
> Ah ... so would it then make sense to label it to somehow reflect this? For
> example: "Mageia IceWM DE" or "Mageia IceWM Default DE" or "Mageia IceWM
> Emergency Default" or something that would fit on one line.
> 

Tbh, I think using different labels than upstream uses, will only create more confusion :-(

> 
> Would there then be a way to edit the list of DE choices from the login
> page? 

CC'ing KDE team for that, because I don't know where that list is stored and since they maintain SDDM (your login page ;-) )

@ KDE team

Please don't hesitate to answer, even if this report is closed!

> And, would it also be possible to add in MCC a way to edit the list of
> DE choices just as in the same way that one can also remove/clean up the
> listing of installed kernels on the Mageia boot up screen? (MCC->Boot->Set
> Up Boot System)

Please feel free to file an enhancement request for that. There is no guarantee someone will find time to create such a tool, though.

Keywords: NEEDINFO => (none)
Status: NEW => RESOLVED
Resolution: (none) => INVALID
CC: (none) => kde