πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Christophe Lohr Tue, 01 Dec 2026 10:20
Bug#1156006: lightdm: troubles with XDMCP / apparmor / lightdm-gtk-greeter ...
#6981
Author: Christophe Lohr
Date: Tue, 01 Dec 2026 10:20
76 lines
7496 bytes
Package: lightdm
Version: 1.33.1-5
Severity: normal

Dear Maintainer,

In practical terms, I cannot use XDMCP, but I don’t understand why...

lightdm.conf has
        [XDMCPServer]
        enabled=true

According to netstat, lightdm is indeed listening on udp:177

However, I am encountering several AppArmor errors regarding the greeter:

user.log:2026-12-01T10:51:21.305651+01:00 dyn-salsa-029 dbus-daemon[1902]:
apparmor="DENIED" operation="dbus_method_call"  bus="session"
path="/org/a11y/bus" interface="org.a11y.Bus" member="GetAddress" mask="send"
name="org.a11y.Bus" pid=1917 label="/usr/sbin/lightdm-gtk-greeter"
user.log:2026-12-01T10:51:21.427024+01:00 dyn-salsa-029 dbus-daemon[1902]:
apparmor="DENIED" operation="dbus_method_call"  bus="session"
path="/org/gtk/vfs/mounttracker" interface="org.gtk.vfs.MountTracker"
member="ListMountableInfo" mask="send" name=":1.11" pid=1917
label="/usr/sbin/lightdm-gtk-greeter" peer_pid=1940 peer_label="unconfined"
user.log:2026-12-01T10:51:21.670769+01:00 dyn-salsa-029 dbus-daemon[1902]:
apparmor="DENIED" operation="dbus_method_call"  bus="session"
path="/org/gtk/vfs/mounttracker" interface="org.gtk.vfs.MountTracker"
member="ListMountableInfo" mask="send" name=":1.11" pid=1954
label="/usr/sbin/lightdm-gtk-greeter" peer_pid=1940 peer_label="unconfined"
user.log:2026-12-01T10:51:21.676814+01:00 dyn-salsa-029 dbus-daemon[1902]:
apparmor="DENIED" operation="dbus_method_call"  bus="session"
path="/org/freedesktop/DBus" interface="org.freedesktop.DBus"
member="RequestName" mask="send" name="org.freedesktop.DBus" pid=1954
label="/usr/sbin/lightdm-gtk-greeter" peer_label="unconfined"


Then, trying with 'Xephyr -query localhost :3', this fail with errors regarding
the keymap (any relationship?):

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <FK23>
>                   Using F23, ignoring XF86TouchpadOff
> Warning:          Symbol map for key <FK23> redefined
>                   Using last definition for conflicting fields
> Warning:          Symbol map for key <FK24> redefined
>                   Using last definition for conflicting fields
> Warning:          Could not resolve keysym XF86ElectronicPrivacyScreenOn
> Warning:          Could not resolve keysym XF86ElectronicPrivacyScreenOff
> Warning:          Could not resolve keysym XF86ActionOnSelection
> Warning:          Could not resolve keysym XF86ContextualInsert
> Warning:          Could not resolve keysym XF86ContextualQuery
Errors from xkbcomp are not fatal to the X server


Well, I’m lost. Is this an actual bug, or is it a misconfiguration on my end?

Best regard,
Christophe


-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'proposed-updates'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldoldstable-updates'), (500, 'oldoldstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.3.6+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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 depends on:
ii  dbus [default-dbus-system-bus]         1.16.4-1
ii  debconf [debconf-2.0]                  1.5.92
ii  libaudit1                              1:4.2.1-1.3
ii  libc6                                  2.43-7
ii  libgcrypt20                            1.12.4-2
ii  libglib2.0-0t64                        2.90.1-2
ii  libpam-systemd [logind]                262.2-1
ii  libpam0g                               1.7.0-8
ii  libxcb1                                1.17.0-2+b2
ii  libxdmcp6                              1:1.1.5-2+b1
ii  lightdm-gtk-greeter [lightdm-greeter]  2.0.9-5
ii  systemd [systemd-sysusers]             262.2-1

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+26

Versions of packages lightdm suggests:
ii  accountsservice  26.27.3-2
ii  upower           1.91.5-1+b1
ii  xserver-xephyr   2:21.1.26-1

-- debconf information:
* shared/default-x-display-manager: lightdm
  lightdm/daemon_name: /usr/sbin/lightdm
Bug#1156006: lightdm: troubles with XDMCP / apparmor / lightdm-gtk-greeter ...
#7032
Author: Yves-Alexis Perez
Date: Tue, 01 Dec 2026 17:50
106 lines
5741 bytes
--=-JzfAQ88tDHGy6LzjgHcY
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2026-12-01 at 11:15 +0100, Christophe Lohr wrote:
> Package: lightdm
> Version: 1.33.1-5
> Severity: normal
>=20
> Dear Maintainer,

Hey Christophe,
>=20
> In practical terms, I cannot use XDMCP, but I don=E2=80=99t understand wh=
y...
>=20
> lightdm.conf has
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [XDMCPServer]
> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 enabled=3Dtrue
>=20
> According to netstat, lightdm is indeed listening on udp:177

Ok
>=20
> However, I am encountering several AppArmor errors regarding the greeter:
>=20
> user.log:2026-12-01T10:51:21.305651+01:00 dyn-salsa-029 dbus-daemon[1902]=
:
> apparmor=3D"DENIED" operation=3D"dbus_method_call"=C2=A0 bus=3D"session"
> path=3D"/org/a11y/bus" interface=3D"org.a11y.Bus" member=3D"GetAddress"
> mask=3D"send"
> name=3D"org.a11y.Bus" pid=3D1917 label=3D"/usr/sbin/lightdm-gtk-greeter"
> user.log:2026-12-01T10:51:21.427024+01:00 dyn-salsa-029 dbus-daemon[1902]=
:
> apparmor=3D"DENIED" operation=3D"dbus_method_call"=C2=A0 bus=3D"session"
> path=3D"/org/gtk/vfs/mounttracker" interface=3D"org.gtk.vfs.MountTracker"
> member=3D"ListMountableInfo" mask=3D"send" name=3D":1.11" pid=3D1917
> label=3D"/usr/sbin/lightdm-gtk-greeter" peer_pid=3D1940 peer_label=3D"unc=
onfined"
> user.log:2026-12-01T10:51:21.670769+01:00 dyn-salsa-029 dbus-daemon[1902]=
:
> apparmor=3D"DENIED" operation=3D"dbus_method_call"=C2=A0 bus=3D"session"
> path=3D"/org/gtk/vfs/mounttracker" interface=3D"org.gtk.vfs.MountTracker"
> member=3D"ListMountableInfo" mask=3D"send" name=3D":1.11" pid=3D1954
> label=3D"/usr/sbin/lightdm-gtk-greeter" peer_pid=3D1940 peer_label=3D"unc=
onfined"
> user.log:2026-12-01T10:51:21.676814+01:00 dyn-salsa-029 dbus-daemon[1902]=
:
> apparmor=3D"DENIED" operation=3D"dbus_method_call"=C2=A0 bus=3D"session"
> path=3D"/org/freedesktop/DBus" interface=3D"org.freedesktop.DBus"
> member=3D"RequestName" mask=3D"send" name=3D"org.freedesktop.DBus" pid=3D=
1954
> label=3D"/usr/sbin/lightdm-gtk-greeter" peer_label=3D"unconfined"

Please report those separately to lightdm-gtk-greeter, and ideally with a
patch (see https://gitlab.com/apparmor/apparmor/-/wikis/home ). They're due=
 to
the recent inclusion of an AppArmor profile to lightdm-gtk-greeter.
>=20
>=20
> Then, trying with 'Xephyr -query localhost :3', this fail with errors
> regarding
> the keymap (any relationship?):

I'm not XDMCP expert but I don't think Xephyr is an xdmcp client and I don'=
t
see `-query <host>` in its manpage.

If you only want to open a separate local Xserver you don't need xdmcp for
that. Xnest/Xephyr should be enough. Then you can run stuff on it. For
example:

Xnest :3
DISPLAY=3D:3 xterm

If you want to run a login screen on it, try adding a seat using a dbus cal=
l
like to the display manager:

dbus-send --system --print-reply --dest=3Dorg.freedesktop.DisplayManager
/org/freedesktop/DisplayManager "org.freedesktop.DisplayManager.AddLocalXSe=
at"
"int32:3"


Regards,
--=20
Yves-Alexis

--=-JzfAQ88tDHGy6LzjgHcY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmsPB7cACgkQ3rYcyPpX
RFs3twf+PRB49sA8qdRl/2KLGSn0qkmPU7uU08s1NKOZ5Fpzgq1eDkp8Qxib1W+B
0ByTnE339eNu3vwsxrLISyCQ3VMYE36h8mV+PaDhJ3vUkpmfTJT/LGGhWgnsAvm5
y0sin1McpFkFVtwwEfXalhnrnJTHRSFl3RI7UtHEcFvC844zZ+GuqwjEI4kE156j
d+4jjOyBD01hrjuWG1QwQxURuSHEA8TmfWpXjS928JzfH//7gCo3FldAQEZTwIDK
+YMfaannWfIqRv1EW08oUGY1qGTRLR2n9PX4FFYSjX8dVl8GEt23pY9lqrMi/Bqy
1NeAWVzUfMmOR4ooedZNBxtku04f7w==
=Xdp0
-----END PGP SIGNATURE-----

--=-JzfAQ88tDHGy6LzjgHcY--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads