Re: kdbus affecting access to apps running as root

Peter Vágner <[email protected]> Mon, 17 Aug 2015 13:41:41 +0200
Newsgroups gmane.comp.gnome.accessibility.general
Message-ID <[email protected]>
Hello,
This is now more difficult as you can't reproduce this Kyle but on my 
side this is consistent.
With kdbus I can get no access to apps running as root while without 
kdbus the access works like a charm.
I am running Arch linux linux 4.1.4-1, gnome 3.16, orca master, 
at-spi2-core 2.16 or at-spi2-core master (i've tried with both), 
at-spi2-atk 2.16 or at-spi2-atk master (i've tried with both).
I am attaching a journalctl output coresponding with both attempts with 
dbus and with kdbus. When trying with kdbus more messages are printed to 
the log hopefully suggesting something.

I have tried doing this with my account and with a fresh user account to 
avoid possible configuration issues.

If this does not appear to be a bug, can anyone suggest me on how to fix 
it at least on my system?

Greetings

Peter

On 17.08.2015 at 12:23 Kyle wrote:
> I'm running kdbus here with latest GNOME 3.16 in Arch and Orca master
> pulled just a couple of days ago, and I have no problems running
> sudo gedit
> in a terminal. I haven't tried with Orca 3.16 to see whether or not
> this happens, and I'm not yet running at-spi from git, but I intend to
> try these today, although I'm not expecting any problems. Is it
> possible the issue could be specific to Fedora, i.e. a misconfiguration
> of at-spi or possibly kdbus?
> Sent from the outer rim
> _______________________________________________
> gnome-accessibility-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list

_______________________________________________
gnome-accessibility-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
kdbus.log (text/plain, 1.9 KB)
aug 17 12:53:15 peto-pc sudo[1301]:     peto : TTY=pts/0 ; PWD=/home/peto ; USER=root ; COMMAND=/usr/bin/gedit
aug 17 12:53:15 peto-pc sudo[1301]: pam_unix(sudo:session): session opened for user root by peto(uid=0)
aug 17 12:53:15 peto-pc systemd-bus-proxyd[821]: Failed to process policy: Invalid argument
aug 17 12:53:15 peto-pc gnome-session[810]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
aug 17 12:53:15 peto-pc gnome-session[810]: ** (orca:956): WARNING **: Unable to open bus connection: Failed to connect to socket /root/.cache/at-spi2-socket-1302: Access denied
aug 17 12:53:15 peto-pc gnome-session[810]: Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
aug 17 12:53:16 peto-pc polkitd[514]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.341, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale sk_SK.UTF-8) (disconnected from bus)
aug 17 12:53:16 peto-pc systemd-bus-proxyd[821]: Failed to forward message we got from local: uid=1000 gid=100 message=method_return destination=:1.391 path=n/a interface=n/a member=n/a: Invalid slot
aug 17 12:53:16 peto-pc systemd-bus-proxyd[821]: Failed to forward message we got from local: uid=1000 gid=100 message=method_return destination=:1.394 path=n/a interface=n/a member=n/a: Invalid slot
aug 17 12:53:16 peto-pc systemd-bus-proxyd[821]: Failed to forward message we got from local: uid=1000 gid=100 message=method_return destination=:1.394 path=n/a interface=n/a member=n/a: Invalid slot
aug 17 12:54:08 peto-pc ca.desrt.dconf[1309]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
aug 17 12:54:08 peto-pc sudo[1301]: pam_unix(sudo:session): session closed for user root
dbus.log (text/plain, 544 B)
aug 17 13:22:04 peto-pc sudo[1280]:     peto : TTY=pts/0 ; PWD=/home/peto ; USER=root ; COMMAND=/usr/bin/gedit
aug 17 13:22:04 peto-pc sudo[1280]: pam_unix(sudo:session): session opened for user root by peto(uid=0)
aug 17 13:22:05 peto-pc gnome-session[767]: ** (orca:886): WARNING **: Unable to open bus connection: Failed to connect to socket /root/.cache/at-spi2-socket-1282: Access denied
aug 17 13:22:05 peto-pc gnome-session[767]: [119B blob data]
aug 17 13:22:10 peto-pc sudo[1280]: pam_unix(sudo:session): session closed for user root