instead of su + command, try `sudo command` . seen no such errors with that.
The point is not me; I can manage (e.g. just ignore the errors). The point is trying to resolve this in the distribution, or the upstream package...
Also, personally, I run sessions as root with more than a single command, so `sudo` every time is annoying...
]]>Searching for one of the error messages, I found this:
https://gitlab.gnome.org/GNOME/meld/-/issues/224
If meld is working, I would ignore the error messages.
BTW, I can get the same "Error creating proxy..." message running meld as root from terminal in debian with cinnamon desktop.
Try xinomilo's suggestions. There's also probably a way to do it with pkexec, but I don't know how to do that.
]]>edit] eg. kde has kdesu to run kde apps from cli.. don't know if gnome/cinnamon/gtk based DEs have something similar..
]]>... just tell me if you think it's a meld issue or something about the configuration of everything else; and whether you believe Debian would exhibit the same behavior. In both the first and the third case I'll reportbug about meld.
]]>After installation, when I log in as the user created during installation, with the Cinnamon desktop environment, and perform the following:
1. Open a terminal
2. becoming root with su.
3. Make sure meld is installed: apt install meld.
3. Choose two different and not-so-small text files, say a and b.
4. Execute meld a b.
... the meld program runs, but I get:
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
(org.gnome.meld:29135): Gtk-CRITICAL **: 10:22:54.933: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
2021-07-23 10:22:54,934 CRITICAL Gtk:
(org.gnome.meld:29135): Gtk-CRITICAL **: 10:22:54.933: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
2021-07-23 10:22:54,934 CRITICAL Gtk:
with the latter line repeated many many times.
These errors do not appear when I run meld as the non-root user.
(Next post in the series: Issue #10)
]]>