You are not logged in.
(This is part of a series of posts following my installation of Devuan Chimaera; for more information see the first post).
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)
Last edited by einpoklum (2021-07-25 05:01:49)
Offline
See the release notes for devuan beowulf or debian buster to read about changes in the behavior of su and how to revert it. It's also in 'man su'.
Offline
I don't know about the gtk errors. I see them frequently when I start graphical apps from a terminal, and I have been mostly ignoring them for years.
Offline
:-(
... 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.
Offline
I think it's a gtk3 issue, not necessarily meld. See if changing the desktop theme makes a difference. Since it mentions the scrollbar, maybe try installing or uninstalling gtk3-nooverlayscrollbar or gtk3-nocsd.
Offline
fsmithred: There are lots of theme components and a bunch of themes. And un/installing these packages doesn't seem to make a difference. Which gtk3 package would you suggest reportbug'ing?
Offline
instead of su + command, try `sudo command` . seen no such errors with that.
as for the error, (iirc it's the same in debian, but) don't know the exact source, could be su, could be gtk, could be dbus..
edit] eg. kde has kdesu to run kde apps from cli.. don't know if gnome/cinnamon/gtk based DEs have something similar..
Last edited by xinomilo (2021-07-25 11:40:06)
Offline
It might be a mismatch between versions of meld and gtk3. That's not a surprise, because gtk3 devs are notorious for changing APIs with every minor version, repeatedly causing problems for app developers.
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.
Offline
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...
Offline