Bug 2208097 - lightdm pulls in the Deepin Desktop Environment
Summary: lightdm pulls in the Deepin Desktop Environment
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lightdm
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Alternative GTK desktop environments
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-18 01:22 UTC by Justin Zobel
Modified: 2024-01-10 13:18 UTC (History)
9 users (show)

Fixed In Version: lightdm-1.32.0-6.fc40
Clone Of:
Environment:
Last Closed: 2023-12-13 07:26:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Justin Zobel 2023-05-18 01:22:35 UTC
Dependencies resolved.
=======================================================================================================================================================
 Package                                    Architecture               Version                                        Repository                  Size
=======================================================================================================================================================
Installing:
 lightdm                                    x86_64                     1.32.0-4.fc38                                  fedora                     239 k
Installing dependencies:
 deepin-qt-dbus-factory                     x86_64                     5.5.22-5.fc38                                  fedora                     731 k
 deepin-session-shell                       x86_64                     5.5.34-2.fc38                                  fedora                     934 k
 dtkcommon                                  x86_64                     5.5.22-3.fc38                                  fedora                      20 k
 dtkcore                                    x86_64                     5.5.30-5.fc38                                  fedora                     383 k
 dtkgui                                     x86_64                     5.5.22-6.fc38                                  fedora                     193 k
 dtkwidget                                  x86_64                     5.5.41-5.fc38                                  fedora                     919 k
 gsettings-qt                               x86_64                     0-0.27.20180723bzr85.fc38                      fedora                      40 k
 lightdm-gobject                            x86_64                     1.32.0-4.fc38                                  fedora                      62 k
 lightdm-qt5                                x86_64                     1.32.0-4.fc38                                  fedora                      44 k
 startup-notification                       x86_64                     0.12-25.fc38                                   fedora                      41 k

Transaction Summary
=======================================================================================================================================================
Install  11 Packages

Total download size: 3.5 M
Installed size: 14 M
Is this ok [y/N]: n


lightdm does not need the Deepin Desktop Environment to function.

Reproducible: Always

Steps to Reproduce:
1. Try to install lightdm package on F38
2. Decline because you don't want the DDE

Comment 1 leigh scott 2023-05-18 05:42:16 UTC
You need to choose the greeter otherwise dnf will choose the first match.

Comment 2 ilikelinux69 2023-12-12 11:59:10 UTC
It maybe is not a bug but it is ugly when we try to install an independent project like lightdm and it has dependency of an other project.

Lighdm is not just used on deepin. So I started a discussion to simply fie this issue.

https://github.com/orgs/linuxdeepin/discussions/6425

On discourse I reported the problem here:
https://discussion.fedoraproject.org/t/what-happend-to-lightdm-i-tougtht-it-is-light-installed-160mb/98430

Comment 3 leigh scott 2023-12-12 12:24:29 UTC
(In reply to ilikelinux69 from comment #2)
> It maybe is not a bug but it is ugly when we try to install an independent
> project like lightdm and it has dependency of an other project.
> 
> Lighdm is not just used on deepin. So I started a discussion to simply fie
> this issue.
> 
> https://github.com/orgs/linuxdeepin/discussions/6425
> 
> On discourse I reported the problem here:
> https://discussion.fedoraproject.org/t/what-happend-to-lightdm-i-tougtht-it-
> is-light-installed-160mb/98430

Lightdm has no such requires.

https://src.fedoraproject.org/rpms/lightdm/blob/rawhide/f/lightdm.spec#_73

If I remove this line the user will end up with no greeter and no way to login.
User will need to learn to specify the greeter instead of filing bogus reports like this!

Comment 5 Flo 2023-12-12 17:42:48 UTC
(In reply to leigh scott from comment #3)
> 
> https://src.fedoraproject.org/rpms/lightdm/blob/rawhide/f/lightdm.spec#_73
> 
> If I remove this line the user will end up with no greeter and no way to
> login.
How about to require lightdm-gtk or slick-greeter instead?

Comment 6 Chris Williams 2023-12-12 20:13:41 UTC
You can provide a hint by adding e.g. Suggests: lightdm-gtk

https://docs.fedoraproject.org/en-US/packaging-guidelines/WeakDependencies/#_package_preference

It would only have an effect in this scenario where dnf has to guess. Users are going to continue to try installing lightdm instead of a greeter, so it would be great if we could improve that experience by providing a reasonable default.

This was previously suggested here: https://bugzilla.redhat.com/show_bug.cgi?id=1481192#c10

Comment 7 Justin Zobel 2023-12-13 00:08:46 UTC
Pulling in a display manager should not require a desktop. Please use a greeter that does not draw in an entire desktop.

Comment 8 leigh scott 2023-12-13 07:26:37 UTC
(In reply to Justin Zobel from comment #7)
> Pulling in a display manager should not require a desktop. Please use a
> greeter that does not draw in an entire desktop.

This is a non issue, I have no intention to address something that is cause by stupid user error!
If the user is too dumb to specify the greeter dnf will decide for them, it chooses the first match which is deepin.

Comment 9 Matthew Miller 2024-01-08 19:51:24 UTC
Let's please not call users "stupid" or “dumb”. There are many people who use Fedora but aren’t deeply familiar with the way package dependencies work — and I think the way that dnf picks defaults when nothing is specified probably counts as esoterica, really: I think many reasonable, intelligent Fedora users could happily live their lives without learning this.

I think the suggestion of a lighter-weight default makes sense — and in any case, it’s good to specify some default using a "Suggests" weak dependency as described, because while it happens to be deepin today, tomorrow there could be a different first match.

No matter what, though, let’s please remember to keep Fedora friendly!

Comment 10 Fedora Update System 2024-01-10 13:15:13 UTC
FEDORA-2024-b11e291114 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-b11e291114

Comment 11 Fedora Update System 2024-01-10 13:18:25 UTC
FEDORA-2024-b11e291114 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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