AT-SPI not working when launched with Xvfb
-
I am attempting to launch kcalc, or really any Qt application inside of Xvfb and view the app with accerciser. I can view this app when launched normally, however when it is assigned a virtual display with Xvfb, ATSPI fails to work. It does not show up on accerciser. Could this be an issue with the ATSPI bridge?
Looking at log differences between the two I see this line when I launch the app normally, and can view it in accerciser.
qt.accessibility.atspi: AtSpiAdaptor::applicationInterface "/org/a11y/atspi/accessible/root" QAccessibleInterface(0x5c7ae018a0c0 name="kcalc" role=Application childc=1 obj=QApplication(0x7ffe0721aa50)rect=QRect(0,0 0x0)) "GetApplicationBusAddress"However, nothing like this appears inside the logs when I launch with Xvfb. I made sure to set the display plugin to xcb for both scenarios. I do still see accessibility.cache logs when using Xvfb, but I don't see accessibility.atspi logs.
I've tried launching the at-spi-bus / at-spi2-registryd after launching and exporting the virtual display, but this changes nothing.
For a comparison GTK based apps work normally and in xvfb with accerciser with no issues.
-
Hi and welcome to devnet,
Which Linux distribution are you using ?
Which version of Qt ? KDE ?
Can you provide a minimal guide to setup a system like yours ? (e.g. install the applications/utilities you are using, how you are setting things up for starting atspi, kcalc, xvfb, etc.)