[Bug 1092251] New: sddm after logout from lxqt offer a different default desktop session
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251 Bug ID: 1092251 Summary: sddm after logout from lxqt offer a different default desktop session Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- If, with sddm, I login on lxqt, upon logout the default session for the next login is not the one I just logout from (lxqt) but another one. (To be more precise, it is the first non symbolic link available in /usr/share/xsessions) The issue seems due to the fact that the file /usr/share/xsessions/lxqt.desktop is not a true file but a symbolic link. If I replace the symbolic link with a regular file, then sddm offers me lxqt as desktop session for the next login. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c2
Giacomo Comes
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c3
Fabian Vogt
lrwxrwxrwx 1 root root 28 Mar 24 01:53 lxqt.desktop -> ../kdm/sessions/lxqt.desktop
That's the issue, the link has to be in the other direction or replaced with a hardlink. I submitted a proposed fix with sr 605477. Reassinging to lxqt bugowner. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c4
--- Comment #4 from Fabian Vogt
However it should allow the default one, but it doesn't. This is also a bug IMHO.
It can't, it would just appear as yet another duplicate entry. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c5
--- Comment #5 from Neil Rickert
sddm allow to choose all of them except default and kde-plasma
I'm thinking that's a misunderstanding. On my system, default.desktop is actually a symlink to plasma5.desktop (via "/etc/alternatives"). As I understand it, SDDM gets its menu entries from what is inside those ".desktop" files, rather than from their names. So "plasma5.desktop", "kde-plasma.desktop" and "default.desktop" should all show up as "Plasma" in the menu. Presumably, SDDM is removing duplicates. Personal opinion: If you are mainly using LXQT, then you would be better off switching to either "lightdm" or "gdm" as displaymanager (i.e. for login screen). I normally use "gdm", and I tested that before switching to SDDM. I'll note that "gdm" does behave as the bug reporter wants. If I log into "lxqt" and then logout, the default for my next login is "lxqt". That's with using "gdm". I didn't test "lightdm", but I'm pretty sure it would behave the same way. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c6
--- Comment #6 from Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c7
--- Comment #7 from Giacomo Comes
(In reply to Giacomo Comes from comment #2)
However it should allow the default one, but it doesn't. This is also a bug IMHO.
It can't, it would just appear as yet another duplicate entry.
I remember I had it in 42.3. After I checked I found that you can have the User/System Default entry if you install xdm-xsession. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c8
--- Comment #8 from Giacomo Comes
Personal opinion: If you are mainly using LXQT, then you would be better off switching to either "lightdm" or "gdm" as displaymanager (i.e. for login screen).
I know I can use another DM. However I wanted to report the bug. Again there are two issue here: 1) lxqt putting lxqt.sesktop in an unusual place (in 42.3 it did not happen) and using a link 2) sddm FEATURE with symbolik link. (gdm, lightdm and kdm work just fine with the lxqt link).
I normally use "gdm", and I tested that before switching to SDDM. I'll note that "gdm" does behave as the bug reporter wants. If I log into "lxqt" and then logout, the default for my next login is "lxqt". That's with using "gdm". I didn't test "lightdm", but I'm pretty sure it would behave the same way.
For the matter of display manager, the best one is still kdm. Although it is not actively supported anymore it is the one that has never failed me. For example because of bug 1021774/969813 I'm still forced to use kdm. The only alternative would be gdm, but it doesn't have a opensuse theme/look. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c9
--- Comment #9 from Fabian Vogt
(In reply to Neil Rickert from comment #5)
Personal opinion: If you are mainly using LXQT, then you would be better off switching to either "lightdm" or "gdm" as displaymanager (i.e. for login screen).
I know I can use another DM. However I wanted to report the bug. Again there are two issue here: 1) lxqt putting lxqt.sesktop in an unusual place (in 42.3 it did not happen) and using a link
2) sddm FEATURE with symbolik link. (gdm, lightdm and kdm work just fine with the lxqt link).
I normally use "gdm", and I tested that before switching to SDDM. I'll note that "gdm" does behave as the bug reporter wants. If I log into "lxqt" and then logout, the default for my next login is "lxqt". That's with using "gdm". I didn't test "lightdm", but I'm pretty sure it would behave the same way.
For the matter of display manager, the best one is still kdm. Although it is not actively supported anymore it is the one that has never failed me. For example because of bug 1021774/969813 I'm still forced to use kdm. The only alternative would be gdm, but it doesn't have a opensuse theme/look.
Yes, that is a fairly bad issue (sddm has only minimal PAM support for password auth), but work is in progress upstream to improve it. It's one of the reasons why we didn't drop kdm despite it being unmaintained. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c10
Fabian Vogt
I had another look at the sddm patch and it should actually behave the same as lightdm.
So I'll debug and fix this in sddm as well.
Please test: https://software.opensuse.org//download.html?project=home%3AVogtinator%3Aboo1092251&package=sddm -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c11
Giacomo Comes
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c12
Fabian Vogt
The rpm for leap 15.0 id build against Qt_5.10 and have dependency issue (my leap 15.0 installation has Qt_5.9).
Indeed - it builds against KDE:Frameworks5 which in turn builds against KDE:Qt5. Should be fixed after a rebuild.
Anyway, I grabbed the src.rpm, rebuild it and tested. The fix works.
Ok, thanks for confirmation. I'll submit it tomorrow if no regressions get discovered. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251
http://bugzilla.opensuse.org/show_bug.cgi?id=1092251#c14
Fabian Vogt
Anyway, I grabbed the src.rpm, rebuild it and tested. The fix works.
Ok, thanks for confirmation. I'll submit it tomorrow if no regressions get discovered.
Done. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com