Bug 24567

Summary: GDM keeps listing an uninstalled DE
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: GNOME maintainers <gnome>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: lovaren, marja11, olav
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gdm CVE:
Status comment:

Description Kristoffer Grundström 2019-03-26 17:03:57 CET
Description of problem: I seem to fail finding a user friendly (regardless of education level) way to update/rewrite GDM so that only the installed DE's are in the list. If I have uninstalled lets say GNOME and after reboot I still see it in the list of installed DE's. I don't see why we can't have a command similar to update-grub2 to update/rewrite gdm to find and then gdm-install to write the changes to Wayland or Xorg (if anyone still uses Xorg that is).

Version-Release number of selected component (if applicable): 3.32.0

How reproducible: Everytime.

Steps to Reproduce:
1. Install Mageia with more than 1 Desktop Environment.
2. Login to any desktop.
3. Uninstall 1 Desktop Environment.
4. Reboot.
5. As you get to the GDM screen to login click the wheel to see the list of installed Desktop Environments. The one that you just installed/removed is still in that list.
Kristoffer Grundström 2019-03-26 17:04:15 CET

CC: (none) => hamnisdude

Comment 1 Marja Van Waes 2019-03-26 21:50:22 CET
I'll change the summary, because "A terminal command to update/rewrite gdm if a desktop environment has been uninstalled similar to how update-grub2 works" is a request for a workaround, it's not the bug you found ;-)

Can you work around the issue by reinstalling the package? Like this (in multi-user mode):

   urpmi --replacepkgs gdm

Summary: A terminal command to update/rewrite gdm if a desktop environment has been uninstalled similar to how update-grub2 works => GDM keeps listing an uninstalled DE
CC: (none) => marja11
Assignee: bugsquad => gnome

Marja Van Waes 2019-03-26 21:51:08 CET

Severity: enhancement => normal

Comment 2 Kristoffer Grundström 2019-03-26 22:34:27 CET
Sure I can, but what can we do to help newbies when they uninstall a DE? They don't have any information on how to solve this at next reboot.

Just saying....
Comment 3 Olav Vitters 2020-04-10 22:33:10 CEST
If you install another desktop, does that desktop install anything in /etc/X11/wmsession.d ? This might not be a thing of GNOME, Mageia used to create the desktop session files itself. That was changed a while ago though forgot if that was before or after Mageia 7. I noticed the scripts which handle this are still installed (chksession and similar).

CC: (none) => olav

Comment 4 sturmvogel 2024-05-12 18:31:18 CEST
.

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