#1040912 lightdm-gtk-greeter: greeter always uses Gnome (Standard) as default Xsession

Package:
lightdm-gtk-greeter
Source:
lightdm-gtk-greeter
Description:
simple display manager (GTK+ greeter)
Submitter:
Dieter Scheinkönig
Date:
2024-01-31 15:27:18 UTC
Severity:
normal
Tags:
#1040912#5
Date:
2023-07-12 10:05:01 UTC
From:
To:
Although update-alternatives --config x-session-manager is sset to start xfce.
the lightdm-greeter always set the defualt session to Gnome (Standard)

  Auswahl      Pfad                      Priorität Status
------------------------------------------------------------
* 0            /usr/bin/startxfce4        50        automatischer Modus
  1            /usr/bin/gnome-session     50        manueller Modus
  2            /usr/bin/i3                30        manueller Modus
  3            /usr/bin/lxsession         49        manueller Modus
  4            /usr/bin/openbox-session   40        manueller Modus
  5            /usr/bin/startlxqt         50        manueller Modus
  6            /usr/bin/startplasma-x11   40        manueller Modus
  7            /usr/bin/startxfce4        50        manueller Modus
  8            /usr/bin/xfce4-session     40        manueller Modus

I did not find any configuration, where I saw the this settings nor where I was
able to change it.

#1040912#10
Date:
2023-07-12 10:30:17 UTC
From:
To:
Control: tags -1 moreinfo

Hi Dieter,

when you say "default session", do you mean in the top-right menu? If
so, the LightDM (not the greeter) should run /etc/X11/Xsession, which in
turn might run different stuff depending on your local configuration
(check in ~/.xsession and ~/.Xsession).

Could you provide logs from /var/log/lightdm and ~/.xsession-errors ?

In any case, it's likely not a but in the greeter (whose role is
minimal), but let's wait for more info before reassigning.

Regards,

#1040912#17
Date:
2023-07-12 11:06:10 UTC
From:
To:
Dear Yves-Alexis,

thanks for the fast response.

I'm talking about the lightdm logon screen (as on the screenshot of
https://de.wikipedia.org/wiki/LightDM#/media/Datei:Lightdm-screenshot.jpg)
Next to the users you have the possibility to select your session. This
is always defaulted to Gnome (Standard) since I upgraded to Debian 12.

I attached the last 150 lines from lightdm.log.

Cheers
Dieter




Am 12.07.23 um 12:30 schrieb Yves-Alexis Perez:

#1040912#22
Date:
2023-07-12 13:11:29 UTC
From:
To:
Hi, that screenshot is not lightdm-gtk-greeter
And the log confirm you're using arctica-greeter, so it's definitely
unrelated to lightdm-gtk-greeter. But in any case, as I said before, you
can select the session in the greeter but in the end it's handled by
Lightdm itself.

Looking at the log you provided, we can see:
[+264.18s] DEBUG: Session pid=5587: Running command /etc/X11/Xsession
default
[+264.18s] DEBUG: Creating shared data directory
/var/lib/lightdm/data/scheini72
[+264.18s] DEBUG: Session pid=5587: Logging to .xsession-errors

So you're definitely using /etc/X11/Xsession with the 'default'
parameter. You should be able to select a specific session if the
desktop environment you use has it (for example Xfce).

In any case, could you provide your .xsession-errors as well as your
.xsession or .Xsession just in case?

It looks to me like an configuration issue rather than a bug though.

Regards,

#1040912#27
Date:
2023-07-12 15:30:06 UTC
From:
To:
Hi Yves-Alexis,

I do not have a .xsession or .Xsession in my home directory.
So, I’m using the default. I’m not in front of my computer right now, so I would send it later from /etc/X11.

As mentioned, the difference between using the login between Debian 11 and 12 is, before the selection of respective xsession (xfce, kde, gnome) did stay after restart. Now it’s not the case anymore.

I’m happy to do the necessary configuration, however I do not know where to search for. A “find” in /etc did not give me any result.

In case it would be a bug, you would transfer to the artic maintainer?

Thanks a lot
Dieter




—
tel:+49 (1515) 37 97 811
mailto:dieter@scheinkoenig.com

#1040912#32
Date:
2023-07-12 15:49:05 UTC
From:
To:
Ok

Please especially send the .xsession-errors log (check for personal
information first though). /etc/X11/Xsession sources various files from
/etc/X11/Xsession.d and the session selection (if not selected in the
greeter)  should be done from
/etc/X11/Xsession.d/50x11-common_determine-startup
*default* session, or are you choosing a session in the greeter and it's
not actually selected? In the lightdm log you sent, you were using the
default session.

I don't think so, again it doesn't look like a but in the greeter.

Regards,

#1040912#37
Date:
2023-07-12 18:49:33 UTC
From:
To:
Hi

find attached my .xsession-errors.

My issue,  regarding the login screen (See login-shot.png). I have to
change/select  _always_ from "Gnome (Standard)" to "Default Xsession" in
order start my XFCE-session.
It changes always after login off from my session.    In the past
(Debian 11), the selection, which session would be used stayed as
selected before login.

Sorry, if I confused you.



Here some more information.

here the default /usr/share/lightdm/lightdm.conf.d/01_debian.conf ,
using the Xsession wrapper


the files from /etc/X11 I didn't change at all.


Am 12.07.23 um 17:49 schrieb Yves-Alexis Perez:

#1040912#42
Date:
2023-07-12 19:26:44 UTC
From:
To:
control: reassign -1 arctica-greeter
Yes indeed, this is very confusing. Sorry I misunderstood from the start. And
in the end, yes it looks like a bug in the greeter, so I'm reassigning there.

Sorry for the lengthy process.

Regards,

#1040912#51
Date:
2024-01-30 20:24:36 UTC
From:
To:
Hi Maintainer,

I see, more information would be needed for the artica-greeter issue.
How can I support? What information do you need?
Cheers

#1040912#56
Date:
2024-01-31 15:23:39 UTC
From:
To:
Hi,

we have worked on this on the arctica-greeter upstream side, although
we don't (yet) honour x-session-manager symlinking. This would still
be a needed patch in arctica-greeter upstream.

I will upload arctica-greeter's latest version to unstable (and thus
testing) soon, so we can proceed from there improving this issue.

Thanks,
Mike