Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

24 views
Skip to first unread message

Dieter Scheinkönig

unread,
Jul 12, 2023, 6:11:29 AM7/12/23
to
Package: lightdm-gtk-greeter
Version: 2.0.8-2+b1
Severity: normal
X-Debbugs-Cc: die...@scheinkoenig.com

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.


-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-10-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lightdm-gtk-greeter depends on:
ii libayatana-indicator3-7 0.9.3-1
ii libc6 2.36-9
ii libcairo2 1.16.0-7
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1
ii libglib2.0-0 2.74.6-2
ii libgtk-3-0 3.24.37-2
ii liblightdm-gobject-1-0 1.26.0-8
ii libx11-6 2:1.8.4-2+deb12u1

Versions of packages lightdm-gtk-greeter recommends:
ii adwaita-icon-theme 43-1
ii desktop-base 12.0.6
ii gnome-themes-extra 3.28-2
ii policykit-1 122-3

lightdm-gtk-greeter suggests no packages.

-- Configuration Files:
/etc/lightdm/lightdm-gtk-greeter.conf changed:
[greeter]
background = /usr/share/images/desktop-base/default
theme-name = TraditionalOk
screensaver-timeout = 50
icon-theme-name = Adwaita


-- no debconf information

Yves-Alexis Perez

unread,
Jul 12, 2023, 6:40:05 AM7/12/23
to
Control: tags -1 moreinfo

On Wed, Jul 12, 2023 at 12:05:01PM +0200, Dieter Scheinkönig wrote:
> Package: lightdm-gtk-greeter
> Version: 2.0.8-2+b1
> Severity: normal
> X-Debbugs-Cc: die...@scheinkoenig.com
>
> 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.

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,
--
Yves-Alexis Perez

Yves-Alexis Perez

unread,
Jul 12, 2023, 9:20:05 AM7/12/23
to
On Wed, Jul 12, 2023 at 01:06:10PM +0200, Dieter Scheinkönig wrote:
> 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.

Hi, that screenshot is not lightdm-gtk-greeter
>
> I attached the last 150 lines from lightdm.log.
>
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,
--
Yves-Alexis Perez

Yves-Alexis Perez

unread,
Jul 12, 2023, 12:00:05 PM7/12/23
to
On Wed, Jul 12, 2023 at 03:30:06PM +0000, Dieter Scheinkönig wrote:
> Hi Yves-Alexis,
>
> I do not have a .xsession or .Xsession in my home directory.

Ok

> 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.

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
>
> 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.

Sorry but it's not at all clear what you mean here: are you using the
*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’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?

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

Regards,
--
Yves-Alexis Perez

Yves-Alexis Perez

unread,
Jul 12, 2023, 3:40:05 PM7/12/23
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

control: reassign -1 arctica-greeter


On Wed, 2023-07-12 at 20:49 +0200, Dieter Scheinkönig wrote:
> 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.
>  
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,
- --
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmSu/nQACgkQ3rYcyPpX
RFsWAQgA7dYT7OU7iqAheGHflI/l4awdYJ8zgavpEXEZmViX0kgDNsE0NX1cjfuf
UkgvKxKfeCZDeocRMBYiH5Y+y0s5aOWDL03xiEkWraTWb8N0FIYhIU7d3UGBaDn3
xtcW4It6LWmvBoQaeiTTy6glbKBiehusLd9+jQV0pzidU4iWmjqLYX+h8s3RAY0p
0hWqPcITUgaN2aUWO6Lskc0kIxGijuxpk17rOYG6i6rMgD+b02xbtW+RdhLmy2Zi
NYuYSKR/kgin0gIW8vzTG3UZ/QbJX/fl5ixrqi+41+r9uSb0g9MD1QUTcSGCVDHp
OHWsR1lVG6kllmEzlTuHpEw4BX9CFw==
=7rLP
-----END PGP SIGNATURE-----

Mike Gabriel

unread,
Jan 31, 2024, 10:30:07 AM1/31/24
to
Hi,

On Di 30 Jan 2024 21:24:36 CET, Dieter Scheinkönig wrote:

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

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
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.g...@das-netzwerkteam.de, http://das-netzwerkteam.de

0 new messages