On Tue, 2026-12-01 at 11:15 +0100, Christophe Lohr wrote:
> Package: lightdm
> Version: 1.33.1-5
> Severity: normal
>
> Dear Maintainer,
Hey Christophe,
>
> 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
Ok
>
> 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"
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.
>
>
> 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=:3 xterm
If you want to run a login screen on it, try adding a seat using a dbus call
like to the display manager:
dbus-send --system --print-reply --dest=org.freedesktop.DisplayManager
/org/freedesktop/DisplayManager "org.freedesktop.DisplayManager.AddLocalXSeat"
"int32:3"
Regards,
--
Yves-Alexis