lightdm 1.32.0-3 (currently in test repo)

Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22741
Joined: Sun Dec 16, 2007 12:17 pm

lightdm 1.32.0-3 (currently in test repo)

#1 Post by dolphin_oracle »

I'm running lightdm 1.32.0-3 from test. I know there are some fixes related to dbus and it works better when systemd-logind is not installed. I haven't run into any problems with it. Is it worth moving to main, or alternatively, has anyone had a problem with it that would keep it from main.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
fehlix
Developer
Posts: 12916
Joined: Wed Apr 11, 2018 5:09 pm

Re: lightdm 1.32.0-3 (currently in test repo)

#2 Post by fehlix »

seems somehow we are back with this type of dbind issue:

Code: Select all

(mx-tweak:17011): 
dbind-WARNING **: 03:09:42.884: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/108/at-spi/bus_0: Permission denied
And the attempt we tried to fix it, within mx-system labeld : at-spi-dbus-bus.desktop "fix",
seem no longer work.
But I think we can actually get rid of this fix, and revert back
to the original file with

Code: Select all

cp /etc/xdg/autostart/zz-at-spi-dbus-bus.desktop /etc/xdg/autostart/at-spi-dbus-bus.desktop
and fix the issue this way:
with a new file /etc/X11/Xsession.d/98-at-spi
we correct the wrong a11y bus address with this fix:

Code: Select all

#!/bin/sh
#
# file: /etc/X11/Xsession.d/98-at-spi

# Copy a11y bus address from the DBus session bus to the X11 root property.
# This is useful when lightdm's bus address have been wrongly 
# populated into the X11 properties

# using a sub-shell to avoid parameter pollution
(
    ADDR=$(
        dbus-send --print-reply --dest=org.a11y.Bus /org/a11y/bus org.a11y.Bus.GetAddress |
        awk -F'"' '/string/ {print $2}'
    )

    if [ -n "$ADDR" ]; then
        xprop -root -format AT_SPI_BUS 8s -set AT_SPI_BUS "$ADDR"
    fi
)
tested and no more dbind-warnings "Couldn't connect to accessibility bus..."
Actually the fix above is based on the Xwayland.session bus trick.

User avatar
dolphin_oracle
Developer
Posts: 22741
Joined: Sun Dec 16, 2007 12:17 pm

Re: lightdm 1.32.0-3 (currently in test repo)

#3 Post by dolphin_oracle »

I like the notion of a better fix, but how do I get the dbind warning? where is that showing up?

will push that proposal up into mx-system git repo.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
fehlix
Developer
Posts: 12916
Joined: Wed Apr 11, 2018 5:09 pm

Re: lightdm 1.32.0-3 (currently in test repo)

#4 Post by fehlix »

dolphin_oracle wrote: Wed Jan 01, 2025 10:10 pm I like the notion of a better fix, but how do I get the dbind warning? where is that showing up?

will push that proposal up into mx-system git repo.
I was testing something an live-usb xfce with sysVinit and latest liquorix, and with every Gtk or Qt app started
on the command Iine got the dbind warning.
The symptom is seen with

Code: Select all

xprop -root | grep AT_SPI_BUS 
where a lightdm dbus a11y address is shown. After the fix a11y applied the accessible through dbus works and no warnings shown.
Maybe a timing issue with the new lightdm where to zz-at-spi-bus trick didn't work any more, at leas not on my stick.

User avatar
dolphin_oracle
Developer
Posts: 22741
Joined: Sun Dec 16, 2007 12:17 pm

Re: lightdm 1.32.0-3 (currently in test repo)

#5 Post by dolphin_oracle »

fehlix wrote: Wed Jan 01, 2025 11:19 pm
dolphin_oracle wrote: Wed Jan 01, 2025 10:10 pm I like the notion of a better fix, but how do I get the dbind warning? where is that showing up?

will push that proposal up into mx-system git repo.
I was testing something an live-usb xfce with sysVinit and latest liquorix, and with every Gtk or Qt app started
on the command Iine got the dbind warning.
The symptom is seen with

Code: Select all

xprop -root | grep AT_SPI_BUS 
where a lightdm dbus a11y address is shown. After the fix a11y applied the accessible through dbus works and no warnings shown.
Maybe a timing issue with the new lightdm where to zz-at-spi-bus trick didn't work any more, at leas not on my stick.
it wouldn't be the first timing issue we've come across.

I'm going to run with the at-spi fix for a few days, but at the moment it is good, and I much like relying on session setup files rather than autostart entries.

I need to check if fluxbox startup file would need an adjustment. there is a line we could remove, but it may be harmless for existing installs, maybe.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
fehlix
Developer
Posts: 12916
Joined: Wed Apr 11, 2018 5:09 pm

Re: lightdm 1.32.0-3 (currently in test repo)

#6 Post by fehlix »

dolphin_oracle wrote: Thu Jan 02, 2025 2:03 pm it wouldn't be the first timing issue we've come across.

I'm going to run with the at-spi fix for a few days, but at the moment it is good, and I much like relying on session setup files rather than autostart entries.

I need to check if fluxbox startup file would need an adjustment. there is a line we could remove, but it may be harmless for existing installs, maybe.
Agree, the new "fix" wouldn't do any harm, if the existing one would stay in place. But probably nice to get rid of the old fix.

User avatar
dolphin_oracle
Developer
Posts: 22741
Joined: Sun Dec 16, 2007 12:17 pm

Re: lightdm 1.32.0-3 (currently in test repo)

#7 Post by dolphin_oracle »

Ok I pushed out the change in mx-system.

@timkb4cq I would like to move the lightdm from test into main. mx23.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “Package Requests - MX-23”