Bug 32078 - LXQt default login is set to IceWM-session
Summary: LXQt default login is set to IceWM-session
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 10
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords: IN_ERRATA9
Depends on:
Blocks:
 
Reported: 2023-07-06 03:01 CEST by Ben McMonagle
Modified: 2023-09-18 21:23 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Ben McMonagle 2023-07-06 03:01:39 CEST
Description of problem: After install of LXQt only DE from either 32 or 64bit CI, default desktop selection is set to IceWM-session. it should be set to LXQt as default

install iso: ISO Name: Mageia-9-rc1-i586.iso
DATE.txt: Mon Jul  3 06:29:42 PM CEST 2023

or

ISO Name: Mageia-9-rc1-x86_64.iso
DATE.txt: Mon Jul  3 06:33:50 PM CEST 2023

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


How reproducible:always


Steps to Reproduce:
1.install LXQt only DE from above .ios
2.reboot to SDDM greeter
3.
Ben McMonagle 2023-07-06 03:02:29 CEST

Keywords: (none) => FOR_ERRATA9

Comment 1 Morgan Leijström 2023-07-06 17:43:33 CEST
LXQt is new on installer media for Mageia 9.
Probably too late to fix for mga9, now at RC1.

Assigning to registered LXQt maintainer.

https://wiki.mageia.org/en/Mageia_9_Errata#Desktops

Keywords: FOR_ERRATA9 => IN_ERRATA9
CC: (none) => fri
Assignee: bugsquad => doktor5000
Target Milestone: --- => Mageia 10

Comment 2 Dave Hodgins 2023-07-06 19:27:25 CEST
The display manager (sddm, gdm, lxdm, etc.) can select the desktop environment.
It may or may not be set to remember the last desktop environment selected.

If not specified in the dm, it can be set in $HOME/.desktop or in
/etc/sysconfig/desktop.

Installing a new desktop environment does not automatically change the selection.

Does it get added to /etc/X11/dm/Sessions/ so that it can be selected?

CC: (none) => davidwhodgins

Comment 3 Ben McMonagle 2023-07-06 20:58:56 CEST
(In reply to Dave Hodgins from comment #2)
> The display manager (sddm, gdm, lxdm, etc.) can select the desktop
> environment.
> It may or may not be set to remember the last desktop environment selected.
> 
> If not specified in the dm, it can be set in $HOME/.desktop or in
> /etc/sysconfig/desktop.
> 
> Installing a new desktop environment does not automatically change the
> selection.
> 
> Does it get added to /etc/X11/dm/Sessions/ so that it can be selected?

New install of LXQt only DE, first login.

after selecting LXQT  for the first time and login, thereafter LXQt is the offered session.
Comment 4 papoteur 2023-09-18 08:14:21 CEST
(In reply to Dave Hodgins from comment #2)
> If not specified in the dm, it can be set in $HOME/.desktop or in
> /etc/sysconfig/desktop.
Hi Dave,
Interesting.
However, I don't understand from where this file is updated.
I found that gnome-session can change DESKTOP=Gnome in DESKTOP=GNOME, the same for mate-session-manager

CC: (none) => yvesbrungard

Comment 5 Dave Hodgins 2023-09-18 15:45:13 CEST
I'm looking at m8. Haven't checked to see if any of this has changed in m9,
but don't think it has.

If you use mcc to set up autologin, it sets the desktop and display manager in
# cat /etc/sysconfig/desktop 
DESKTOP=Plasma
DISPLAYMANAGER=sddm
and sets the user in the config file for sddm (and any other dm such as gdm
if installed).

When using autologin or after manually editing the desktop file to specify
the DESKTOP. That becomes the default for all users that do not have
$HOME/.desktop file to override it.

The $HOME/.desktop file file must be created manually.
$ cat ~/.desktop
DESKTOP=Plasma
Comment 6 Dave Hodgins 2023-09-18 21:23:47 CEST
Testing in m9 as I don't currently have a cauldron install.

After switching to run level 3 and logging in,
"startx startlxqt" works.

Rebooted, using lightdm as the display manager, selected LXQt Desktop from
the list (using the fourth item from the right in the top right of the lightdm
screen), then entered my password (my loginid was already selected) and selected
the "Log In" button.

So it's working for me in m9.

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